Jump to content

  •  

Photo

modifying vending skill


  • Please log in to reply
No replies to this topic

#1 serverkid

serverkid

    Advanced Member

  • Members
  • PipPipPip
  • 48 posts

Posted 30 November 2014 - 11:14 AM

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[color=rgb(102,102,0);]->[/color]state[color=rgb(102,102,0);].[/color]monster_ignore [color=rgb(102,102,0);]=[/color] [color=rgb(0,102,102);]1[/color][color=rgb(102,102,0);];  //will this work?[/color]
clif->openvendingreq(sd,2+skill_lv);
}
}
break;





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 17 user(s)