summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-10-04 08:50:16 -0300
committerJesusaves <cpntb1@ymail.com>2018-10-04 08:50:16 -0300
commit8c10680afd28815935cef39940e5aa0f9de437a3 (patch)
treed6d213da51fd772cae5ed9343f540d73edf0d3a8
parent3d57960e1e07c427f20d53a7e9c5cfbc4259e1cc (diff)
downloadserverdata-8c10680afd28815935cef39940e5aa0f9de437a3.tar.gz
serverdata-8c10680afd28815935cef39940e5aa0f9de437a3.tar.bz2
serverdata-8c10680afd28815935cef39940e5aa0f9de437a3.tar.xz
serverdata-8c10680afd28815935cef39940e5aa0f9de437a3.zip
Okay, got time for some basic debug. Ched has been fixed.
-rw-r--r--npc/003-1/ched.txt2
-rw-r--r--npc/functions/seasons.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/003-1/ched.txt b/npc/003-1/ched.txt
index 7d3f0509f..b82325dc3 100644
--- a/npc/003-1/ched.txt
+++ b/npc/003-1/ched.txt
@@ -118,7 +118,7 @@ L_Autumn:
}
// Give you the due boia
- if (strcharinfo(0) == $@AUTUMN_VICTOR && @ched > 1000)
+ if (strcharinfo(0) == $@AUTUMN_VICTOR$ && @ched > 1000)
getitem MasterBola, 1;
else if (@ched >= 1000)
getitem PiouBola, 1;
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index 265cf315d..5f7e02e25 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -149,7 +149,7 @@ OnSummerEnd:
OnAutumnStart:
// Ched's Quest Winner
.@nb = query_sql("SELECT c.name FROM `quest` AS i, `char` AS c WHERE i.quest_id=305 AND i.char_id=c.char_id ORDER BY i.count2 DESC LIMIT 1", .@name$);
- $@AUTUMN_VICTOR=.@name$[0];
+ $@AUTUMN_VICTOR$=.@name$[0];
// Fancy trees
addmapmask "012-1", MASK_AUTUMN;