Hey, I have some attribute X that is modified by certain items.
I want to apply a global function on X that will apply last everytime such item is equipped/unequipped.
e.g: if item A gives +3X and item B gives +12X, usually the player will have 15X. but if my function is f(x) = x/5 then i want that after the player equips A and B, they'll have only 3X.
#Modifying player's attribute after equipping/unequipping items
3 messages · Page 1 of 1 (latest)