02-17-2010, 01:05 PM
First, you could make the AUTO_LIFE_ITEM_ID object remove the Auto Revive state. Then it remains the problem that the state should be reset at the end of the battle, but this is - I believe - a general problem affecting all the states controlled by the system. Try this, paste it at the end of the script.
Code:
class Game_Battler
alias stas_remove_states_battle remove_states_battle
def remove_states_battle
stas_remove_states_battle
return if self.is_a?(Game_Enemy)
for skill in @active_state_skills
add_state(SKILL_TO_STATE_LINKS[skill.id])
end
end
end