From 9c487c7e106113614ffe5dfe913f96a92cf9817a Mon Sep 17 00:00:00 2001 From: Kaan Soral Date: Sat, 15 Dec 2018 02:57:18 +0300 Subject: [PATCH] Update happy_holidays.js --- examples/happy_holidays.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/happy_holidays.js b/examples/happy_holidays.js index b543dcc..a73ef45 100644 --- a/examples/happy_holidays.js +++ b/examples/happy_holidays.js @@ -3,7 +3,7 @@ var attack_mode=true function happy_holidays() { if(!G.maps.main.xmas_tree) return; // If this happens, the event is over - if(character.s.xmas) return; // If you already have the buff, no need to get re-buffed + if(character.s.xmas2) return; // If you already have the buff, no need to get re-buffed G.maps.main.xmas_tree.return=true; // If first argument of "smart_move" includes "return" // You are placed back to your original point