From ab97001a9aa526cf59d72de05ad586e128efa4d4 Mon Sep 17 00:00:00 2001 From: Ethan Date: Wed, 1 May 2024 16:12:59 -0400 Subject: [PATCH] Fixed the OHKO attribute (accidentally removed) and fixed multiplier --- src/data/move.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/data/move.ts b/src/data/move.ts index 321b13d5ca8..5ae2a902d12 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -2333,7 +2333,7 @@ export class IceNoEffectTypeMultiplierAttr extends VariableMoveTypeMultiplierAtt apply(user: Pokemon, target: Pokemon, move: Move, args: any[]): boolean { const multiplier = args[0] as Utils.NumberHolder; if (target.isOfType(Type.ICE)) { - multiplier.value *= 0; // Increased twice because initial reduction against water + multiplier.value = 0; return true; } return false; @@ -4653,7 +4653,8 @@ export function initMoves() { new AttackMove(Moves.SAND_TOMB, Type.GROUND, MoveCategory.PHYSICAL, 35, 85, 15, 100, 0, 3) .attr(TrapAttr, BattlerTagType.SAND_TOMB) .makesContact(false), - new AttackMove(Moves.SHEER_COLD, Type.ICE, MoveCategory.SPECIAL, 200, 20, 5, -1, 0, 3) + new AttackMove(Moves.SHEER_COLD, Type.ICE, MoveCategory.SPECIAL, 200, 20, 5, -1, 0, 3) + .attr(OneHitKOAttr) .attr(IceNoEffectTypeMultiplierAttr) .attr(SheerColdAttr), new AttackMove(Moves.MUDDY_WATER, Type.WATER, MoveCategory.SPECIAL, 90, 85, 10, 30, 0, 3)