mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-08 08:02:19 -05:00
Use -ability for Cloud Nine and Air Lock messages
This commit is contained in:
parent
8004a1d25a
commit
1abb45cd18
|
|
@ -90,7 +90,7 @@ exports.BattleAbilities = {
|
|||
desc: "While this Pokemon is active, all weather conditions and their effects are disabled.",
|
||||
shortDesc: "While this Pokemon is active, all weather conditions and their effects are disabled.",
|
||||
onStart: function (pokemon) {
|
||||
this.add('-message', 'The effects of weather disappeared. (placeholder)');
|
||||
this.add('-ability', pokemon, 'Air Lock');
|
||||
},
|
||||
onAnyModifyPokemon: function (pokemon) {
|
||||
pokemon.ignore['WeatherTarget'] = true;
|
||||
|
|
@ -327,7 +327,7 @@ exports.BattleAbilities = {
|
|||
desc: "While this Pokemon is active, all weather conditions and their effects are disabled.",
|
||||
shortDesc: "While this Pokemon is active, all weather conditions and their effects are disabled.",
|
||||
onStart: function (pokemon) {
|
||||
this.add('-message', 'The effects of weather disappeared. (placeholder)');
|
||||
this.add('-ability', pokemon, 'Cloud Nine');
|
||||
},
|
||||
onAnyModifyPokemon: function (pokemon) {
|
||||
pokemon.ignore['WeatherTarget'] = true;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user