Iavra Auto States

Calls update on battle start and on battle end (twice on start). Nowhere else.
Okay, then try modifying UPDATE like this:

Code:
UPDATE = [  :battle_start,  :battle_end,  :advance_turn]
It now works! Thank you.
Is there a way to possibly implement an update method that works mid-turn? Possibly one that automatically detects changes in HP, MP, and TP? I love this script, but I wish I could have auto states apply more automatically instead of having to wait for the next turn.
Well, i haven't done Ruby in a long time, so probably can't help you without spending some time getting into it again, but you could always try manually calling this method:

Code:
IAVRA::STATES.update
I have an actor where an auto state kicks in when he's under 35% HP. However, if he is already afflicted with another state e.g. poison, attack down (when it's part of a state and not the standard debuff) then I get the following error message:

line 144: ArgumentError occurred
wrong number of arguments (2 for 1)

As the fact that he has a state inflicted by an enemy is likely to be part of the reason the HP is below 35%, this is going to kick in pretty often.

Is there a fix for this?

Original thread: https://forums.rpgmakerweb.com/threads/iavra-auto-states.40847/