Fix Magic Bounce and Magic Coat to bounce confusion-inducing moves

This commit is contained in:
Guangcong Luo 2012-02-13 10:43:50 -05:00
parent 59d5643e3a
commit f996d22e42
2 changed files with 2 additions and 2 deletions

View File

@ -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)
{

View File

@ -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)
{