blob: 6303b2c19d9fd8eabaabe96145325929815fb0d8 (
plain) (
tree)
|
|
// TMW2 Script
// Author:
// Jesusalva
015-2,94,225,0 script #BanditLordDen NPC_HIDDEN,0,0,{
end;
OnTouch:
if (countitem(SilverKey) >= 1) goto L_Summon;
dispbottom l("This passage seems sealed. If I only had a @@...", getitemlink(SilverKey));
end;
L_Summon:
.@q=getq(HurnscaldQuest_Bandits);
if (mobcount("015-2", "#BanditLordDen::OnLordDeath") == 0 && .@q == 6)
monster "015-2",260,250,"Bandit Lord",BanditLord,1, "#BanditLordDen::OnLordDeath";
slide 251, 277;
end;
OnLordDeath:
.@q=getq(HurnscaldQuest_Bandits);
if (.@q == 6 && !ispcdead()) {
setq HurnscaldQuest_Bandits, 7;
dispbottom l("Phew! The Bandit Lord was killed.");
}
end;
}
|