remove relevant lines

This commit is contained in:
damocleas 2025-03-28 22:20:13 -04:00 committed by GitHub
parent 4a560d7185
commit 7f55e1cdff
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1580,10 +1580,6 @@ export class SurviveDamageAttr extends ModifiedDamageAttr {
return Math.min(damage, target.hp - 1);
}
getCondition(): MoveConditionFunc {
return (user, target, move) => target.hp > 1;
}
getUserBenefitScore(user: Pokemon, target: Pokemon, move: Move): number {
return target.hp > 1 ? 0 : -20;
}