summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/super-menu.txt12
1 files changed, 11 insertions, 1 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index 8f6bea9ec..c0052c446 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -67,7 +67,17 @@ OnCall:
OnInit:
bindatcmd "super", "@super::OnCall", 80, 99, 0;
- //bindatcmd "numa", "@super::OnCall", 80, 99, 0; // alias for those used to TMW's @numa - none at the moment, iirc
+
+ // Special servers
+ if (debug) {
+ setbattleflag("mob_spawn_delay", $BCONFD_SPAWN);
+ setbattleflag("monster_hp_rate", $BCONFD_MOBHP);
+ donpcevent("@exprate::OnInheirtedReload");
+ } else if ($HARDCORE) {
+ setbattleflag("mob_spawn_delay", $BCONFD_SPAWN);
+ setbattleflag("monster_hp_rate", $BCONFD_MOBHP);
+ donpcevent("@exprate::OnInheirtedReload");
+ }
end;
// Servers with "debug" set are debug servers which must reset on their own