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;