Jump to content
  • 0
Sign in to follow this  
serverkid

modifying vending skill

Question

will this make the vendor immune to monster's attacks?

 

 

case MC_VENDING:
if (sd) {
//Prevent vending of GMs with unnecessary Level to trade/drop. [skotlex]
if ( !pc_can_give_items(sd) )
clif->skill_fail(sd,skill_id,USESKILL_FAIL_LEVEL,0);
else {
sd->state.prevend = sd->state.workinprogress = 3;
sd->state.monster_ignore = 1;  //will this work?
clif->openvendingreq(sd,2+skill_lv);
}
}
break;

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

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