- Joined
- Nov 17, 2010
- Messages
- 6,812
- Solutions
- 582
- Reaction score
- 5,372
0.3.7
If someone has on an armor that has this in items.xml it will change their max hp up a percentage.
Now what I'm trying to do is find the creature/players max hp, but only their base, not with the accumulated armor value on-top.
Any idea's?
This is the current way I'm finding the creatures max hp, and as far as I can tell, there's no modifiers.
If someone has on an armor that has this in items.xml it will change their max hp up a percentage.
Code:
<attribute key="maxHealthPercent" value="130"/>
Any idea's?
This is the current way I'm finding the creatures max hp, and as far as I can tell, there's no modifiers.
Code:
print(getCreatureMaxHealth(cid))
print(getCreatureMaxMana(cid))