summaryrefslogtreecommitdiff
path: root/conf/battle
diff options
context:
space:
mode:
authorEmistry <Equinox1991@gmail.com>2016-08-13 00:47:41 +0800
committerEmistry <Equinox1991@gmail.com>2016-08-13 00:47:41 +0800
commitb3df179f705b0a4fe99b0d6e81878251692843f1 (patch)
tree14f1b7ae76183cca9c29960f3c1f4c6db98f6815 /conf/battle
parent11f49f71ba681d2d4190e4d2f329d6722273a8d8 (diff)
downloadhercules-b3df179f705b0a4fe99b0d6e81878251692843f1.tar.gz
hercules-b3df179f705b0a4fe99b0d6e81878251692843f1.tar.bz2
hercules-b3df179f705b0a4fe99b0d6e81878251692843f1.tar.xz
hercules-b3df179f705b0a4fe99b0d6e81878251692843f1.zip
Added atcommand config
Based on @Lemongrass3110's commit https://github.com/rathena/rathena/commit/9157318ee9939728b8d332a5668c13d4ad0a6f8b: Added a configuration to enable the atcommands baselevel and joblevel to trigger their respective npc events. This will help you guys with testing your custom scripts that are listening to OnPCBaseLvUpEvent or OnPCJobLvUpEvent. For safety reasons we only trigger the events on level increase.
Diffstat (limited to 'conf/battle')
-rw-r--r--conf/battle/gm.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/conf/battle/gm.conf b/conf/battle/gm.conf
index 83882ae1c..dc70bc6ca 100644
--- a/conf/battle/gm.conf
+++ b/conf/battle/gm.conf
@@ -35,3 +35,8 @@ atcommand_mobinfo_type: 0
// Set the minimum group id to ignore invalid cells when warping.
// Default group is 2. Use 100 to disable this setting.
gm_ignore_warpable_area: 2
+
+// Should atcommands trigger level up events for NPCs? (Note 1)
+// This option is for @baselevelup and @joblevelup
+// Default: no
+atcommand_levelup_events: no