diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-10-22 15:19:22 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-10-22 15:44:50 -0700 |
commit | dd92758fdbb472d98ea33ecbc85f951a3e9cf883 (patch) | |
tree | 8e61ec3162c33b247815856ea6f1ce972b275b80 /world/map/npc/021-1 | |
parent | c3f4578a4e08a364a3257fc4b49ccf309f9f128c (diff) | |
download | serverdata-dd92758fdbb472d98ea33ecbc85f951a3e9cf883.tar.gz serverdata-dd92758fdbb472d98ea33ecbc85f951a3e9cf883.tar.bz2 serverdata-dd92758fdbb472d98ea33ecbc85f951a3e9cf883.tar.xz serverdata-dd92758fdbb472d98ea33ecbc85f951a3e9cf883.zip |
Add missing trick-or-treat NPC and severely reduce the possibility of exploitationv2011.10.23
Diffstat (limited to 'world/map/npc/021-1')
-rw-r--r-- | world/map/npc/021-1/inac.txt | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/world/map/npc/021-1/inac.txt b/world/map/npc/021-1/inac.txt index 85580f4b..da537a20 100644 --- a/world/map/npc/021-1/inac.txt +++ b/world/map/npc/021-1/inac.txt @@ -1,6 +1,11 @@ // 021-1.gat,53,103,0|script|Inac|156,{ + set @hw2011_npc_id, $@hw2011_npc_inac; + if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) + goto L_TrickOrTreat; + +L_Begin: mes "[Inac]"; mes "\"This cities water system is amazing. It was built centuries ago after the cataclysm that turned Tonori into this desert.\""; next; @@ -10,4 +15,8 @@ mes "[Inac]"; mes "\"They also say monsters have moved into the underground tunnels that bring and distribute water.\""; close; + +L_TrickOrTreat: + callfunc "TrickOrTreat2011"; + goto L_Begin; } |