From 1f708096369b1447e4b970ab6cfb497e8317fce6 Mon Sep 17 00:00:00 2001 From: eaac Date: Mon, 27 Nov 2006 18:20:15 +0000 Subject: - Updating Thanatos quest with a check to prevent multiple Thanatos spawning. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9329 54d463be-8e91-2dee-dedb-b68131a5f0ec --- npc/quests/thana_quest.txt | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) (limited to 'npc/quests/thana_quest.txt') diff --git a/npc/quests/thana_quest.txt b/npc/quests/thana_quest.txt index f06efba06..71fe4810b 100644 --- a/npc/quests/thana_quest.txt +++ b/npc/quests/thana_quest.txt @@ -1578,26 +1578,29 @@ thana_boss.gat,62,171,0 script Carvings#5 111,{ // Seal of Thanatos thana_boss.gat,141,217,0 script Carvings#6 111,{ - if ($Thana == 15) { + if ($Thana == 15) { mes "[Carvings]"; mes "You stepped on the plate, and it seems it activated some sort of mechanism."; next; - stopnpctimer "TimerThana"; - set $Thana, $Thana | 16; - monster "thana_boss.gat",135,119,"Thanatos",1708,1,"TimerThana::OnThanaDead"; - mapannounce "thana_boss.gat", "The Seal of Thanatos has been broken.",bc_npc; - - mes "[Carvings]"; - mes "You hear the screams of the undead coming from below..."; - close; - - } - - mes "[Carvings]"; - mes "There is a plate here, which seems to be some sort of switch, but it doesn't move."; - close; + if (!getmapmobs("thana_boss.gat")) { + monster "thana_boss.gat",135,119,"Thanatos",1708,1,"TimerThana::OnThanaDead"; + stopnpctimer "TimerThana"; + set $Thana, $Thana | 16; + mapannounce "thana_boss.gat", "The Seal of Thanatos has been broken.",bc_npc; + mes "[Carvings]"; + mes "You hear the screams of the undead coming from below..."; + close; + } else { + mes "[Carvings]"; + mes "But nothing happened..."; + close; + } + + mes "[Carvings]"; + mes "There is a plate here, which seems to be some sort of switch, but it doesn't move."; + close; } -- cgit v1.2.3-60-g2f50