Deprecated three move flags as they should depend on move effects instead

This commit is contained in:
Maruno17
2021-07-01 21:06:24 +01:00
parent bc7f469308
commit 93b67c9047
10 changed files with 171 additions and 33 deletions

View File

@@ -397,7 +397,7 @@ class PokeBattle_Battler
end
end
# Magic Coat/Magic Bounce checks (for moves which don't target Pokémon)
if targets.length==0 && move.canMagicCoat?
if targets.length==0 && move.statusMove? && move.canMagicCoat?
@battle.pbPriority(true).each do |b|
next if b.fainted? || !b.opposes?(user)
next if b.semiInvulnerable?