Element Attract (Lightning Rod/ Storm Drain)

Hello everyone!


I'm not sure this is possible to do without script, but here goes:


If you guys familiar with Pkmn games, there are abilities like Lightning Rod that redirects all Electric element skills used by all battlers on the field (including allies) unless when the target scope is multi-target.


So, my question is:


Is there any way to do this in VX Ace? I'd like to make any battler inflicted by certain state has this ability. Of course I also want it to work for any element, not just Electric.


So for example, State A has the ability to attract Electric elements, State B for Fire element, etc.


What I meant by redirection is:


For example, Enemy A targets Actor B with Electric skill  but since Actor C has lightningrod, Actor C takes the attack instead of Actor B.


Of course this only applies for the Electric move, on the same turn the enemy uses another skill with different element, the redirection won't happen.


If you guys need more explanations, please feel free to ask.


I'm using Yanfly Battle Engin btw.


Thanks in advance!
Yanfly has a script for Nature damage which seems to be exactly what your looking for. Doing it without a script will definitely be more complicated ^^
Yanfly has a script for Nature damage which seems to be exactly what your looking for. Doing it without a script will definitely be more complicated ^^

Can you please post the link to the script you mentioned?
Sry dont have it myself. It's something I came across when watching a video on different useful plugins. Also,I just noticed you work on VX Ace and the video I saw was for MV. Maybe you can make it so that your lightening rod item is somehow taunting electric enemies to rather attack them?
Implementing this feature doesn't seem reasonable for the event system.


This is more of a script request.


There's a lot of scripts that replicate Pokemon mechanics here.


If there isn't a dedicated script for this ability, its mechanics are likely


included within a larger script on the site.
I can't use Crystal Engine because of incompatibility issue... Srsly it is very good but destroyed most of my other systems..

Original thread: https://forums.rpgmakerweb.com/threads/element-attract-lightning-rod-storm-drain.69055/