diff options
Diffstat (limited to 'npc/commands/debug.txt')
-rw-r--r-- | npc/commands/debug.txt | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/npc/commands/debug.txt b/npc/commands/debug.txt index 419b5742..b86dab04 100644 --- a/npc/commands/debug.txt +++ b/npc/commands/debug.txt @@ -35,6 +35,7 @@ L_Level: goto L_LevelTooHigh; if (BaseLevel == @lvl) goto L_SameLevel; + gmlog sprintf("Level set from %d to %d", BaseLevel, @lvl); BaseLevel = @lvl; resetstatus; mes "You are now level " + BaseLevel + "."; @@ -114,9 +115,9 @@ L_FocusSkills: switch (@menuret) { case -3: goto L_Begin; case -2: - skill SKILL_POOL, @pool+1, 0; break; + skill SKILL_POOL, @pool+1, 0; gmlog("Focus+"); break; case -1: - skill SKILL_POOL, max(0, @pool-1), 0; break; + skill SKILL_POOL, max(0, @pool-1), 0; gmlog("Focus-"); break; case 0: updateskill SKILL_MALLARDS_EYE, 9; updateskill SKILL_BRAWLING, 9; @@ -124,15 +125,17 @@ L_FocusSkills: updateskill SKILL_RESIST_POISON, 9; updateskill SKILL_ASTRAL_SOUL, 9; updateskill SKILL_RAGING, 9; + gmlog("All focus to max"); break; case -4: - skill SKILL_POOL, 0, 0; break; + skill SKILL_POOL, 0, 0; updateskill SKILL_MALLARDS_EYE, 0; updateskill SKILL_BRAWLING, 0; updateskill SKILL_SPEED, 0; updateskill SKILL_RESIST_POISON, 0; updateskill SKILL_ASTRAL_SOUL, 0; updateskill SKILL_RAGING, 0; + gmlog("All focus reset"); break; default: if (FOCUSING & getpoolskillFID(@menuret)) { @@ -493,6 +496,7 @@ L_AddAll: mes "All skills added to their maximum level."; mes "Maximum number of Legacy Magic Experience points."; mes "You are now level " + BaseLevel + "."; + gmlog("Build set to max level and all skills"); next; goto L_Begin; @@ -551,6 +555,7 @@ L_ResetAll: mes "All skills removed."; mes "Magic experience reset."; mes "You are now level " + BaseLevel + "."; + gmlog("Character reset"); next; goto L_Begin; |