Remove additional reducing PP if pressure

pull/816/head
hayuna 2024-05-14 17:50:32 +02:00 committed by GitHub
parent 3b17136b03
commit 7ea3c727ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 0 additions and 4 deletions

View File

@ -1917,10 +1917,6 @@ export class LessPPMorePowerAttr extends VariablePowerAttr {
const ppMax = move.pp;
let ppUsed = user.moveset.find((m) => m.moveId === move.id).ppUsed;
if(target.hasAbility(Abilities.PRESSURE)) {
ppUsed += 1;
}
let ppRemains = ppMax - ppUsed;
if(ppRemains < 0) ppRemains = 0;