mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Fixed Beak Blast's burn affecting the wrong Pokémon
This commit is contained in:
@@ -54,8 +54,8 @@ class Battle::Battler
|
||||
if target.effects[PBEffects::BeakBlast]
|
||||
PBDebug.log("[Lingering effect] #{target.pbThis}'s Beak Blast")
|
||||
if move.pbContactMove?(user) && user.affectedByContactEffect? &&
|
||||
target.pbCanBurn?(user, false, self)
|
||||
target.pbBurn(user)
|
||||
user.pbCanBurn?(target, false, self)
|
||||
user.pbBurn(target)
|
||||
end
|
||||
end
|
||||
# Shell Trap (make the trapper move next if the trap was triggered)
|
||||
|
||||
Reference in New Issue
Block a user