mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-09 14:14:59 +00:00
Added class GameData::BattleWeather
This commit is contained in:
@@ -1394,25 +1394,25 @@ BattleHandlers::EVGainModifierItem.add(:POWERWEIGHT,
|
||||
|
||||
BattleHandlers::WeatherExtenderItem.add(:DAMPROCK,
|
||||
proc { |item,weather,duration,battler,battle|
|
||||
next 8 if weather==PBWeather::Rain
|
||||
next 8 if weather == :Rain
|
||||
}
|
||||
)
|
||||
|
||||
BattleHandlers::WeatherExtenderItem.add(:HEATROCK,
|
||||
proc { |item,weather,duration,battler,battle|
|
||||
next 8 if weather==PBWeather::Sun
|
||||
next 8 if weather == :Sun
|
||||
}
|
||||
)
|
||||
|
||||
BattleHandlers::WeatherExtenderItem.add(:ICYROCK,
|
||||
proc { |item,weather,duration,battler,battle|
|
||||
next 8 if weather==PBWeather::Hail
|
||||
next 8 if weather == :Hail
|
||||
}
|
||||
)
|
||||
|
||||
BattleHandlers::WeatherExtenderItem.add(:SMOOTHROCK,
|
||||
proc { |item,weather,duration,battler,battle|
|
||||
next 8 if weather==PBWeather::Sandstorm
|
||||
next 8 if weather == :Sandstorm
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user