diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2011-09-26 22:07:59 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2011-10-18 21:47:21 -0700 |
commit | 235709d0d10c632bef619df6f8d6ea27f5c190ac (patch) | |
tree | 1e9026e23cba5bbc79d3660e9e46ba3dc57c1990 /world/map/npc/021-2 | |
parent | c2f9e626d98b929d81d2dc76ee1094885d801bb1 (diff) | |
download | classic-serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.gz classic-serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.bz2 classic-serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.xz classic-serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.zip |
Halloween 2011 Trick-or-Treating
Diffstat (limited to 'world/map/npc/021-2')
-rw-r--r-- | world/map/npc/021-2/government_building.txt | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/world/map/npc/021-2/government_building.txt b/world/map/npc/021-2/government_building.txt index 48ea528f..5935d06e 100644 --- a/world/map/npc/021-2/government_building.txt +++ b/world/map/npc/021-2/government_building.txt @@ -139,6 +139,10 @@ S_give_rings: } 021-2.gat,36,17,0|script|Tathin|107,{ + set @hw2011_npc_id, $@hw2011_npc_tathin; + if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) + goto L_TrickOrTreat; + set @PARTY_SKILL, 3; mes "[Tathin]"; @@ -215,6 +219,9 @@ L_NotEnoughMoney: mes "[Tathin]"; mes "\"You don't have enough GP\""; close; + +L_TrickOrTreat: + callfunc "TrickOrTreat2011"; } // Guard |