From 19ea22a966e26fb39e7a2c395e5d2d62e32056c5 Mon Sep 17 00:00:00 2001 From: HoraK-FDF Date: Wed, 20 Sep 2023 22:26:59 +0200 Subject: fluffy scope --- world/map/npc/033-1/kimarr.txt | 11 ++++++----- 1 file 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?\""; -- cgit v1.2.3-60-g2f50