How do I apply buffs to the user through the damage formula on a skill while the skill targets someone else? I know that states are applied with (a.addState(x)) added on to the end of a formula, but what is the code for adding a buff or debuff instead? Thanks.
How to apply buffs through damage formulas?
RPG Maker MV Support@KrimsonKatt
I believe you want a.addDebuff(X, Y) and a.addBuff(X, Y), where the X is the number corresponding to the stat you are buffing or debuffing, and Y is the number of turns it lasts.
I'm not certain on that though, so test carefully.
I believe you want a.addDebuff(X, Y) and a.addBuff(X, Y), where the X is the number corresponding to the stat you are buffing or debuffing, and Y is the number of turns it lasts.
I'm not certain on that though, so test carefully.
@Sword_of_Dusk Ok. Thanks for the help!
Thread closed a
Original thread: https://forums.rpgmakerweb.com/threads/how-to-apply-buffs-through-damage-formulas.130770/