Hello there.
I've got a question regarding Buffs and Debuffs in RMMV, but I wasn't sure whether to post it here or elsewhere.
In my german-language project I created two different skills with german names, let's call them "Lunge" and "Safeguard" here.
The error occurs when using Lunge first and then Safeguard:
Even with just one Buff for Defense instead of two gained from Safeguard won't fix this. It doesn't work with a formula for Safeguard either.
I'm using RMMV Ver 1.1.0.
Does someone has an answer please? Thanks in advance.
I've got a question regarding Buffs and Debuffs in RMMV, but I wasn't sure whether to post it here or elsewhere.
In my german-language project I created two different skills with german names, let's call them "Lunge" and "Safeguard" here.
- Lunge does higher damage than usual to the enemy but gives the character def-Debuffs for three turns, it's formula says dmg = a.atk * 5 - b.def * 2; a.addDebuff(3,3); a.addDebuff(5,3); dmg;
- Safeguard activates at the start of the turn and grants high def-Buffs until end of turn, so there are two Buffs for Defense and two Buffs for Magic Defense as effects
The error occurs when using Lunge first and then Safeguard:
- Turn 1: character uses Lunge, does damage and gets DEF DOWN and MDEF DOWN
- Turn 2: character uses Safeguard, gets DEF UP/UP and MDEF UP/UP and ends up having DEF UP and MDFE UP (this should be gone by the end of the turn already)
- Turn 3: character still has DEF UP and MDEF UP (it should be DEF DOWN and MDEF DOWN again)
Even with just one Buff for Defense instead of two gained from Safeguard won't fix this. It doesn't work with a formula for Safeguard either.
I'm using RMMV Ver 1.1.0.
Does someone has an answer please? Thanks in advance.