mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 23:42:18 +02:00
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:
parent
17eddd7b02
commit
3ea6873ee8
@ -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.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)
|
new Ability(Abilities.MAGIC_GUARD, "Magic Guard", "The Pokémon only takes damage from attacks.", 4)
|
||||||
.attr(BlockNonDirectDamageAbAttr),
|
.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.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)
|
new Ability(Abilities.TECHNICIAN, "Technician", "Powers up the Pokémon's weaker moves.", 4)
|
||||||
.attr(MovePowerBoostAbAttr, (user, target, move) => move.power <= 60, 1.5),
|
.attr(MovePowerBoostAbAttr, (user, target, move) => move.power <= 60, 1.5),
|
||||||
|
Loading…
Reference in New Issue
Block a user