mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 08:14:29 +02:00
Liquid Ooze now also affects Leech Seed
This commit is contained in:
parent
1e8c1bf9b8
commit
fef6b689ea
@ -5886,10 +5886,14 @@
|
|||||||
ReduceHP(loseHP, False, True, BattleScreen, .OppPokemon.GetDisplayName() & " lost HP due to Leech Seed!", "leechseed")
|
ReduceHP(loseHP, False, True, BattleScreen, .OppPokemon.GetDisplayName() & " lost HP due to Leech Seed!", "leechseed")
|
||||||
|
|
||||||
If .FieldEffects.OwnHealBlock = 0 Then
|
If .FieldEffects.OwnHealBlock = 0 Then
|
||||||
|
If .OppPokemon.Ability.Name.ToLower() = "liquid ooze" And BattleScreen.FieldEffects.CanUseAbility(False, BattleScreen) = True Then
|
||||||
|
BattleScreen.Battle.ReduceHP(addHP, True, True, BattleScreen, "Liquid Ooze damaged " & .OwnPokemon.GetDisplayName() & "!", "liquidooze")
|
||||||
|
Else
|
||||||
GainHP(addHP, True, True, BattleScreen, "", "leechseed")
|
GainHP(addHP, True, True, BattleScreen, "", "leechseed")
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
If .OwnPokemon.HP > 0 Then
|
If .OwnPokemon.HP > 0 Then
|
||||||
If .OwnPokemon.Ability.Name.ToLower() = "poison heal" Then
|
If .OwnPokemon.Ability.Name.ToLower() = "poison heal" Then
|
||||||
If .FieldEffects.OppHealBlock = 0 Then
|
If .FieldEffects.OppHealBlock = 0 Then
|
||||||
@ -6777,10 +6781,14 @@
|
|||||||
ReduceHP(loseHP, True, False, BattleScreen, .OwnPokemon.GetDisplayName() & " lost HP due to Leech Seed!", "leechseed")
|
ReduceHP(loseHP, True, False, BattleScreen, .OwnPokemon.GetDisplayName() & " lost HP due to Leech Seed!", "leechseed")
|
||||||
|
|
||||||
If .FieldEffects.OppHealBlock = 0 Then
|
If .FieldEffects.OppHealBlock = 0 Then
|
||||||
|
If .OwnPokemon.Ability.Name.ToLower() = "liquid ooze" And BattleScreen.FieldEffects.CanUseAbility(True, BattleScreen) = True Then
|
||||||
|
BattleScreen.Battle.ReduceHP(addHP, False, False, BattleScreen, "Liquid Ooze damaged " & .OppPokemon.GetDisplayName() & "!", "liquidooze")
|
||||||
|
Else
|
||||||
GainHP(addHP, False, False, BattleScreen, "", "leechseed")
|
GainHP(addHP, False, False, BattleScreen, "", "leechseed")
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
End If
|
||||||
If .OppPokemon.HP > 0 Then
|
If .OppPokemon.HP > 0 Then
|
||||||
If .OppPokemon.Ability.Name.ToLower() = "poison heal" Then
|
If .OppPokemon.Ability.Name.ToLower() = "poison heal" Then
|
||||||
If .FieldEffects.OwnHealBlock = 0 Then
|
If .FieldEffects.OwnHealBlock = 0 Then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user