summaryrefslogtreecommitdiff
path: root/world/map/npc/048-2/helperMReed.txt
diff options
context:
space:
mode:
authorWushin <pasekei@gmail.com>2015-05-18 15:51:07 -0500
committerWushin <pasekei@gmail.com>2015-05-18 15:51:07 -0500
commit8bc267dffaaa606baff35964c8ab46784e502e74 (patch)
tree83f8b87b02845b659537b0169b7978438dd69ae7 /world/map/npc/048-2/helperMReed.txt
parent67acaf80cbd638ab588be6190269424565e91e7a (diff)
parent2a30762a2304b1b9dceb4ca221aad7c84ce80fa4 (diff)
downloadserverdata-8bc267dffaaa606baff35964c8ab46784e502e74.tar.gz
serverdata-8bc267dffaaa606baff35964c8ab46784e502e74.tar.bz2
serverdata-8bc267dffaaa606baff35964c8ab46784e502e74.tar.xz
serverdata-8bc267dffaaa606baff35964c8ab46784e502e74.zip
Merge pull request #365 from mekolat/kaizei
Kaizei quests
Diffstat (limited to 'world/map/npc/048-2/helperMReed.txt')
-rw-r--r--world/map/npc/048-2/helperMReed.txt18
1 files changed, 7 insertions, 11 deletions
diff --git a/world/map/npc/048-2/helperMReed.txt b/world/map/npc/048-2/helperMReed.txt
index 50ac45c0..4cb2eaac 100644
--- a/world/map/npc/048-2/helperMReed.txt
+++ b/world/map/npc/048-2/helperMReed.txt
@@ -6,7 +6,6 @@
048-2,104,78,0|script|Kullervo|366
{
- set @investigate, ((QUEST_BlueSage & $@Q_BlueSageInvestigate_MASK) >> $@Q_BlueSageInvestigate_SHIFT);
set @reed_amount, 20;
set @reed_exp, 10000;
@@ -47,9 +46,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:
@@ -73,10 +72,9 @@ L_Visitor:
mes "\"Oh, yes. There was such a guy, shortly before the accident I think. He sneaked into the workshop several times, sticking his nose into stuff that shouldn't be his business. We had to send him back to the library area at least three times.\"";
next;
mes "\"Maybe he was confused, not sure. He talked very strangely.\"";
- if ((@investigate != 3) && (@investigate != 6) && (@investigate != 9))
+ if ((QL_BSAGE_INVESTIGATE != 3) && (QL_BSAGE_INVESTIGATE != 6) && (QL_BSAGE_INVESTIGATE != 9))
goto L_Close;
- set @investigate, @investigate + 1;
- callfunc "updateBlueSageInvestigate";
+ set QL_BSAGE_INVESTIGATE, QL_BSAGE_INVESTIGATE + 1;
goto L_Close;
L_Helper:
@@ -85,14 +83,12 @@ L_Helper:
mes "And in all these years, I've never seen him messing up anything important. He's a perfectionist. He isn't satisfied with anything less than the best possible result when doing his work.\"";
next;
mes "\"I don't understand what went wrong with that spell, but it just has to have another cause than Peetu. I'm worried about him. He must feel very miserable. But I can't leave my duty here.\"";
- 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 @reed_amount, 0;
set @reed_exp, 0;
close;