mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-09 04:23:45 -05:00
Fix the rest of the Air Lock interaction bugs
Specifically, Sandstorm's SpD boost and Weather Ball's power/type.
This commit is contained in:
parent
1bc5f3749e
commit
0ef3daa0f1
|
|
@ -13076,7 +13076,7 @@ exports.BattleMovedex = {
|
|||
pp: 10,
|
||||
priority: 0,
|
||||
onModifyMove: function(move) {
|
||||
switch (this.weather) {
|
||||
switch (this.effectiveWeather()) {
|
||||
case 'sunnyday':
|
||||
move.type = 'Fire';
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -409,7 +409,7 @@ exports.BattleStatuses = {
|
|||
return 5;
|
||||
},
|
||||
onModifySpD: function(spd, pokemon) {
|
||||
if (pokemon.hasType('Rock')) {
|
||||
if (pokemon.hasType('Rock') && this.isWeather('sandstorm')) {
|
||||
return spd * 3/2;
|
||||
}
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user