diff options
author | wushin <pasekei@gmail.com> | 2014-10-27 14:25:49 -0500 |
---|---|---|
committer | wushin <pasekei@gmail.com> | 2014-10-27 14:43:28 -0500 |
commit | 2749e3987af5685988a0119f15f6f476319b5561 (patch) | |
tree | 1af6f0d54e2d360c242f2421e9a5caec775a96f3 /world/map/npc/013-2/wizard.txt | |
parent | 0bc1c20799c9b01e60035ce1c82fd8a38c110c4c (diff) | |
download | serverdata-2749e3987af5685988a0119f15f6f476319b5561.tar.gz serverdata-2749e3987af5685988a0119f15f6f476319b5561.tar.bz2 serverdata-2749e3987af5685988a0119f15f6f476319b5561.tar.xz serverdata-2749e3987af5685988a0119f15f6f476319b5561.zip |
Extension to Kylian Quest Line
Daily Delivery
Diffstat (limited to 'world/map/npc/013-2/wizard.txt')
-rw-r--r-- | world/map/npc/013-2/wizard.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/world/map/npc/013-2/wizard.txt b/world/map/npc/013-2/wizard.txt index 73ca06ef..b6a60661 100644 --- a/world/map/npc/013-2/wizard.txt +++ b/world/map/npc/013-2/wizard.txt @@ -3,6 +3,24 @@ set @has_magic, getskilllv(SKILL_MAGIC); set MAGIC_FLAGS, MAGIC_FLAGS | MFLAG_KNOWS_OLD_WIZARD; + set @run, ((QUEST_NorthTulimshar & TWOBIT_8_MASK) >> TWOBIT_8_SHIFT); + set @state, ((QUEST_NorthTulimshar & NIBBLE_5_MASK) >> NIBBLE_5_SHIFT); + if ((@run == 2) && (@state == 13)) + goto L_Deliver; + goto L_Start; + +L_Deliver: + menu + "I have a delivery for you", L_Delivery; + +L_Delivery: + mes "[Old Wizard]"; + mes "\"Good now I can get to work on some stronger brew..\""; + set @state, 14; + callfunc "SetKylianQuest"; + goto L_Close; + +L_Start: mes "[Old Wizard]"; mes "\"Welcome, dear wanderer! Come into my humble home. Take a rest, eat and drink.\""; next; |