From bc2ec28b4cead3de5f0eb933e4e003f5343a470c Mon Sep 17 00:00:00 2001 From: Capt_Segis Date: Wed, 14 Sep 2016 05:27:23 -0500 Subject: [PATCH] WeatherBall Power Temporary Fix It did not use to get the x1.5 boost in rain or sun --- 2.5DHero/2.5DHero/Pokemon/Attacks/Normal/WeatherBall.vb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/2.5DHero/2.5DHero/Pokemon/Attacks/Normal/WeatherBall.vb b/2.5DHero/2.5DHero/Pokemon/Attacks/Normal/WeatherBall.vb index 1cc490a01..9357c0c41 100644 --- a/2.5DHero/2.5DHero/Pokemon/Attacks/Normal/WeatherBall.vb +++ b/2.5DHero/2.5DHero/Pokemon/Attacks/Normal/WeatherBall.vb @@ -71,9 +71,12 @@ Namespace BattleSystem.Moves.Normal Return Me.Type End Function + 'Temporary Public Overrides Function GetBasePower(own As Boolean, BattleScreen As BattleScreen) As Integer - If BattleScreen.FieldEffects.Weather = BattleWeather.WeatherTypes.Sunny Or BattleScreen.FieldEffects.Weather = BattleWeather.WeatherTypes.Rain Or BattleScreen.FieldEffects.Weather = BattleWeather.WeatherTypes.Sandstorm Or BattleScreen.FieldEffects.Weather = BattleWeather.WeatherTypes.Hailstorm Then + If BattleScreen.FieldEffects.Weather = BattleWeather.WeatherTypes.Sandstorm Or BattleScreen.FieldEffects.Weather = BattleWeather.WeatherTypes.Hailstorm Then Return CInt(Me.Power * 2) + Else If BattleScreen.FieldEffects.Weather = BattleWeather.WeatherTypes.Sunny Or BattleScreen.FieldEffects.Weather = BattleWeather.WeatherTypes.Rain Then + Return CInt(Me.Power * 3) Else Return Me.Power End If @@ -81,4 +84,4 @@ Namespace BattleSystem.Moves.Normal End Class -End Namespace \ No newline at end of file +End Namespace