From 3ea6873ee8115c3db9ff34b03a6886abe816a8d6 Mon Sep 17 00:00:00 2001 From: damocleas Date: Sat, 20 Apr 2024 20:41:31 -0600 Subject: [PATCH] No Guard (P)! Basic implementation of No Guard, if nothing has changed with how evasion/accuracy are handled then this should work for most cases (aside from the obvious not being able to hit two turn moves, or the most extreme cases that mist might cause, though that should be covered as well going off of my math) --- src/data/ability.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/data/ability.ts b/src/data/ability.ts index 80931d3c164..ae410460004 100644 --- a/src/data/ability.ts +++ b/src/data/ability.ts @@ -2572,7 +2572,9 @@ export function initAbilities() { new Ability(Abilities.SNIPER, "Sniper (N)", "Powers up moves if they become critical hits when attacking.", 4), new Ability(Abilities.MAGIC_GUARD, "Magic Guard", "The Pokémon only takes damage from attacks.", 4) .attr(BlockNonDirectDamageAbAttr), - new Ability(Abilities.NO_GUARD, "No Guard (N)", "The Pokémon employs no-guard tactics to ensure incoming and outgoing attacks always land.", 4), + new Ability(Abilities.NO_GUARD, "No Guard (P)", "The Pokémon employs no-guard tactics to ensure incoming and outgoing attacks always land.", 4) + .attr(BattleStatMultiplierAbAttr, BattleStat.ACC, 150) + .attr(BattleStatMultiplierAbAttr, BattleStat.EVA, 0), new Ability(Abilities.STALL, "Stall (N)", "The Pokémon moves after all other Pokémon do.", 4), new Ability(Abilities.TECHNICIAN, "Technician", "Powers up the Pokémon's weaker moves.", 4) .attr(MovePowerBoostAbAttr, (user, target, move) => move.power <= 60, 1.5),