mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-25 23:05:24 +02:00
Shore Up doesnt get worse in other weather only better in sand
This commit is contained in:
parent
9e0407d48d
commit
f103145780
@ -65,10 +65,8 @@
|
|||||||
Select Case BattleScreen.FieldEffects.Weather
|
Select Case BattleScreen.FieldEffects.Weather
|
||||||
Case BattleWeather.WeatherTypes.Sandstorm
|
Case BattleWeather.WeatherTypes.Sandstorm
|
||||||
restoreHP = CInt(Math.Ceiling((2 / 3) * p.MaxHP))
|
restoreHP = CInt(Math.Ceiling((2 / 3) * p.MaxHP))
|
||||||
Case BattleWeather.WeatherTypes.Clear
|
|
||||||
restoreHP = CInt(Math.Ceiling((1 / 2) * p.MaxHP))
|
|
||||||
Case Else
|
Case Else
|
||||||
restoreHP = CInt(Math.Ceiling((1 / 4) * p.MaxHP))
|
restoreHP = CInt(Math.Ceiling((1 / 2) * p.MaxHP))
|
||||||
End Select
|
End Select
|
||||||
|
|
||||||
If p.HP < p.MaxHP And p.HP > 0 Then
|
If p.HP < p.MaxHP And p.HP > 0 Then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user