- Joined
- Aug 3, 2012
- Messages
- 22,305
- Reaction score
- 11,732
- First Language
- English
- Primarily Uses
- RMVXA
My understanding is that debuffs, like states, are applied after damage has been calculated. However, I'm now wondering if that is actually true.
I have a skill where the actor is healed by the enemy's ATK x 2. It also applies an ATK debuff. For the healing to be worth it, that debuff must happen after the actor gets the heal. However, it doesn't seem to be quite like that.
I have an enemy with an ATK of 30. Healing should, if I am correct, be 60. It never is. With variance set to zero, it is 46, which looks like it's being calculated after the debuff has been applied.
Here is my damage formula:
As you can see, the damage part of the formula is at the end, after the debuff, but that is because the formula has to end with a number. If I end it with the debuff, I get zero damage.
Can anyone enlighten me as to what's going on here?
Thank you.
I have a skill where the actor is healed by the enemy's ATK x 2. It also applies an ATK debuff. For the healing to be worth it, that debuff must happen after the actor gets the heal. However, it doesn't seem to be quite like that.
I have an enemy with an ATK of 30. Healing should, if I am correct, be 60. It never is. With variance set to zero, it is 46, which looks like it's being calculated after the debuff has been applied.
Here is my damage formula:
Code:
a.hp += b.atk*2; b.add_debuff(2,2,); b.atk*2
As you can see, the damage part of the formula is at the end, after the debuff, but that is because the formula has to end with a number. If I end it with the debuff, I get zero damage.
Can anyone enlighten me as to what's going on here?
Thank you.