summaryrefslogblamecommitdiff
path: root/npc/015-2/lordcave.txt
blob: 5e403db98271442f618ff994a9cf236d61de635c (plain) (tree)
1
2
3
4
5
6
7
8
9



               
                                                        


        
                                                 
                                                                                             













                                                                                          

        
// 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:
    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;
}