Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 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 4,707 10-25-2015, 06:15 AM
Last Post: DerVVulfman
   Victor Engine - Element States Victor Sant 0 4,212 07-12-2012, 11:21 PM
Last Post: Victor Sant
   Victor Engine - Element Set Victor Sant 2 5,666 07-11-2012, 06:31 AM
Last Post: Victor Sant
   Victor Engine - Element Reflect Victor Sant 0 3,961 07-11-2012, 06:30 AM
Last Post: Victor Sant
   Victor Engine - Element Dodge Victor Sant 1 4,749 07-10-2012, 04:52 AM
Last Post: MiguHideki
   Victor Engine - Element Strenghten Victor Sant 0 3,938 07-04-2012, 03:30 AM
Last Post: Victor Sant
   XRXS No38: Element Limitation/Correction Helel 1 6,181 12-11-2009, 12:13 AM
Last Post: DerVVulfman
   Cursed Weapons and Armor RPG Advocate 0 3,989 03-03-2008, 04:51 AM
Last Post: RPG Advocate



Users browsing this thread: