From 192107fc11958be249b48b607b50e7a53110ec3c Mon Sep 17 00:00:00 2001 From: Marty-D Date: Sun, 14 Oct 2012 22:53:47 -0300 Subject: [PATCH] Fix Mist's interaction with Moody. - thanks bmelts! --- data/moves.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/moves.js b/data/moves.js index 8f3c01ac2f..0e7921574f 100644 --- a/data/moves.js +++ b/data/moves.js @@ -7322,7 +7322,7 @@ exports.BattleMovedex = { effect: { duration: 5, onBoost: function(boost, target, source) { - if (source && target === source) return; + if (!source || target === source) return; for (var i in boost) { if (boost[i] < 0) { delete boost[i];