anthell02,170,165,3 script Warpra Helper#0 112,{
mes "[Warpra Helper]";
mes "You have to kill:";
mes "You have "+VitataKills+"/10 Vitata...";
mes "You have "+AntEggKills+"/55 Ant Egg...";
mes "You have "+FamiliarKills+"/5 Familiar";
next;
menu "Unlock Dungeon",L_anthell,"Unlock with Donate Cash ",L_anthellDonate;
L_anthell:
if(VitataKills >= 10 && AntEggKills >= 55 && FamiliarKills >= 5) goto l_allkills;
mes "[Warpra Helper]";
mes "You didn't kill enough monsters!";
close;
l_allkills:
callfunc "QWS_Dungeon_Warpra",0,"Ant Hell Dungeon";
close;
L_anthellDonate:
mes "[Warpra Helper]";
mes "You want Donate Cash for Unlocking, it costs you!";
mes "^4527A0Price: 20 Cash Point's^000000";
next;
menu "Yes, Unlocking",L_Unlocking,"No.....",L_No;
L_Unlocking:
if ( #CASHPOINTS < 20) goto l_nocash;
#CASHPOINTS -= 20;
callfunc "QWS_Dungeon_Warpra",0,"Ant Hell Dungeon";
close;
l_nocash:
mes "[Warpra Helper]";
mes "You do not have enough Donate Cash";
close;
L_No:
mes "[Warpra Helper]";
mes "Bye......";
close;
OnNPCKillEvent:
if(anthell) end;
if(killedrid == 1176 && VitataKills < 10) // = Vitata
{
set VitataKills,VitataKills + 1;
dispbottom "You killed "+VitataKills+"/10 Vitata.";
if(VitataKills >= 10)
dispbottom "You have killed all Vitatas.";
} else if (killedrid == 1097 && AntEggKills < 55) // = Ant Egg
{
set AntEggKills,AntEggKills + 1;
dispbottom "You killed "+AntEggKills+"/55 AntEgg.";
if(AntEggKills >= 55)
dispbottom "You have killed all AntEggs.";
}else if (killedrid == 1005 && FamiliarKills < 5) // = Familiar
{
set FamiliarKills,FamiliarKills + 1;
dispbottom "You killed "+FamiliarKills+"/5 Familiar.";
if(FamiliarKills >= 5)
dispbottom "You have killed all Familiars.";
} else if(anthell == 0) {
announce "[Warpra]: You have killed every Monster. Come back to me to !",bc_self;
set anthell,1;
}
end;
}