natanal99
New Member
- Joined
- May 31, 2011
- Messages
- 67
- Reaction score
- 3
So, i got this item that when used add 1 mana max to player who did it.
Then i added equips that grants manaMax to player and the item do not works how it should if the player is equipping some of this equips, cuz getCreatureMaxMana return the player max mana counting the equips but setCreatureMaxMana sets it without counting the equips.
Exemple:
player have 100MP
player have equip that grats +30MP
player uses item that grats +1MP but instead gains +31MP
Someone know a way i can get the player mana ignoring the equips? it could be source, no problem.
ps: tfs 0.3.6
Then i added equips that grants manaMax to player and the item do not works how it should if the player is equipping some of this equips, cuz getCreatureMaxMana return the player max mana counting the equips but setCreatureMaxMana sets it without counting the equips.
Exemple:
player have 100MP
player have equip that grats +30MP
player uses item that grats +1MP but instead gains +31MP
Someone know a way i can get the player mana ignoring the equips? it could be source, no problem.
ps: tfs 0.3.6