diff options
author | Fedja Beader <fedja@protonmail.ch> | 2024-04-12 01:13:10 +0200 |
---|---|---|
committer | Fedja Beader <fedja@protonmail.ch> | 2024-04-12 01:14:11 +0200 |
commit | 45d4a85fe4b9e6804a454daab19bd41638aec874 (patch) | |
tree | bec39f653e5ab1822a3a8c6bc8167a1e8a4b06ab /tools | |
parent | dc9c104ad231e6ba9f695072d36d586e2e3d3d4c (diff) | |
download | tmwa-45d4a85fe4b9e6804a454daab19bd41638aec874.tar.gz tmwa-45d4a85fe4b9e6804a454daab19bd41638aec874.tar.bz2 tmwa-45d4a85fe4b9e6804a454daab19bd41638aec874.tar.xz tmwa-45d4a85fe4b9e6804a454daab19bd41638aec874.zip |
Add battle_config.max_rate limit (500). GMs cannot go above this
Blame Ledmitz (:
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/config.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/config.py b/tools/config.py index 49339bd..2f0781d 100755 --- a/tools/config.py +++ b/tools/config.py @@ -602,6 +602,7 @@ def build_config(): battle_conf.opt('base_exp_rate', percent, '100') battle_conf.opt('job_exp_rate', percent, '100') battle_conf.opt('drop_rate', percent, '100') + battle_conf.opt('max_rate', percent, '500') battle_conf.opt('death_penalty_type', i32, '0', min='0', max='2') battle_conf.opt('death_penalty_base', per10kd, '0') battle_conf.opt('death_penalty_job', per10kd, '0') |