From b084d1f400c589041bece6f04c0a149c5f969561 Mon Sep 17 00:00:00 2001 From: Luc Date: Wed, 24 Apr 2024 22:26:48 -0400 Subject: [PATCH] jungle healing --- 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 f2fa7c67e80..7d77b23927b 100644 --- a/src/data/move.ts +++ b/src/data/move.ts @@ -3327,7 +3327,7 @@ export class ReducePpMoveAttr extends MoveEffectAttr { getCondition(): MoveConditionFunc { return (user, target, move) => { if(this.failOverride) - return true; // preventts move failing if no pp would be reduced + return true; // prevents move failing if no pp would be reduced const lastMove = target.getLastXMoves().find(() => true); if (lastMove) { const movesetMove = target.getMoveset().find(m => m.moveId === lastMove.move); @@ -5920,7 +5920,8 @@ export function initMoves() { .attr(StatusEffectAttr, StatusEffect.BURN), new StatusMove(Moves.JUNGLE_HEALING, Type.GRASS, -1, 10, -1, 0, 8) .attr(HealAttr, 0.25, true, false) - .partial(), + .attr(HealStatusEffectAttr, true, StatusEffect.PARALYSIS, StatusEffect.POISON, StatusEffect.TOXIC, StatusEffect.BURN, StatusEffect.FREEZE, StatusEffect.SLEEP) + .target(MoveTarget.USER_AND_ALLIES), new AttackMove(Moves.WICKED_BLOW, Type.DARK, MoveCategory.PHYSICAL, 75, 100, 5, -1, 0, 8) .attr(CritOnlyAttr) .punchingMove(),