this should not affect how this works but i can't help but feel like this was somehow broken

This commit is contained in:
Hexugory 2023-04-01 03:24:32 -05:00
parent 960957e099
commit c667e6cc1b

View File

@ -499,7 +499,7 @@ export class Battle {
},
buffBuff: (self: BattleUnit, target: BattleUnit, battle: Battle) => {
target.potencyEffects = target.potencyEffects.map(effect => {
if (effect.potency > 0) effect.potency *= 2;
effect.potency = Math.max(effect.potency*2, effect.potency);
return effect;
});