From b7ad5006acd4c2869b986fd86ef4909bd91388d0 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Tue, 12 May 2020 10:11:16 -0300 Subject: Special servers initialization --- npc/commands/super-menu.txt | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2