mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-23 22:05:36 +02:00
Fixed Life Orb / Sheer Force interaction
This commit is contained in:
parent
4141a0a63a
commit
709658d953
@ -1932,7 +1932,7 @@
|
|||||||
GainHP(CInt(AllDamage / 8), own, own, BattleScreen, p.GetDisplayName() & " gains some HP due to the Shell Bell.", "shellbell")
|
GainHP(CInt(AllDamage / 8), own, own, BattleScreen, p.GetDisplayName() & " gains some HP due to the Shell Bell.", "shellbell")
|
||||||
End If
|
End If
|
||||||
Case "life orb"
|
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")
|
ReduceHP(CInt(p.MaxHP / 10), own, own, BattleScreen, p.GetDisplayName() & " loses HP due to Life Orb.", "lifeorb")
|
||||||
End If
|
End If
|
||||||
End Select
|
End Select
|
||||||
|
Loading…
x
Reference in New Issue
Block a user