hey all o/ so like... im back with another inquiry (which is probably silly LOL)
Context: basically, it's... a skill that applies a buff when I use it on my party, but when used on enemies, it hurts them instead.
I figured I could do this with a simple enough formula, but I can only get the buff part going. Heres what i used:
b.actorId(2) ? b.addState(20) : 120 + a.mat * 4 - b.mdf * 2
(idk if I wrote it correctly here... but I did check out the Formulae post and I did back then. its prob just uppercases missing or something LOL)
Since the id of the actor using the skill is 2, then... of course I set it to 2. LOL. The scope of the skill is "All Enemies" but I used a Selection Control Plugin (Victor's) so it allows me to toggle between foe and friend.
I'm pretty sure the mistake might be in the "if" statement, but I'm a fool so... yeah... thanks in advance for your help and patience 😅
Context: basically, it's... a skill that applies a buff when I use it on my party, but when used on enemies, it hurts them instead.
I figured I could do this with a simple enough formula, but I can only get the buff part going. Heres what i used:
b.actorId(2) ? b.addState(20) : 120 + a.mat * 4 - b.mdf * 2
(idk if I wrote it correctly here... but I did check out the Formulae post and I did back then. its prob just uppercases missing or something LOL)
Since the id of the actor using the skill is 2, then... of course I set it to 2. LOL. The scope of the skill is "All Enemies" but I used a Selection Control Plugin (Victor's) so it allows me to toggle between foe and friend.
I'm pretty sure the mistake might be in the "if" statement, but I'm a fool so... yeah... thanks in advance for your help and patience 😅