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



Excellent! Thank you, that works like a charm!
Reply }


Messages In This Thread
Element Absorbing Armor - by Bearcat - 03-07-2008, 06:06 AM
RE: Element Absorbing Armor - by Metalknight - 04-24-2013, 08:34 AM
RE: Element Absorbing Armor - by MechanicalPen - 04-24-2013, 08:16 PM
RE: Element Absorbing Armor - by Metalknight - 04-25-2013, 01:08 AM
Element Absorbing Armor - by mageone - 10-06-2009, 08:51 PM
Element Absorbing Armor - by DerVVulfman - 10-06-2009, 09:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
   Lycan Sneak Armor DerVVulfman 0 5,258 10-25-2015, 06:15 AM
Last Post: DerVVulfman
   XRXS No38: Element Limitation/Correction Helel 1 6,799 12-11-2009, 12:13 AM
Last Post: DerVVulfman
   Cursed Weapons and Armor RPG Advocate 0 4,489 03-03-2008, 04:51 AM
Last Post: RPG Advocate



Users browsing this thread: 1 Guest(s)