04-25-2013, 01:08 AM
(04-24-2013, 08:16 PM)MechanicalPen Wrote: Sure is! Here is an example of how to do it;
Just add remove_state(i) inside the if statements. This will remove the state whenever its effect activates.Code:# Halve damage if element is protected if $data_states[i].guard_element_set.include?(element_id) result /= 2 remove_state(i) end
Excellent! Thank you, that works like a charm!