mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-19 14:52:19 +02:00
remove relevant lines
This commit is contained in:
parent
4a560d7185
commit
7f55e1cdff
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user