Heya
I've been browsing for an answer, but the scripts I found about my issue weren't working or not accurate
So, the debuff and buff formula in VX ACE is kind of mathematically wrong
For instance, if you have 200 ATK :
reduced 2 times (-50%), it becomes 100 ATK (half of its original value)
increased 2 times (+50%), it becomes 300 ATK (1.5 times its original value. It should be double, not 1.5 times!!)
It's multiplicative inverse. Further proof : if you could reduce it 4 times (-100%), your stat would become null, which is kind of gamebreaking ^^
I'm using Yanfly's Buff & Status Manager, here's the formula described (the one used in VX Ace)
This formula's result varies between 0.5 and 1.5 (depending on the buff level - that is [-2, 2]). The result should actually varies between 0.666667 and 1.5 (as 0.66667 is the multiplicative inverse of 1.5)
In practice, how could I ask the formula to be like :
if buff_level(param_id) is < 0
and
if buff_level(param_id) is >= 0 ??
Thanks in advance and sorry if this was already asked
I've been browsing for an answer, but the scripts I found about my issue weren't working or not accurate
So, the debuff and buff formula in VX ACE is kind of mathematically wrong
For instance, if you have 200 ATK :
reduced 2 times (-50%), it becomes 100 ATK (half of its original value)
increased 2 times (+50%), it becomes 300 ATK (1.5 times its original value. It should be double, not 1.5 times!!)
It's multiplicative inverse. Further proof : if you could reduce it 4 times (-100%), your stat would become null, which is kind of gamebreaking ^^
I'm using Yanfly's Buff & Status Manager, here's the formula described (the one used in VX Ace)
Code:
# This is the formula used to apply the rate used for buffs and debuffs.
BUFF_BOOST_FORMULA = "buff_level(param_id) * 0.25 + 1.0"
In practice, how could I ask the formula to be like :
Code:
BUFF_BOOST_FORMULA = "0.8 ** buff_level(param_id)"
and
Code:
BUFF_BOOST_FORMULA = "buff_level(param_id) * 0.25 + 1.0"
Thanks in advance and sorry if this was already asked