mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-09-30 21:29:19 -05:00
Always allow canceling a switch with Shed Shell (#11365)
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
Some checks are pending
Node.js CI / build (18.x) (push) Waiting to run
This commit is contained in:
@@ -5242,7 +5242,11 @@ export const Items: import('../sim/dex-items').ItemDataTable = {
|
||||
},
|
||||
onTrapPokemonPriority: -10,
|
||||
onTrapPokemon(pokemon) {
|
||||
pokemon.trapped = pokemon.maybeTrapped = false;
|
||||
pokemon.trapped = false;
|
||||
},
|
||||
onMaybeTrapPokemonPriority: -10,
|
||||
onMaybeTrapPokemon(pokemon) {
|
||||
pokemon.maybeTrapped = false;
|
||||
},
|
||||
num: 295,
|
||||
gen: 4,
|
||||
|
||||
@@ -459,6 +459,7 @@ export interface EventMethods {
|
||||
onFractionalPriorityPriority?: number;
|
||||
onHitPriority?: number;
|
||||
onInvulnerabilityPriority?: number;
|
||||
onMaybeTrapPokemonPriority?: number;
|
||||
onModifyAccuracyPriority?: number;
|
||||
onModifyAtkPriority?: number;
|
||||
onModifyCritRatioPriority?: number;
|
||||
|
||||
Reference in New Issue
Block a user