summaryrefslogtreecommitdiff
path: root/npc/012-2
diff options
context:
space:
mode:
Diffstat (limited to 'npc/012-2')
-rw-r--r--npc/012-2/rakinorf.txt10
1 files changed, 8 insertions, 2 deletions
diff --git a/npc/012-2/rakinorf.txt b/npc/012-2/rakinorf.txt
index c078a853b..21f34a2b5 100644
--- a/npc/012-2/rakinorf.txt
+++ b/npc/012-2/rakinorf.txt
@@ -30,6 +30,9 @@
close;
L_Menu:
+ if (!(.@q & .questID))
+ close;
+
mesq l("I will reward you for 7 @@.", getitemlink(.itemID));
mes "";
menu
@@ -38,9 +41,12 @@ L_Menu:
l("No, thanks."),L_Close;
L_Finish:
- delitem .itemID, 7;
- getitem StrangeCoin, rand(2,4);
.@q=getq(SQuest_Sponsor);
+ if (!(.@q & .questID))
+ close;
+
+ delitem .itemID, 7;
+ getitem StrangeCoin, rand2(2,4);
setq1 SQuest_Sponsor, .@q | .questID;
mes "";
mesn;