Jump to content
  • 0
Sign in to follow this  
Random756

Restrict stalker with acid demonstration from coming to woe

Question

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

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Thanks you i'll try this :)

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

else if( strcharinfo(3) == "payg_cas05" && Class == Job_Stalker && getskilllv(CR_ACIDDEMONSTRATION)){
announce "your msg", bc_self;
addtimer 1000, "WoE_Kick::OnKick";}

 

Edited by Crousti

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.