- Joined
- Apr 22, 2022
- Messages
- 34
- Reaction score
- 17
- First Language
- English
- Primarily Uses
- RMMV
Hello everyone, I think this is the proper place to ask this but if not I'm sorry!
I'm setting up a skill using yanfly action sequences and one of the parameters accepts javascript formulas instead of full numbers. I'm trying to get the currently targeted enemies agility to use in this formula but I'm not entirely sure if its possible, all of this is coded in the notebox so putting in values like (a.agi * 4 - b.agi * 2) returns an error. I'm currently getting the actors agility with $gameActors.actor(2).agi, which only works because I only have 1 actor that can do the skill.
Again, not entirely sure if this is possible with how rpgmaker handles active targets, but just thought I'd ask anyway.
I'm setting up a skill using yanfly action sequences and one of the parameters accepts javascript formulas instead of full numbers. I'm trying to get the currently targeted enemies agility to use in this formula but I'm not entirely sure if its possible, all of this is coded in the notebox so putting in values like (a.agi * 4 - b.agi * 2) returns an error. I'm currently getting the actors agility with $gameActors.actor(2).agi, which only works because I only have 1 actor that can do the skill.
Again, not entirely sure if this is possible with how rpgmaker handles active targets, but just thought I'd ask anyway.