summaryrefslogtreecommitdiff
path: root/world/map/npc/033-1/kimarr.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/033-1/kimarr.txt')
-rw-r--r--world/map/npc/033-1/kimarr.txt64
1 files changed, 58 insertions, 6 deletions
diff --git a/world/map/npc/033-1/kimarr.txt b/world/map/npc/033-1/kimarr.txt
index 8a16ab93..558f8990 100644
--- a/world/map/npc/033-1/kimarr.txt
+++ b/world/map/npc/033-1/kimarr.txt
@@ -97,6 +97,8 @@ L_Ask:
goto L_WithoutEvent;
L_WithEvent:
+ if (BaseLevel != 99)
+ goto L_WrongLevel;
mes "[Kimarr]";
mes "\"So, are you going to try?\"";
menu
@@ -104,8 +106,55 @@ L_WithEvent:
"Could you explain again?",L_ExplainGame,
"Can you tell me who were the most successful Fluffy hunters?",L_ShowRecord,
"On the event, who were the most successful Fluffy hunters?",L_CRC_ShowRecord,
+ "Can you bring me in shape for this event?",L_BringInShape,
"Maybe later.",L_Close;
+L_WrongLevel:
+ mes "[Kimarr]";
+ mes "For this event you must be level 99!";
+ mes "I can bring you on that level and give you all focus and magic skills if you want?";
+ goto L_SureBringInShape;
+
+L_BringInShape:
+ mes "[Kimarr]";
+ mes "I can give you all focus and magic skills if you want?";
+ goto L_SureBringInShape;
+
+L_SureBringInShape:
+ mes "But you must set your stats again and maybe focus somewhere.";
+ mes "Are you sure?";
+ menu
+ "Yes, do it!",L_GiveAllAndReset,
+ "No.",L_Close;
+
+L_GiveAllAndReset:
+ set @debug_mask, 65535;
+ set @debug_shift, 0;
+ setskill SKILL_EMOTE, 1;
+ setskill SKILL_TRADE, 1;
+ setskill SKILL_PARTY, 2;
+ setskill SKILL_POOL, 1;
+ setskill SKILL_MALLARDS_EYE, 9;
+ setskill SKILL_BRAWLING, 9;
+ setskill SKILL_SPEED, 9;
+ setskill SKILL_RESIST_POISON, 9;
+ setskill SKILL_ASTRAL_SOUL, 9;
+ setskill SKILL_RAGING, 9;
+ setskill SKILL_MAGIC, 2;
+ setskill SKILL_MAGIC_LIFE, 2;
+ setskill SKILL_MAGIC_WAR, 2;
+ setskill SKILL_MAGIC_TRANSMUTE, 2;
+ setskill SKILL_MAGIC_NATURE, 2;
+ setskill SKILL_MAGIC_ASTRAL, 2;
+ setskill SKILL_MAGIC_DARK, 2;
+ set MAGIC_EXPERIENCE,
+ (MAGIC_EXPERIENCE & ~(@debug_mask))
+ | (@mexp << @debug_shift);
+ resetstatus;
+ set BaseLevel, 99;
+
+ goto L_Close;
+
L_WithoutEvent:
mes "[Kimarr]";
mes "\"So, are you going to try?\"";
@@ -168,12 +217,15 @@ L_Again:
goto L_AgainWithoutEvent;
L_AgainWithEvent:
+ if (BaseLevel != 99)
+ goto L_WrongLevel;
mes "[Kimarr]";
mes "\"Does the hunter " + strcharinfo(0) + " want to hunt some Fluffies again?\"";
menu
"Yeah!",L_Game,
"Can you tell me who were the most successful Fluffy hunters?",L_ShowRecord,
"On the event, who were the most successful Fluffy hunters?",L_CRC_ShowRecord,
+ "Can you bring me in shape for this event?",L_SureBringInShape,
"Not now.",L_Close;
L_AgainWithoutEvent:
@@ -297,11 +349,11 @@ L_SpawnFluffies:
areamonster "033-1", 79, 29, 88, 42, "", 1089, $@Fluffy_Spawn, "Kimarr::OnFluffyDeath";
set $@Fluffy_Extra, 5 * @Fluffy_XmasCake + 3 * @Fluffy_Cake + 12 * ($@Fluffy_Alive + $@Fluffy_Spawn) + 7 * BaseLevel;
- if ((BaseLevel > 40) && (rand($@Fluffy_Extra) > 500)) // Ice Goblin
+ if ((BaseLevel > 40) && (rand($@Fluffy_Extra) > 500) && ($@KIMARR_EVENT < 1)) // Ice Goblin
areamonster "033-1", 79, 29, 88, 42, "", 1058, 1, "Kimarr::OnIceGoblinDeath";
- if ((BaseLevel > 60) && (rand($@Fluffy_Extra) > 550)) // Wolvern
+ if ((BaseLevel > 60) && (rand($@Fluffy_Extra) > 550) && ($@KIMARR_EVENT < 1)) // Wolvern
areamonster "033-1", 79, 29, 88, 42, "", 1090, 1, "Kimarr::OnWolvernDeath";
- if ((BaseLevel > 70) && (rand($@Fluffy_Extra) > 600)) // Yeti
+ if ((BaseLevel > 70) && (rand($@Fluffy_Extra) > 600) && ($@KIMARR_EVENT < 1)) // Yeti
areamonster "033-1", 79, 29, 88, 42, "", 1072, 1, "Kimarr::OnYetiDeath";
set $@Fluffy_Extra, 0;
@@ -477,7 +529,7 @@ L_CRC_MaybeInsertNext:
if (strcharinfo(0) == $Record_CRC_Fluffy_Name$[@rank])
goto L_CRC_MaybeRecordScore;
set @rank, @rank + 1;
- if (@rank == MAX_HIGH_SCORES)
+ if (@rank == MAX_HIGH_SCORES_CRC)
goto L_CRC_MaybeRecordScore;
goto L_CRC_MaybeInsertNext;
@@ -492,7 +544,7 @@ L_CRC_FindLastScore:
goto L_CRC_MoveStuff;
set @loop, @loop + 1;
- if (@loop == MAX_HIGH_SCORES)
+ if (@loop == MAX_HIGH_SCORES_CRC)
goto L_CRC_MoveStuff;
goto L_CRC_FindLastScore;
@@ -524,7 +576,7 @@ L_CRC_ShowNextRecord:
goto L_Close;
mes (@loop + 1) + " - " + $Record_CRC_Fluffy_Name$[@loop] + " - " + $Record_CRC_Fluffy_Kills[@loop] + " Fluffies killed at " + $Record_CRC_Fluffy_Date$[@loop];
set @loop, @loop + 1;
- if (MAX_HIGH_SCORES > 4 && (@loop % 5) == 0 && $Record_CRC_Fluffy_Kills[@loop] > 0)
+ if (MAX_HIGH_SCORES_CRC > 4 && (@loop % 5) == 0 && $Record_CRC_Fluffy_Kills[@loop] > 0)
goto L_CRC_NextShowNextRecord;
goto L_CRC_ShowNextRecord;