Henlo! I'm trying to visiually showcase actors resistances in game depending on their current rate percentage and also to create some conditions in game based, so I want to set it up like this:
0% - 49% — Super resistant
50% - 99% — Resistant
100% - 109% — Neutral
110% - 149% — Weak
150% - ∞ — Super weak
To test out I setup some different states with different rates
And then I apply them in game, and use this event to get the actors current value for that element, in this case physical and I'm testing with actor 6.
But all I get are single number values, if the state has a % below 100 it gives me 0, if it's above 100% then I get a 1, and above 200% I get a 2, and so on.
I tried using:
and
but I get the same result.
Is there no way to get precise values in game to do multiple levels of resistance?
Thanks for reading 😤
0% - 49% — Super resistant
50% - 99% — Resistant
100% - 109% — Neutral
110% - 149% — Weak
150% - ∞ — Super weak
To test out I setup some different states with different rates
And then I apply them in game, and use this event to get the actors current value for that element, in this case physical and I'm testing with actor 6.
But all I get are single number values, if the state has a % below 100 it gives me 0, if it's above 100% then I get a 1, and above 200% I get a 2, and so on.
I tried using:
Code:
$gameActors._data[6].elementRate(1)
Code:
$gameActors.actor(6).elementRate(1)
Is there no way to get precise values in game to do multiple levels of resistance?
Thanks for reading 😤