Fixed Toxic damage only going up to 15/16 of total HP, minor code fixes

This commit is contained in:
Maruno17
2021-12-05 20:20:30 +00:00
parent 479aeacc2c
commit 3650a078e7
5 changed files with 11 additions and 22 deletions

View File

@@ -564,7 +564,7 @@ class Battle::Move::PledgeMove < Battle::Move
end
def pbEffectGeneral(user)
user.effects[PBEffects::FirstPledge] = 0
user.effects[PBEffects::FirstPledge] = nil
return if !@pledgeSetup
@battle.pbDisplay(_INTL("{1} is waiting for {2}'s move...",
user.pbThis,@pledgeOtherUser.pbThis(true)))