Okay, so, I'm at a loss, here.
I'm trying to edit the code so that buffs and debuffs work like smt IV, that is, casting a debuff x1 on someone with buff x3 will bring them down to buff x2, casting buff x2 on someone with a debuff x4 will put them at debuff x2, and a buff x2 on a debuff x2 will cancel each other out, and so forth.
I have Yanfly's state and buff script, and right now, even at a x4 strength buff, one hit of a x1 strength debuff will leave the target at neutral- no buff, no debuff, while a x2 debuff will cancel the buff and add a x1 debuff.
Any advice?
I'm trying to edit the code so that buffs and debuffs work like smt IV, that is, casting a debuff x1 on someone with buff x3 will bring them down to buff x2, casting buff x2 on someone with a debuff x4 will put them at debuff x2, and a buff x2 on a debuff x2 will cancel each other out, and so forth.
I have Yanfly's state and buff script, and right now, even at a x4 strength buff, one hit of a x1 strength debuff will leave the target at neutral- no buff, no debuff, while a x2 debuff will cancel the buff and add a x1 debuff.
Any advice?