in my opinion
I think there is to much going on in "OnPCStatCalcEvent"
this how I would do it
- script item_party_buff -1,{
OnPCStatCalcEvent:
if(getvar(@ITEMPARTYBUFF,getpartyleader(getcharid(1),2))){
bonus bAllstats, 1;
}
end;
}
1201,Knife,Knife,5,50,,400,17,,1,3,0x3E9F7EEF,63,2,2,1,1,1,1,{},{ @ITEMPARTYBUFF = true; },{ @ITEMPARTYBUFF = false; }
ofc it's not perfect , the party members won't get the bonus before they hit the event(this event happen a lot but it might be a problem for some to not get the bonus immediately)
so if it's for my server , I won't do it and think of other ways , or maybe looking to the src to do it