diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-22 01:15:08 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-22 01:15:08 -0300 |
commit | b855e950619bfc835cf3d6c5958e71a8407f1a75 (patch) | |
tree | 69cacdb263c770a8e4461b6bf20cbb047fe4a476 /npc/015-2/lordcave.txt | |
parent | 2ef642d234f5b289e8eac0e93595f03027ee3665 (diff) | |
download | serverdata-b855e950619bfc835cf3d6c5958e71a8407f1a75.tar.gz serverdata-b855e950619bfc835cf3d6c5958e71a8407f1a75.tar.bz2 serverdata-b855e950619bfc835cf3d6c5958e71a8407f1a75.tar.xz serverdata-b855e950619bfc835cf3d6c5958e71a8407f1a75.zip |
Bandit Lord should be working, and only reward missing. Push to playtest.
Diffstat (limited to 'npc/015-2/lordcave.txt')
-rw-r--r-- | npc/015-2/lordcave.txt | 17 |
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; } |