Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Element Absorbing Armor
#1
Element Absorbing Armor
Version: 1.01

Introduction

This is a short script I wrote that allows you to make armor and states that absorb, nullify, or double damage from elemental attacks, in addition to the halving allowed by the standard scripts.

Demo

Demo

.zip   Element_Absorbing.zip (Size: 187.36 KB / Downloads: 0)

Instructions

Paste the scripts above main, then read the comments in the demo to configure your armors and states.


Compatibility

Works fine with or without SDK, but it overwrites element_rate in both Game_Actor and Game_Enemy rather than aliasing, so it may conflict with scripts that use or modify those

Author's Notes

You can post bug reports here, or PM me.

Terms and Conditions

No restrictions (as long as credit is given).
Reply }
#2
hello,
i dont mean to post on old subject but well... the link is broken... could you please fix that ? o.o
thanks !

Fighting for peace is like screwing for virginity.
Reply }
#3
Glad you did actually. I have the script somewhere at home. Unfortunately, I am at work so I cannot get to re-upload for another 6 hours.
Link fixed. The url ended with .zipj. There is no J in .zip. Tongue sticking out
Reply }
#4
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?
Reply }
#5
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.
Reply }
#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 }


Possibly Related Threads…
Thread Author Replies Views Last Post
   Lycan Sneak Armor DerVVulfman 0 4,604 10-25-2015, 06:15 AM
Last Post: DerVVulfman
   Victor Engine - Element States Victor Sant 0 4,129 07-12-2012, 11:21 PM
Last Post: Victor Sant
   Victor Engine - Element Set Victor Sant 2 5,530 07-11-2012, 06:31 AM
Last Post: Victor Sant
   Victor Engine - Element Reflect Victor Sant 0 3,887 07-11-2012, 06:30 AM
Last Post: Victor Sant
   Victor Engine - Element Dodge Victor Sant 1 4,641 07-10-2012, 04:52 AM
Last Post: MiguHideki
   Victor Engine - Element Strenghten Victor Sant 0 3,860 07-04-2012, 03:30 AM
Last Post: Victor Sant
   XRXS No38: Element Limitation/Correction Helel 1 6,085 12-11-2009, 12:13 AM
Last Post: DerVVulfman
   Cursed Weapons and Armor RPG Advocate 0 3,905 03-03-2008, 04:51 AM
Last Post: RPG Advocate



Users browsing this thread: