diff options
author | gumi <git@gumi.ca> | 2019-07-28 22:37:03 -0400 |
---|---|---|
committer | gumi <git@gumi.ca> | 2019-07-28 23:23:57 -0400 |
commit | 2ef1fd30751136d66b336e888027e7365d3bc724 (patch) | |
tree | 6314b055edc6cc0f9bf010b3acad61649603ad9b /world/map/npc/006-1/pachua.txt | |
parent | 17744086c452e23bf1077acc3bdf806eb19751f4 (diff) | |
download | serverdata-2ef1fd30751136d66b336e888027e7365d3bc724.tar.gz serverdata-2ef1fd30751136d66b336e888027e7365d3bc724.tar.bz2 serverdata-2ef1fd30751136d66b336e888027e7365d3bc724.tar.xz serverdata-2ef1fd30751136d66b336e888027e7365d3bc724.zip |
fix miriam expiration
Diffstat (limited to 'world/map/npc/006-1/pachua.txt')
-rw-r--r-- | world/map/npc/006-1/pachua.txt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/world/map/npc/006-1/pachua.txt b/world/map/npc/006-1/pachua.txt index f0230a7a..16c12c5e 100644 --- a/world/map/npc/006-1/pachua.txt +++ b/world/map/npc/006-1/pachua.txt @@ -9,8 +9,8 @@ set @LEATHER_PATCH_PRICE, 300; set @wants_leather_patch, QUEST_Forestbow_state & NIBBLE_4_MASK; - if (QUEST_MIRIAM_cheat != 0) goto L_warp_cheat; - if (QUEST_MIRIAM_start != 0) goto L_smoke; + if (QUEST_MIRIAM_run == -1) goto L_warp_cheat; + if (QUEST_MIRIAM_run) goto L_smoke; goto L_Begin; L_Begin: @@ -229,13 +229,10 @@ L_TooMany: L_smoke: message strcharinfo(0), "Pachua quickly inhales from his pipe and releases a ring of smoke towards the sky!"; - set QUEST_MIRIAM_run, gettimetick(2) - QUEST_MIRIAM_start; - set QUEST_MIRIAM_start, 0; + callfunc "MiriamGoal"; end; L_warp_cheat: - if (@warp_cheat == 1) goto L_Begin; message strcharinfo(0), "Pachua releases a ring of smoke towards the sky! But, by the look on his face, you can tell he is suspicious about your methods..."; - set @warp_cheat, 1; end; } |