yoiker
Member
- Joined
- Jan 21, 2012
- Messages
- 194
- Solutions
- 1
- Reaction score
- 9
TFS 1.2
There any way to make the attributes "maxhitpointspercent & maxmanapointspercent"of items.xml be like conditions?
Now I explain: when the attribute I said a while ago either the amount you put in item.xml adds the % of your total health is used, perfect... but when you use it for conditions or movement it is not and presents a problem.
This reads the max health or max mana but which is surface; my character has health 37645 and I have an item in items.xml giving 5% of the max health of the player then stay 39527 with the item.
When I use the movement reads max health that gives me the item and should be the normal would be 37645.
When I use the movement that gives me 35% read the max health + which gives me the item (5%) and should be only the max health of the player but not take the item as max health also
Finally, it should look like:
health 37645 +5% +35% = health 52702
but I have news because it is in this way and is the problem: health 53361
To make it clearer movement or condition is reading the attribute assigned more health/mana max the player and should only be health/mana max
I hope you can help me solve this problem is using c ++ or lua, thanks for watching the post! ;D
There any way to make the attributes "maxhitpointspercent & maxmanapointspercent"of items.xml be like conditions?
Now I explain: when the attribute I said a while ago either the amount you put in item.xml adds the % of your total health is used, perfect... but when you use it for conditions or movement it is not and presents a problem.
This reads the max health or max mana but which is surface; my character has health 37645 and I have an item in items.xml giving 5% of the max health of the player then stay 39527 with the item.
When I use the movement reads max health that gives me the item and should be the normal would be 37645.
When I use the movement that gives me 35% read the max health + which gives me the item (5%) and should be only the max health of the player but not take the item as max health also
Finally, it should look like:
health 37645 +5% +35% = health 52702
but I have news because it is in this way and is the problem: health 53361
To make it clearer movement or condition is reading the attribute assigned more health/mana max the player and should only be health/mana max
I hope you can help me solve this problem is using c ++ or lua, thanks for watching the post! ;D