summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-12 10:11:16 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-12 10:11:16 -0300
commitb7ad5006acd4c2869b986fd86ef4909bd91388d0 (patch)
tree99d8289649d43cf8b74af5e8a665cd315c054e7d /npc/commands
parent3ce6aec83b789b34848ff6cffadab8ba85e97cb1 (diff)
downloadserverdata-b7ad5006acd4c2869b986fd86ef4909bd91388d0.tar.gz
serverdata-b7ad5006acd4c2869b986fd86ef4909bd91388d0.tar.bz2
serverdata-b7ad5006acd4c2869b986fd86ef4909bd91388d0.tar.xz
serverdata-b7ad5006acd4c2869b986fd86ef4909bd91388d0.zip
Special servers initialization
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