prt_in,30,100,5 script Szörnyevent 601,{
end;
OnInit:
bindatcmd "szornyevent1",strnpcinfo(3)+"::OnAtcommand1";
bindatcmd "szornyevent2",strnpcinfo(3)+"::OnAtcommand2";
disablenpc "lilyevent1";
end;
// Szörnyidézés: !szornyevent1 x y
OnAtcommand1:
monster "guild_vs1-3",30,30,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnCount";
monster "guild_vs1-3",19,50,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnCount";
monster "guild_vs1-3",30,69,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnCount";
monster "guild_vs1-3",49,78,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnCount";
monster "guild_vs1-3",69,69,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnCount";
monster "guild_vs1-3",81,50,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnCount";
monster "guild_vs1-3",69,30,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnCount";
monster "guild_vs1-3",49,18,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnCount";
end;
OnCount:
if (mobcount("this", "all") == 0) {
announce "[Lily] Végeztetek ezzel a hullámmal!",1,0x33FFFF;
} else {
end;
}
// Boss idézés: !szornyevent2 x y
monster "guild_vs1-3",50,71,--en--,atoi(.@atcmd_parameters$[0]),atoi(.@atcmd_parameters$[1]),"Szörnyevent::OnBossCount";
OnBossCount:
if (mobcount("this", "all") == 0) {
announce "[Lily] Sikeresen legyőztétek a bosst! Gratulálok!!",1,0x33FFFF;
sleep2 10000;
announce "[Lily] Készüljetek a következő harcra!",1,0x33FFFF;
} else {
end;
}
// NPC megjelenítése középen - szabályok, stb.
if(getgmlevel() > 7) {
OnWhisperGlobal:
if (@whispervar0$ == "gyere"){
enablenpc "lilyevent1";
end;
}
else if (@whispervar0$ == "kifelé"){
disablenpc "lilyevent1";
end;
}
}
}
guild_vs1-3,50,50,3 script Lily#1::lilyevent1 601,{
end;
}