04-24-2013, 08:34 AM
I apologize for the necropost, but I have a small question about this script that I'd feel silly making a new topic for, and I can't seem to PM anybody.
Basically, I was wondering if there was a way to edit this code, so that after a state nulls/absorbs/doubles damage from a given element, the state goes away immediately.
Yes, I know I could just make it so the state only lasts a single turn, but just ending the state quickly is not what I'm trying to do. I want a given state to last indefinitely, but get removed immediately if it activates this scripts functions a single time.
Is this possible?
Basically, I was wondering if there was a way to edit this code, so that after a state nulls/absorbs/doubles damage from a given element, the state goes away immediately.
Yes, I know I could just make it so the state only lasts a single turn, but just ending the state quickly is not what I'm trying to do. I want a given state to last indefinitely, but get removed immediately if it activates this scripts functions a single time.
Is this possible?