mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Fix Flower Gift, Forecast and White Herb priorities
This commit is contained in:
parent
6c7bc646a7
commit
1362478bb9
|
|
@ -154,7 +154,7 @@ export const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTa
|
|||
},
|
||||
flowergift: {
|
||||
inherit: true,
|
||||
onSwitchInPriority: 1,
|
||||
onSwitchInPriority: 2,
|
||||
onAllyModifyAtk(atk) {
|
||||
if (this.field.isWeather('sunnyday')) {
|
||||
return this.chainModify(1.5);
|
||||
|
|
@ -169,7 +169,7 @@ export const Abilities: import('../../../sim/dex-abilities').ModdedAbilityDataTa
|
|||
},
|
||||
forecast: {
|
||||
inherit: true,
|
||||
onSwitchInPriority: 1,
|
||||
onSwitchInPriority: 2,
|
||||
flags: { notrace: 1 },
|
||||
},
|
||||
forewarn: {
|
||||
|
|
|
|||
|
|
@ -424,6 +424,10 @@ export const Items: import('../../../sim/dex-items').ModdedItemDataTable = {
|
|||
inherit: true,
|
||||
onTakeItem: true,
|
||||
},
|
||||
whiteherb: {
|
||||
inherit: true,
|
||||
onAnySwitchInPriority: undefined, // no inherit
|
||||
},
|
||||
widelens: {
|
||||
inherit: true,
|
||||
onSourceModifyAccuracyPriority: 4,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user