summaryrefslogtreecommitdiff
path: root/npc/quests
diff options
context:
space:
mode:
authoreaac <eaac@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 18:20:15 +0000
committereaac <eaac@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-27 18:20:15 +0000
commit1f708096369b1447e4b970ab6cfb497e8317fce6 (patch)
treeb78280fd27e49be3ff589aa7109fcc38a361287a /npc/quests
parent9b2e07da37f032d7347adc1c9ccdd618142d7d60 (diff)
downloadhercules-1f708096369b1447e4b970ab6cfb497e8317fce6.tar.gz
hercules-1f708096369b1447e4b970ab6cfb497e8317fce6.tar.bz2
hercules-1f708096369b1447e4b970ab6cfb497e8317fce6.tar.xz
hercules-1f708096369b1447e4b970ab6cfb497e8317fce6.zip
- 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
Diffstat (limited to 'npc/quests')
-rw-r--r--npc/quests/thana_quest.txt33
1 files changed, 18 insertions, 15 deletions
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;
}