mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-08-23 09:35:04 -05:00
Shared Power: Fix bug
This commit is contained in:
@@ -37,7 +37,7 @@ export const Scripts: ModdedBattleScriptsData = {
|
||||
(this.battle.gen >= 5 && !this.isActive) ||
|
||||
((this.volatiles['gastroacid'] ||
|
||||
(neutralizinggas && (this.ability !== ('neutralizinggas' as ID) ||
|
||||
this.m.abils?.some((k: string) => k === 'ability:neutralizinggas'))
|
||||
this.m.abils?.includes('ability:neutralizinggas'))
|
||||
)) && !this.getAbility().isPermanent
|
||||
)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user