From eb559fd20d56a1c11b7a6d462c0e10a7fd58acb2 Mon Sep 17 00:00:00 2001 From: EmberCM Date: Thu, 29 Aug 2024 12:15:59 -0500 Subject: [PATCH] Allow False Swipe and Hold Back to hit even at 1 hp --- src/data/move.ts | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index c8043282b00..2869475501a 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -1261,10 +1261,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): integer { return target.hp > 1 ? 0 : -20; }