Various bug fixes

This commit is contained in:
Maruno17
2021-10-20 13:53:39 +01:00
parent d3a07df6ab
commit 3a3b44574f
4 changed files with 6 additions and 27 deletions

View File

@@ -333,7 +333,7 @@ class PokeBattle_Move_AllBattlersLoseHalfHPUserSkipsNextTurn < PokeBattle_Move
def pbEffectGeneral(user)
@battle.eachBattler do |b|
next if b.hp==1
b.pbReduceHP(i.hp/2,false)
b.pbReduceHP(b.hp / 2, false)
end
@battle.pbDisplay(_INTL("Each Pokémon's HP was halved!"))
@battle.eachBattler { |b| b.pbItemHPHealCheck }