Fixed Life Orb Condition

This commit is contained in:
Capt_Segis 2016-09-14 08:53:50 -05:00 committed by GitHub
parent 0d11a5e40d
commit 1b9b8cee91
1 changed files with 1 additions and 1 deletions

View File

@ -1857,7 +1857,7 @@ EndSleepCheck:
GainHP(CInt(AllDamage / 8), own, own, BattleScreen, p.GetDisplayName() & " gains some HP due to the Shell Bell.", "shellbell")
End If
Case "life orb"
If p.Ability.Name.ToLower() = "magic guard" Then
If p.Ability.Name.ToLower() <> "magic guard" Then
ReduceHP(CInt(p.MaxHP / 10), own, own, BattleScreen, p.GetDisplayName() & " loses HP due to Life Orb.", "lifeorb")
End If
End Select