mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-31 01:35:20 +02:00
Leech seed (addHP) fix
Fixed addHP declaration in the EndRoundOpp subroutine
This commit is contained in:
parent
5266ae61db
commit
470834f38a
@ -4871,6 +4871,7 @@ endthisround:
|
||||
loseHP = currHP
|
||||
End If
|
||||
|
||||
Dim addHP As Integer = loseHP
|
||||
If Not .OwnPokemon.Item Is Nothing Then
|
||||
If .OwnPokemon.Item.Name.ToLower() = "big root" And .FieldEffects.CanUseItem(True) = True And .FieldEffects.CanUseOwnItem(True, BattleScreen) = True Then
|
||||
addHP += CInt(Math.Ceiling(addHP * (30 / 100)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user