20-01-2009, 04:52 AM
If weapon(getplayerweapon(myindex)).bonusstr > 0 then
call setplayertempstr(myindex, getplayerstr(myindex))
call setplayerstr(myindex, getplayerstr(myindex) + weapon(getplayerweapon(myindex)).bonusstr)
end if
Something along that, pending how you store the item's bonus stats and such.
call setplayertempstr(myindex, getplayerstr(myindex))
call setplayerstr(myindex, getplayerstr(myindex) + weapon(getplayerweapon(myindex)).bonusstr)
end if
Something along that, pending how you store the item's bonus stats and such.