this should not affect how this works but i can't help but feel like this was somehow broken
This commit is contained in:
parent
960957e099
commit
c667e6cc1b
@ -499,7 +499,7 @@ export class Battle {
|
|||||||
},
|
},
|
||||||
buffBuff: (self: BattleUnit, target: BattleUnit, battle: Battle) => {
|
buffBuff: (self: BattleUnit, target: BattleUnit, battle: Battle) => {
|
||||||
target.potencyEffects = target.potencyEffects.map(effect => {
|
target.potencyEffects = target.potencyEffects.map(effect => {
|
||||||
if (effect.potency > 0) effect.potency *= 2;
|
effect.potency = Math.max(effect.potency*2, effect.potency);
|
||||||
|
|
||||||
return effect;
|
return effect;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user