mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Merge 37c8979383 into 6765d8422d
This commit is contained in:
commit
268461a313
|
|
@ -297,6 +297,12 @@ export const Items: import('../sim/dex-items').ItemDataTable = {
|
|||
basePower: 80,
|
||||
type: "Ice",
|
||||
},
|
||||
onAfterSetStatusPriority: -1,
|
||||
onAfterSetStatus(status, pokemon) {
|
||||
if (status.id === 'frz') {
|
||||
pokemon.eatItem();
|
||||
}
|
||||
},
|
||||
onUpdate(pokemon) {
|
||||
if (pokemon.status === 'frz') {
|
||||
pokemon.eatItem();
|
||||
|
|
@ -841,6 +847,12 @@ export const Items: import('../sim/dex-items').ItemDataTable = {
|
|||
basePower: 80,
|
||||
type: "Fire",
|
||||
},
|
||||
onAfterSetStatusPriority: -1,
|
||||
onAfterSetStatus(status, pokemon) {
|
||||
if (status.id === 'par') {
|
||||
pokemon.eatItem();
|
||||
}
|
||||
},
|
||||
onUpdate(pokemon) {
|
||||
if (pokemon.status === 'par') {
|
||||
pokemon.eatItem();
|
||||
|
|
@ -882,6 +894,12 @@ export const Items: import('../sim/dex-items').ItemDataTable = {
|
|||
basePower: 80,
|
||||
type: "Water",
|
||||
},
|
||||
onAfterSetStatusPriority: -1,
|
||||
onAfterSetStatus(status, pokemon) {
|
||||
if (status.id === 'slp') {
|
||||
pokemon.eatItem();
|
||||
}
|
||||
},
|
||||
onUpdate(pokemon) {
|
||||
if (pokemon.status === 'slp') {
|
||||
pokemon.eatItem();
|
||||
|
|
@ -4497,6 +4515,12 @@ export const Items: import('../sim/dex-items').ItemDataTable = {
|
|||
basePower: 80,
|
||||
type: "Electric",
|
||||
},
|
||||
onAfterSetStatusPriority: -1,
|
||||
onAfterSetStatus(status, pokemon) {
|
||||
if (status.id === 'psn' || status.id === 'tox') {
|
||||
pokemon.eatItem();
|
||||
}
|
||||
},
|
||||
onUpdate(pokemon) {
|
||||
if (pokemon.status === 'psn' || pokemon.status === 'tox') {
|
||||
pokemon.eatItem();
|
||||
|
|
@ -5068,6 +5092,12 @@ export const Items: import('../sim/dex-items').ItemDataTable = {
|
|||
basePower: 80,
|
||||
type: "Grass",
|
||||
},
|
||||
onAfterSetStatusPriority: -1,
|
||||
onAfterSetStatus(status, pokemon) {
|
||||
if (status.id === 'brn') {
|
||||
pokemon.eatItem();
|
||||
}
|
||||
},
|
||||
onUpdate(pokemon) {
|
||||
if (pokemon.status === 'brn') {
|
||||
pokemon.eatItem();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user