mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-06-02 22:08:36 -05:00
Fix Magic Bounce and Magic Coat to bounce confusion-inducing moves
This commit is contained in:
parent
59d5643e3a
commit
f996d22e42
|
|
@ -1007,7 +1007,7 @@ exports.BattleAbilities = {
|
|||
if (target === source) return;
|
||||
if (typeof move.isBounceable === 'undefined')
|
||||
{
|
||||
move.isBounceable = !!(move.status || move.forceSwitch);
|
||||
move.isBounceable = !!(move.status || move.volatileStatus === 'confusion' || move.forceSwitch);
|
||||
}
|
||||
if (move.target !== 'foeSide' && target !== this.effectData.target)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -5869,7 +5869,7 @@ exports.BattleMovedex = {
|
|||
if (target === source) return;
|
||||
if (typeof move.isBounceable === 'undefined')
|
||||
{
|
||||
move.isBounceable = !!(move.status || move.forceSwitch);
|
||||
move.isBounceable = !!(move.status || move.volatileStatus === 'confusion' || move.forceSwitch);
|
||||
}
|
||||
if (move.target !== 'foeSide' && target !== this.effectData.target)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user