diff options
Diffstat (limited to 'world/map')
-rw-r--r-- | world/map/npc/029-3/parua.txt | 36 | ||||
-rw-r--r-- | world/map/npc/commands/numa.txt | 7 |
2 files changed, 42 insertions, 1 deletions
diff --git a/world/map/npc/029-3/parua.txt b/world/map/npc/029-3/parua.txt index ef630413..cf785320 100644 --- a/world/map/npc/029-3/parua.txt +++ b/world/map/npc/029-3/parua.txt @@ -211,7 +211,7 @@ L_NextRound: set $@FIGHT_CAVE_TEMP_UP, 100; set $@FIGHT_CAVE_LEVEL, $@FIGHT_CAVE_LEVEL + $@FIGHT_CAVE_PLAYER_COUNT + $@FIGHT_CAVE_TEMP_UP; - if ($@FIGHT_CAVE_LEVEL >= 2200) + if ($@FIGHT_CAVE_LEVEL >= $@FIGHT_CAVE_MAX_LEVEL) goto L_CleanUp; set $@FIGHT_CAVE_POINTS, $@FIGHT_CAVE_LEVEL; @@ -405,3 +405,37 @@ OnReward: message strcharinfo(0), "You gain 100 Boss Points giving you a total of " + BOSS_POINTS + "."; goto L_CleanUp_Player; } + +function|script|CandorDebug +{ + mes "$@FIGHT_CAVE_MAX_LEVEL: "+$@FIGHT_CAVE_MAX_LEVEL; + mes "---"; + next; + // NORMAL is listed twice. + menu + "Set to NORMAL difficulty (2200)", L_Normal, + "Set to HARD difficulty (3300, for events)", L_Hard, + "Set to EXPERT difficulty (4500, for events)", L_Expert, + "Set to EASY difficulty (1800, for events)", L_Easy, + "Set to NORMAL difficulty (2200)", L_Normal; + +L_Normal: + set $@FIGHT_CAVE_MAX_LEVEL, 2200; + gmlog strcharinfo(0) + " restored Candor Difficulty to normal."; + return; + +L_Easy: + set $@FIGHT_CAVE_MAX_LEVEL, 1800; + gmlog strcharinfo(0) + " has set Candor Difficulty to EASY."; + return; + +L_Hard: + set $@FIGHT_CAVE_MAX_LEVEL, 3300; + gmlog strcharinfo(0) + " has set Candor Difficulty to HARD."; + return; + +L_Expert: + set $@FIGHT_CAVE_MAX_LEVEL, 4500; + gmlog strcharinfo(0) + " has set Candor Difficulty to EXPERT."; + return; +} diff --git a/world/map/npc/commands/numa.txt b/world/map/npc/commands/numa.txt index b8d24aea..5d5e18db 100644 --- a/world/map/npc/commands/numa.txt +++ b/world/map/npc/commands/numa.txt @@ -91,6 +91,8 @@ OnInit: registercmd chr(ATCMD_SYMBOL) + "numa", strnpcinfo(0); registercmd chr(ATCMD_SYMBOL) + "superdebug", strnpcinfo(0); if (puppet("017-9", 30, 28, "Numa", 393) < 1) mapexit; + if(!($@FIGHT_CAVE_MAX_LEVEL)) + set $@FIGHT_CAVE_MAX_LEVEL, 2200; end; } @@ -119,6 +121,7 @@ L_Woodland: next; menu "Illia Sisters", L_Valia, + "Candor Battle", L_Candor, "Choose an area", L_Argeas, "Close", L_Return; @@ -147,4 +150,8 @@ L_Doomsday: L_Fluffy: callfunc "FluffyDebug"; goto L_Return; + +L_Candor: + callfunc "CandorDebug"; + goto L_Return; } |