ENERGY REDIRECTOR

By TaskmasterX
Energy Redirector provides the character with Energy Tanks so they're maximum EP are doubled and they can absorb more than they're Max EP via they're Absorb Passive/Active Defense Powers. They also have no special commands at the beginning of the mission. Once an absorption is detected the character gets new custom commands that represent new powers they aquired from the absorption. You can add up to four different powers so, if the character can absorb more than one kind of damage, they can have a new command for each of the damage absorbed. Since they're currently isn't a way to detect the kind of damage done, all commands appear and the player chooses the command to trigger the power that has the same damage type as the one they absorbed. Once the power is used, all commands disappear until energy is absorbed again.

This attribute also has a customized drawback similar to Volatile Storage, so that if the absorbed energy is held onto for more than 10 seconds, the Side Effect occurs (Explosion, Take Damage, Stunned, Irradiated, etc.,). Also, the character can only hold absorbed energy from 2 attacks. If they are hit and absorb the energy a 3rd time without having released the energy from the 1st absorption, the Side Effect automatically occurs.

Whenever the Side Effect or the Power is triggered, the absorbed energy is then deducted from the character's EP, so you may want to choose or create powers in FFEdit that have No Energy Cost to use with this, since the actual cost of the power is the energy absorbed. Also, the intensity of the attack absorbed affects the intensity of the power the character gets. To get the best results, the power in FFEdit should be Medium Magnitude because the damage will decrease or increase based on that the intensity above or below that Magnitude.

As for the AI, using this power, it's a bit limited but it does work somewhat. When the AI is in control of this character and an absorption occurs, the AI will use only the first power in the ffxcustom2.py list. Since the AI has no way of knowing what kind of damage was absorbed, there's no way to tell it to use a specific power based on that so, they can only use the first power. Also there’s a 10% chance that the AI will wait to long to spend the energy and the Side Effect will occur.


Customisation


Due to FFX Control Centre having a limit on the number of customizable attributes, Energy Redirector has to be customized manually by opening ffxcustom2.py:

### Energy Redirector
FFX_ENERGYREDIRECTION_CUSTOM=[
["default","effect_ffx_energysparks","erProgressivedamage","","","","","","","","",""],
["types","EBuildup FX","hEffect","aExplosion","CCommand1","sPower1","CCommand2","sPower2","CCommand3","sPower3","CCommand4","sPower4"],
]

Example:

### Energy Redirector
FFX_ENERGYREDIRECTION_CUSTOM=[
["default","effect_ffx_energysparks","erProgressivedamage","","","","","","","","",""],
["types","EBuildup FX","hEffect","aExplosion","CCommand1","sPower1","CCommand2","sPower2","CCommand3","sPower3","CCommand4","sPower4"],
["energy sponge","effect_ffx_energysparks","erProgressivedamage","","ENERGY_BLAST","esEnergyBlast","","","","","","",""],
]

The name of the hero with the Attribute is energy sponge. The name of the FX that plays on him when energy is absorbed is effect_ffx_energysparks and he has the erProgressivedamage Side Effect. He has one command that will appear when energy is absorbed – ENERGY_BLAST, which triggers the Power, esEnergyBlast.



List of Functions for Energy Redirector: