From 6e286257d3d37287f99fd383a11c5cc973436bf4 Mon Sep 17 00:00:00 2001 From: Upos1997 <37412723+Upos1997@users.noreply.github.com> Date: Sun, 26 May 2024 11:03:27 +0200 Subject: [PATCH] Implemented Plus and Minus (#1155) * Implemented Plus and Minus * Merge branch 'pagefaultgames:main' into main --- src/data/ability.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index da68f9271f9..27d87b19d86 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -3410,9 +3410,11 @@ export function initAbilities() { new Ability(Abilities.CUTE_CHARM, 3) .attr(PostDefendContactApplyTagChanceAbAttr, 30, BattlerTagType.INFATUATED), new Ability(Abilities.PLUS, 3) - .unimplemented(), + .conditionalAttr(p => p.scene.currentBattle.double && [Abilities.PLUS, Abilities.MINUS].some(a => p.getAlly().hasAbility(a)), BattleStatMultiplierAbAttr, BattleStat.SPATK, 1.5) + .ignorable(), new Ability(Abilities.MINUS, 3) - .unimplemented(), + .conditionalAttr(p => p.scene.currentBattle.double && [Abilities.PLUS, Abilities.MINUS].some(a => p.getAlly().hasAbility(a)), BattleStatMultiplierAbAttr, BattleStat.SPATK, 1.5) + .ignorable(), new Ability(Abilities.FORECAST, 3) .attr(UncopiableAbilityAbAttr) .attr(NoFusionAbilityAbAttr)