- Joined
- Jul 17, 2013
- Messages
- 64
- Reaction score
- 0
- First Language
- English
- Primarily Uses
I am trying to create a formula to which involves my missing health, However whenever I use % it just acts like a subtraction example 420%320=100. Whenever I use / it drops anything <1. So I am finding it impossible to create anything based off my missing health. So I have gone to ridiculously confusing measures to get around this and it still doesn't work.
<ft: add_param atk (100-(((mhp-hp)*100)/mhp)*(0.1*atk))/100>
If im at 100% HP mhp - hp = 0 so 0/ anything * anything should still be 0 and it should return as 0 but it doesnt even do that. This is the most frustrating thing. I don't know what to do at this point. How do I stop it from throwing out results that <1!?
<ft: add_param atk (100-(((mhp-hp)*100)/mhp)*(0.1*atk))/100>
If im at 100% HP mhp - hp = 0 so 0/ anything * anything should still be 0 and it should return as 0 but it doesnt even do that. This is the most frustrating thing. I don't know what to do at this point. How do I stop it from throwing out results that <1!?
Last edited by a moderator:

