Remove additional reducing PP if pressure
parent
3b17136b03
commit
7ea3c727ac
|
@ -1917,10 +1917,6 @@ export class LessPPMorePowerAttr extends VariablePowerAttr {
|
||||||
const ppMax = move.pp;
|
const ppMax = move.pp;
|
||||||
let ppUsed = user.moveset.find((m) => m.moveId === move.id).ppUsed;
|
let ppUsed = user.moveset.find((m) => m.moveId === move.id).ppUsed;
|
||||||
|
|
||||||
if(target.hasAbility(Abilities.PRESSURE)) {
|
|
||||||
ppUsed += 1;
|
|
||||||
}
|
|
||||||
|
|
||||||
let ppRemains = ppMax - ppUsed;
|
let ppRemains = ppMax - ppUsed;
|
||||||
if(ppRemains < 0) ppRemains = 0;
|
if(ppRemains < 0) ppRemains = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue