summaryrefslogtreecommitdiff
path: root/npc/015-2/lordcave.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/015-2/lordcave.txt')
-rw-r--r--npc/015-2/lordcave.txt17
1 files changed, 16 insertions, 1 deletions
diff --git a/npc/015-2/lordcave.txt b/npc/015-2/lordcave.txt
index 517944f6a..e0eddf7b1 100644
--- a/npc/015-2/lordcave.txt
+++ b/npc/015-2/lordcave.txt
@@ -6,6 +6,21 @@
end;
OnTouch:
- npctalk l("This passage seems sealed. If I only had a @@...", getitemlink(SilverKey));
+ if (countitem(SilverKey) >= 1) goto L_Summon;
+ dispbottom l("This passage seems sealed. If I only had a @@...", getitemlink(SilverKey));
+ end;
+
+L_Summon:
+ if (mobcount("015-2", "#BanditLordDen::OnLordDeath") == 0)
+ monster "015-2",260,250,"Bandit Lord",BanditLord,1, "#BanditLordDen::OnLordDeath";
+ slide 251, 277;
+ end;
+
+OnLordDeath:
+ .@q=getq(HurnscaldQuest_Bandits);
+ if (.@q == 6) {
+ setq HurnscaldQuest_Bandits, 7;
+ dispbottom l("Phew! The Bandit Lord was killed.");
+ }
end;
}