summaryrefslogtreecommitdiff
path: root/npc/022-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-02 12:31:18 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-02 12:31:18 -0200
commit60e35fda06257a67d260a2b237fcb4d11a250980 (patch)
tree09f95f87b3a598a43ded9a91cdf72a561b903c0e /npc/022-1
parent978c2be988c21e8107603ac3aff298a06f5fad42 (diff)
downloadserverdata-60e35fda06257a67d260a2b237fcb4d11a250980.tar.gz
serverdata-60e35fda06257a67d260a2b237fcb4d11a250980.tar.bz2
serverdata-60e35fda06257a67d260a2b237fcb4d11a250980.tar.xz
serverdata-60e35fda06257a67d260a2b237fcb4d11a250980.zip
Fix bugs %%e
Diffstat (limited to 'npc/022-1')
-rw-r--r--npc/022-1/gift_collector.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/npc/022-1/gift_collector.txt b/npc/022-1/gift_collector.txt
index 6b52b303f..dc3f38e46 100644
--- a/npc/022-1/gift_collector.txt
+++ b/npc/022-1/gift_collector.txt
@@ -13,12 +13,10 @@
022-1,65,53,0 script Gift Fanatic NPC_GNOME_C,{
// Start Event for the first time
- if (gettime(GETTIME_MONTH) != JANUARY && getq(SQuest_XmasCollector) < gettime(GETTIME_YEAR)) {
- npctalk3 l("Bug, please report: Merry Christmas I am undefined");
+ if (gettime(GETTIME_MONTH) != JANUARY && getq3(SQuest_XmasCollector) < gettime(GETTIME_YEAR)) {
setq SQuest_XmasCollector, 1, 0, gettime(GETTIME_YEAR);
}
- if (gettime(GETTIME_MONTH) == JANUARY && getq(SQuest_XmasCollector) != gettime(GETTIME_YEAR)-1) {
- npctalk3 l("Bug, please report: Merry Christmas, I am @@. I got @@/@@ on exams last week!", getq(SQuest_XmasCollector), getq2(SQuest_XmasCollector), getq3(SQuest_XmasCollector));
+ if (gettime(GETTIME_MONTH) == JANUARY && getq3(SQuest_XmasCollector) != gettime(GETTIME_YEAR)-1) {
setq SQuest_XmasCollector, 1, 0, gettime(GETTIME_YEAR)-1;
}
// Main Loop