I'm using Yanfly's BuffsStatesCore to make a state that when attacked will force the defender to use a skill and knock the attacker back with an animation and apply a paralyze type state to him. I've had good success using the following code to apply the state to the attacker when attacked, but I'm trying for a more visually pleasing effect by using a skill where I can apply an Sequence to make things look flashier.
"user" is considered the attacker in this instance for reasons I have no idea about... So the code I've tried was something along the lines of this:
"target" is the defender. But nothing happens at all when I do this... I tried reversing the "user" and "target" positions but nothing happened.
I would love some help with this.
I would love the code needed to force the action, but if not that can I get the code to make the attacker get moved backward and then a State applied to him. This will be the minimum I would need to make the effect I'm trying to make.
Thanks in Advance
"user" is considered the attacker in this instance for reasons I have no idea about... So the code I've tried was something along the lines of this:
"target" is the defender. But nothing happens at all when I do this... I tried reversing the "user" and "target" positions but nothing happened.
I would love some help with this.
I would love the code needed to force the action, but if not that can I get the code to make the attacker get moved backward and then a State applied to him. This will be the minimum I would need to make the effect I'm trying to make.
Thanks in Advance