Restrict stalker with acid demonstration from coming to woe

Random756

New member
Messages
50
Points
0
Hello,

I activated the feature which allows stalker to get acid demonstration, but i'd like to prevent them from coming in woe with this skill. 

Here is my current woe kicker : 

 

- script WoE_Kick FAKE_NPC,{
end;

OnKick:
warp "gonryun",159,124;
end;

OnPCLoadMapEvent:
//LVL MAX LIMITATION
if (agitcheck() == 1 || agitcheck2() == 1)
{
if( strcharinfo(3) == "payg_cas05" && BaseLevel > 99 ){
addtimer 1000, "WoE_Kick::OnKick";}

else if( strcharinfo(3) == "payg_cas01" && BaseLevel > 200 ){
addtimer 1000, "WoE_Kick::OnKick";
}
//stat restriction
else if( strcharinfo(3) == "payg_cas05" && (readparam(bStr)>=100 || readparam(bInt)>=100
|| readparam(bAgi)>=100 || readparam(bDex)>=100 || readparam(bVit)>=100 || readparam(bLuk)>=100) ){
addtimer 1000, "WoE_Kick::OnKick";
}

//GUILD LIMITATION
else if( strcharinfo(3) == "payg_cas05" && !getcharid(2) ){
addtimer 1000, "WoE_Kick::OnKick";
}

else if( strcharinfo(3) == "payg_cas01" && !getcharid(2) ){
addtimer 1000, "WoE_Kick::OnKick";
}

else if( strcharinfo(3) == "arug_cas05" && !getcharid(2) ){
addtimer 1000, "WoE_Kick::OnKick";
}
}

//PVP 99
else if( strcharinfo(3) == "guild_vs2" && (readparam(bStr)>=100 || readparam(bInt)>=100
|| readparam(bAgi)>=100 || readparam(bDex)>=100 || readparam(bVit)>=100 || readparam(bLuk)>=100) ){
addtimer 1000, "WoE_Kick::OnKick";
}
end;
}

payg_cas01 mapflag loadevent
payg_cas05 mapflag loadevent
arug_cas05 mapflag loadevent
guild_vs2 mapflag loadevent


But I have to admit I have no idea how to prevent a stalker with acid demo to come in. 

Can someone helps me on this ? 

Thanks a lot

 
Thanks you i'll try this :)

Edit : It worked, here is what I used in case someone needs.

Code:
else if( strcharinfo(3) == "payg_cas05" && Class == Job_Stalker && getskilllv(CR_ACIDDEMONSTRATION)){
announce "your msg", bc_self;
addtimer 1000, "WoE_Kick::OnKick";}
 
Last edited by a moderator:
Back
Top