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)
This commit is contained in:
damocleas 2024-04-20 20:41:31 -06:00 committed by GitHub
parent 17eddd7b02
commit 3ea6873ee8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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),