summaryrefslogtreecommitdiff
path: root/conf/map
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2019-04-01 21:24:11 +0300
committerAndrei Karas <akaras@inbox.ru>2019-05-06 01:23:08 +0300
commit7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de (patch)
treef63e221ae4fa64fa6b1a3a38a299c79adce01194 /conf/map
parentb0e01cb8cf99f0017b620454c2ad2f813bd779b8 (diff)
downloadhercules-7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de.tar.gz
hercules-7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de.tar.bz2
hercules-7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de.tar.xz
hercules-7cc71c4b4ecdbf32bbfda88bd0abfdcce1bdf5de.zip
Add configurable limits for attack related functions
Diffstat (limited to 'conf/map')
-rw-r--r--conf/map/battle.conf3
-rw-r--r--conf/map/battle/limits.conf57
2 files changed, 60 insertions, 0 deletions
diff --git a/conf/map/battle.conf b/conf/map/battle.conf
index 4bb60dab4..dd47db755 100644
--- a/conf/map/battle.conf
+++ b/conf/map/battle.conf
@@ -76,6 +76,9 @@ battle_configuration: {
// Feature control (on/off) settings
@include "conf/map/battle/feature.conf"
+ // Different calculation limits
+ @include "conf/map/battle/limits.conf"
+
// Anything else that didn't fit anywhere else.
// Includes duel, day/night, mute/manner, log settings.
@include "conf/map/battle/misc.conf"
diff --git a/conf/map/battle/limits.conf b/conf/map/battle/limits.conf
new file mode 100644
index 000000000..78498219e
--- /dev/null
+++ b/conf/map/battle/limits.conf
@@ -0,0 +1,57 @@
+//================= Hercules Configuration ================================
+//= _ _ _
+//= | | | | | |
+//= | |_| | ___ _ __ ___ _ _| | ___ ___
+//= | _ |/ _ \ '__/ __| | | | |/ _ \/ __|
+//= | | | | __/ | | (__| |_| | | __/\__ \
+//= \_| |_/\___|_| \___|\__,_|_|\___||___/
+//================= License ===============================================
+//= This file is part of Hercules.
+//= http://herc.ws - http://github.com/HerculesWS/Hercules
+//=
+//= Copyright (C) 2014-2019 Hercules Dev Team
+//=
+//= Hercules is free software: you can redistribute it and/or modify
+//= it under the terms of the GNU General Public License as published by
+//= the Free Software Foundation, either version 3 of the License, or
+//= (at your option) any later version.
+//=
+//= This program is distributed in the hope that it will be useful,
+//= but WITHOUT ANY WARRANTY; without even the implied warranty of
+//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+//= GNU General Public License for more details.
+//=
+//= You should have received a copy of the GNU General Public License
+//= along with this program. If not, see <http://www.gnu.org/licenses/>.
+//=========================================================================
+// Battle (Limits) Configuration File
+//=========================================================================
+
+// basic attack limits
+batk_min_limit: 0
+batk_max_limit: 65535
+
+// magic attack limits
+
+matk_min_limit: 0
+matk_max_limit: 65535
+
+// weapon attack limits
+watk_min_limit: 0
+watk_max_limit: 65535
+
+// flee limits
+flee_min_limit: 1
+flee_max_limit: 32767
+
+// flee2 limits
+flee2_min_limit: 10
+flee2_max_limit: 32767
+
+// critical attack limits
+critical_min_limit: 10
+critical_max_limit: 32767
+
+// hit limits
+hit_min_limit: 1
+hit_max_limit: 32767