Weapon effect

I want to make a weapon that only if the user of that weapon has more that specified agility the weapon has a particular effect.
I wanted to use a common event with a conditional branch but I would have to use script calls to identify who the weapon is equipped to. Wich script call i have to use?
Hmmm, BattleManager._subject gives the currently active battler, so you can get their agility with BattleManager._subject.agi, and you can use that in the conditional.
I wanted to use a common event
You probably do not. Common events run after skills have finished, so most of the time that makes things look weird if stuff happens after the attack.

You probably want to use a notetag that will run the code at some point during the skill. You can use my Eval Tags, linked to in my signature, or if you're using VisuStella plugins you can use Battle Core.

If you actually explain exactly what you want to happen, you can get better help.

Original thread: https://forums.rpgmakerweb.com/threads/weapon-effect.169376/