From 2d0926d7f66cb4de09ac4d0d484ca0d6b833b541 Mon Sep 17 00:00:00 2001
From: Jesusaves <cpntb1@ymail.com>
Date: Sat, 22 Dec 2018 21:27:25 -0200
Subject: [skip ci] Pumpkandy bugfix (no effect)

---
 db/re/item_db.conf | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'db/re')

diff --git a/db/re/item_db.conf b/db/re/item_db.conf
index 6be4a987c..12604befd 100644
--- a/db/re/item_db.conf
+++ b/db/re/item_db.conf
@@ -2464,7 +2464,9 @@ item_db: (
 	Script: <"
 			if (!getmapxy(.@map$, .@x, .@y, 0)) {
 				monster(.@map$, .@x, .@y, l("Pumpkandy"), Pumpkandy, 1);
-				$TREE_PLANTED=$TREE_PLANTED+1;
+                if ($EVENT$ == "Halloween")
+    				monster(.@map$, .@x, .@y, l("Pumpkandy"), Pumpkandy, 1);
+				//$TREE_PLANTED=$TREE_PLANTED+1; // Not a tree.
 			}
 			">
 },
-- 
cgit v1.2.3-70-g09d2