Add unsaved changes to Super Fang benefit score

pull/68/head
Flashfyre 2024-04-09 11:25:15 -04:00
parent 5ee95bcd17
commit a2e57bf1f7
1 changed files with 1 additions and 1 deletions

View File

@ -523,7 +523,7 @@ export class TargetHalfHpDamageAttr extends FixedDamageAttr {
}
getTargetBenefitScore(user: Pokemon, target: Pokemon, move: Move): number {
return target.getHpRatio() > 0.5 ? Math.floor(((target.getHpRatio() - 0.5) * 24) * 12 - 4) : -20;
return target.getHpRatio() > 0.5 ? Math.floor(((target.getHpRatio() - 0.5) * -24) + 4) : -20;
}
}