From 2ef1fd30751136d66b336e888027e7365d3bc724 Mon Sep 17 00:00:00 2001 From: gumi Date: Sun, 28 Jul 2019 22:37:03 -0400 Subject: fix miriam expiration --- world/map/npc/006-1/pachua.txt | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'world/map/npc/006-1/pachua.txt') 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; } -- cgit v1.2.3-70-g09d2