summaryrefslogtreecommitdiff
path: root/npc/quests/thana_quest.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/quests/thana_quest.txt')
-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;
}