summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/helperMYetiClaw.txt
diff options
context:
space:
mode:
authormekolat <mekolat@users.noreply.github.com>2015-05-06 21:43:36 -0400
committermekolat <mekolat@users.noreply.github.com>2015-05-13 09:57:58 -0400
commit2605a9f17361f80304567f3a7cb5b9480f204221 (patch)
tree9028e2005b92999ccae846c535022498b586e513 /world/map/npc/048-2/helperMYetiClaw.txt
parent159116ab059fe579ac42f75eb1bb288d90c01a67 (diff)
downloadserverdata-2605a9f17361f80304567f3a7cb5b9480f204221.tar.gz
serverdata-2605a9f17361f80304567f3a7cb5b9480f204221.tar.bz2
serverdata-2605a9f17361f80304567f3a7cb5b9480f204221.tar.xz
serverdata-2605a9f17361f80304567f3a7cb5b9480f204221.zip
convert blue sage quest
Diffstat (limited to 'world/map/npc/048-2/helperMYetiClaw.txt')
-rw-r--r--world/map/npc/048-2/helperMYetiClaw.txt13
1 files changed, 5 insertions, 8 deletions
diff --git a/world/map/npc/048-2/helperMYetiClaw.txt b/world/map/npc/048-2/helperMYetiClaw.txt
index c32b0b1e..f23b7177 100644
--- a/world/map/npc/048-2/helperMYetiClaw.txt
+++ b/world/map/npc/048-2/helperMYetiClaw.txt
@@ -6,7 +6,6 @@
048-2,97,78,0|script|Santeri|366
{
- set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
set @claw_amount, 8;
set @claw_exp, 10000;
@@ -55,9 +54,9 @@ L_NoItem:
goto L_Close;
L_Investigate:
- if ((@investigate == 3) || (@investigate == 4)) goto L_Ask_Visitor;
- if ((@investigate == 5) || (@investigate == 8)) goto L_Ask_Helper;
- if ((@investigate == 6) || (@investigate == 7) || (@investigate == 9) || (@investigate == 10)) goto L_Ask_Both;
+ if ((QL_BSAGE_INVESTIGATE == 3) || (QL_BSAGE_INVESTIGATE == 4)) goto L_Ask_Visitor;
+ if ((QL_BSAGE_INVESTIGATE == 5) || (QL_BSAGE_INVESTIGATE == 8)) goto L_Ask_Helper;
+ if ((QL_BSAGE_INVESTIGATE == 6) || (QL_BSAGE_INVESTIGATE == 7) || (QL_BSAGE_INVESTIGATE == 9) || (QL_BSAGE_INVESTIGATE == 10)) goto L_Ask_Both;
goto L_Close;
L_Ask_Visitor:
@@ -86,14 +85,12 @@ L_Helper:
mes "\"Oh, that's an interesting question. I was really surprised when I heard that he was responsible for the sealing spell. I've worked together with him before, and I have to say, it really was a pleasure. He's very accurate and diligent, but also polite and helpful.\"";
next;
mes "\"I really wonder what went wrong with that sealing spell. I can't imagine Peetu messing up something so important.\"";
- if ((@investigate != 5) && (@investigate != 6) && (@investigate != 7))
+ if ((QL_BSAGE_INVESTIGATE != 5) && (QL_BSAGE_INVESTIGATE != 6) && (QL_BSAGE_INVESTIGATE != 7))
goto L_Close;
- set @investigate, @investigate + 3;
- callfunc "updateBlueSageInvestigate";
+ set QL_BSAGE_INVESTIGATE, QL_BSAGE_INVESTIGATE + 3;
goto L_Close;
L_Close:
- set @investigate, 0;
set @claw_amount, 0;
set @claw_exp, 0;
close;