Disarm and Fly buffs

How can i make a disarm buff that stops enemies from attacking and a Fly skill like in Pokémon?


Fly works like this: user chooses a target and then its sprite fades skiping its next turn, wile faded he's untargetable and can only be affected by AoE skills, when the fade ends he will then perform an action.
In the disarm, add the feature seal attack. That will stop them from using the basic attack skill. If you want more than just that blocked, use seal (name of skill type to seal here).


You'll need to describe the fly skill in pokemon to us. Not everyone has played that game or remembers what that skill does.
oh, sorry, i've updated the description
Hmmm...I think you could do Fly by adding the feature TGR * 0 to the actor. Or, look for an untargetable plug-in, I think Hime made one. If you want the target to skip a turn, add the feature to the state that the target cannot act.
I'll look for the plugin latter.

Does TGR stands for Target Rate?


How can i write this formula?


a.addState(); a.atk * x - b.def * y

or something like

tgr * 0; a.atk * x - b.def * y
Yes, it stands for target rate. And you add it by having the skill add a state that has tgr * 0.


Be advised that if the actor with the state on them is the only one still on the battlefield, they will be targeted, even by non-AOE spells. That's why you might need a untargetable plug-in, to avoid that specific situation.
That's quite awkward :v
I'll give it a shot, thx @bgillisp

Original thread: https://forums.rpgmakerweb.com/threads/disarm-and-fly-buffs.62383/