Fixed Life Orb / Sheer Force interaction

This commit is contained in:
CaptainSegis 2016-10-18 00:40:32 -05:00
parent 4141a0a63a
commit 709658d953
1 changed files with 1 additions and 1 deletions

View File

@ -1932,7 +1932,7 @@
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" AndAlso p.Ability.Name.ToLower() <> "sheer force" Then
ReduceHP(CInt(p.MaxHP / 10), own, own, BattleScreen, p.GetDisplayName() & " loses HP due to Life Orb.", "lifeorb")
End If
End Select