-
Hi all, I have already created similar post a couple of months ago about this and I got an answer from SamsamTS. With his help, I had managed to have conditions that triggers when a character receives heals when under a specific health percentage, but it is not working as expected anymore, for unknown reason. This is an example of the code I am using for Steiner.
What I expect:
What happens:
Can someone help me with this? I get the feeling that the calculations are not working properly, which sounds stupid... Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi, that's because the trigger happens right after the damage / heal is done, so it depends on whether Steiner has 60% of his max HP after the heal there. You can use that formula for the heal check instead: HP - HPDamage <= 0.6 * MaxHP Hopefully that fixes it. |
Beta Was this translation helpful? Give feedback.
-
Hi, I already did some test with your formula and it seems like it's working fine. |
Beta Was this translation helpful? Give feedback.
Hi, that's because the trigger happens right after the damage / heal is done, so it depends on whether Steiner has 60% of his max HP after the heal there.
You can use that formula for the heal check instead:
HP - HPDamage <= 0.6 * MaxHP
Hopefully that fixes it.
Keep it up!