Hello. So I am currently experimenting with a mechanic in my game where there is a Flying and Grounded state. Flying itself is a state, while Grounded is just the absence of it. Flying is a state that some abilities can apply but it is also a passive a lot of 'flying enemies' possess, and the state itself grants the affected troop immunity to Grounded attacks, bonus damage from Electric attacks, and an additional 10% Evasion. Only by hitting them with Root could they become Grounded, disabling all the aforementioned buffs, albeit temporarily and enemies with Flying as a passive state will get them back soon.
So I've tried several methods like making a state that had those parameters and even applying the parameters themselves to the enemy of my choosing with no passive. My issue at the moment is how Grounded attacks would still do zero damage even if I Root the target, as I also programmed Root to remove the Flying state or just outright reverse the buffs. The enemy still didn't take any Grounded damage.
Can anyone help me with the execution for this idea of mine, if it's possible? I only have several Yanfly plugins to help me, including the AutoPassive one.
EDIT: In case my description of the state is confusing, allow me to reword it in a TL;DR:
Flying is a state that can be applied (lasts for 3-4 turns) but also a passive. It gives immunity to Grounded attacks, weakness to Electric attacks, and additional +10% Evasion. The Root state (or at least abilities that apply Root) removes the state and its benefits, making Flying enemies susceptible to Grounded Attacks and losing the bonus evasion.
This is at least what I was going for.
So I've tried several methods like making a state that had those parameters and even applying the parameters themselves to the enemy of my choosing with no passive. My issue at the moment is how Grounded attacks would still do zero damage even if I Root the target, as I also programmed Root to remove the Flying state or just outright reverse the buffs. The enemy still didn't take any Grounded damage.
Can anyone help me with the execution for this idea of mine, if it's possible? I only have several Yanfly plugins to help me, including the AutoPassive one.
EDIT: In case my description of the state is confusing, allow me to reword it in a TL;DR:
Flying is a state that can be applied (lasts for 3-4 turns) but also a passive. It gives immunity to Grounded attacks, weakness to Electric attacks, and additional +10% Evasion. The Root state (or at least abilities that apply Root) removes the state and its benefits, making Flying enemies susceptible to Grounded Attacks and losing the bonus evasion.
This is at least what I was going for.
