From 470834f38a42c7f9c1cfa8080d437cc841513b41 Mon Sep 17 00:00:00 2001 From: Capt_Segis Date: Mon, 12 Sep 2016 18:01:53 -0500 Subject: [PATCH] Leech seed (addHP) fix Fixed addHP declaration in the EndRoundOpp subroutine --- 2.5DHero/2.5DHero/Battle/BattleSystemV2/Battle.vb | 1 + 1 file changed, 1 insertion(+) diff --git a/2.5DHero/2.5DHero/Battle/BattleSystemV2/Battle.vb b/2.5DHero/2.5DHero/Battle/BattleSystemV2/Battle.vb index ed6fe5d92..5d0b87e41 100644 --- a/2.5DHero/2.5DHero/Battle/BattleSystemV2/Battle.vb +++ b/2.5DHero/2.5DHero/Battle/BattleSystemV2/Battle.vb @@ -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)))