From 82bd112baa23a02476c302e8d2b520d09e76b22c Mon Sep 17 00:00:00 2001 From: Slayer95 Date: Mon, 14 Jul 2014 22:24:40 -0500 Subject: [PATCH] Fix Trick-or-Treat/Forest's Curse giving away foe's Illusion --- data/moves.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/moves.js b/data/moves.js index 02ef058bfc..17afa932b8 100644 --- a/data/moves.js +++ b/data/moves.js @@ -4613,7 +4613,7 @@ exports.BattleMovedex = { onHit: function (target) { if (target.hasType('Grass')) return false; if (!target.addType('Grass')) return false; - this.add('-start', target, 'typechange', target.getTypes(true).join('/'), '[from] move: Forest\'s Curse'); + this.add('-start', target, 'typeadd', 'Grass', '[from] move: Forest\'s Curse'); }, secondary: false, target: "normal", @@ -14141,7 +14141,7 @@ exports.BattleMovedex = { onHit: function (target) { if (target.hasType('Ghost')) return false; if (!target.addType('Ghost')) return false; - this.add('-start', target, 'typechange', target.getTypes(true).join('/'), '[from] move: Trick-or-Treat'); + this.add('-start', target, 'typeadd', 'Ghost', '[from] move: Trick-or-Treat'); }, secondary: false, target: "normal",