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/009-2 | |
parent | c2f9e626d98b929d81d2dc76ee1094885d801bb1 (diff) | |
download | serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.gz serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.bz2 serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.tar.xz serverdata-235709d0d10c632bef619df6f8d6ea27f5c190ac.zip |
Halloween 2011 Trick-or-Treating
Diffstat (limited to 'world/map/npc/009-2')
-rw-r--r-- | world/map/npc/009-2/kfahr.txt | 6 | ||||
-rw-r--r-- | world/map/npc/009-2/nurse.txt | 7 |
2 files changed, 13 insertions, 0 deletions
diff --git a/world/map/npc/009-2/kfahr.txt b/world/map/npc/009-2/kfahr.txt index b5d3abcf..daccd429 100644 --- a/world/map/npc/009-2/kfahr.txt +++ b/world/map/npc/009-2/kfahr.txt @@ -14,6 +14,9 @@ //################################################################################# 009-2.gat,67,57,0|script|Kfahr|125,{ + set @hw2011_npc_id, $@hw2011_npc_kfahr; + if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) + goto L_TrickOrTreat; set @QS_NEWBIE, 0; set @QS_MET_KFAHR, 1; @@ -1078,4 +1081,7 @@ L_end: L_Update_Var: set QUEST_Forestbow_state, (QUEST_Forestbow_state & ~(@Q_MASK) | (@Q_status << @Q_SHIFT)); return; + +L_TrickOrTreat: + callfunc "TrickOrTreat2011"; } diff --git a/world/map/npc/009-2/nurse.txt b/world/map/npc/009-2/nurse.txt index 5ee20905..e1095099 100644 --- a/world/map/npc/009-2/nurse.txt +++ b/world/map/npc/009-2/nurse.txt @@ -23,6 +23,10 @@ //###################################################################################### 009-2.gat,147,65,0|script|Nurse|119,{ + set @hw2011_npc_id, $@hw2011_npc_nurse; + if (gettime(7) == $@hw2011_year && gettime(6) == 10 && gettime(5) >= $@hw2011_start_day) + goto L_TrickOrTreat; + set @SNAKET_AMOUNT, 5; set @BSCORPIONST_AMOUNT, 10; // This quest can be done very often: so give less xp @@ -538,4 +542,7 @@ L_Game_toomuch: mes "[Nurse]"; mes "\"This would be way too much for my scale. I don't want to break it.\""; goto L_choosePut; + +L_TrickOrTreat: + callfunc "TrickOrTreat2011"; } |