summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2023-09-20 22:26:59 +0200
committerHoraK-FDF <horak-fdf@web.de>2023-09-20 22:26:59 +0200
commit19ea22a966e26fb39e7a2c395e5d2d62e32056c5 (patch)
treecc98d0455cf7710a0b15e7f93e9e34efaf42dbdd
parentbfb91bdaa3affbc6ba72c721782c96d3327f4e7d (diff)
downloadserverdata-19ea22a966e26fb39e7a2c395e5d2d62e32056c5.tar.gz
serverdata-19ea22a966e26fb39e7a2c395e5d2d62e32056c5.tar.bz2
serverdata-19ea22a966e26fb39e7a2c395e5d2d62e32056c5.tar.xz
serverdata-19ea22a966e26fb39e7a2c395e5d2d62e32056c5.zip
fluffy scope
-rw-r--r--world/map/npc/033-1/kimarr.txt11
1 files changed, 6 insertions, 5 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt
index bb8ff81c..11b34a21 100644
--- a/world/map/npc/033-1/kimarr.txt
+++ b/world/map/npc/033-1/kimarr.txt
@@ -42,6 +42,8 @@
set @state, ((QUEST_Barbarians & $@Q_Barbarians_MASK) >> $@Q_Barbarians_SHIFT);
+ set @event_lvl, 89;
+
if (@state >= 3) goto L_Again;
if (@state == 2) goto L_Reward;
if (@state == 1) goto L_Ask;
@@ -97,8 +99,7 @@ L_Ask:
goto L_WithoutEvent;
L_WithEvent:
- set .@event_lvl, 89;
- if (BaseLevel != .@event_lvl)
+ if (BaseLevel != @event_lvl)
goto L_WrongLevel;
mes "[Kimarr]";
mes "\"So, are you going to try?\"";
@@ -112,7 +113,7 @@ L_WithEvent:
L_WrongLevel:
mes "[Kimarr]";
- mes "For this event you must be level " + .@event_lvl + "!";
+ mes "For this event you must be level " + @event_lvl + "!";
mes "I can bring you to that level and give you all focus and magic skills, if you want.";
mes "But you must set your stats again and maybe talk to Luca in Tulimshar for focusing.";
goto L_SureGetInShape;
@@ -153,7 +154,7 @@ L_GiveAllAndReset:
set MAGIC_EXPERIENCE,
(MAGIC_EXPERIENCE & ~(@debug_mask))
| (@mexp << @debug_shift);
- set BaseLevel, .@event_lvl;
+ set BaseLevel, @event_lvl;
resetstatus;
goto L_Close;
@@ -220,7 +221,7 @@ L_Again:
goto L_AgainWithoutEvent;
L_AgainWithEvent:
- if (BaseLevel != 89)
+ if (BaseLevel != @event_lvl)
goto L_WrongLevel;
mes "[Kimarr]";
mes "\"Does the hunter " + strcharinfo(0) + " want to hunt some Fluffies again?\"";