summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorHello TMW <hello@themanaworld.org>2024-09-17 14:04:03 +0000
committerHello TMW <hello@themanaworld.org>2024-09-17 14:04:03 +0000
commit3a0bfe045e24a8d769c60b513ade85505926be70 (patch)
tree9c8b265ac18c45bf6e51745af32b471646422b26 /tools
parent90754fd121ffaec886c415689031f9ef01ae4972 (diff)
parent48ee77e4fdfc3741996df0ddaca49c090292fc10 (diff)
downloadtmwa-3a0bfe045e24a8d769c60b513ade85505926be70.tar.gz
tmwa-3a0bfe045e24a8d769c60b513ade85505926be70.tar.bz2
tmwa-3a0bfe045e24a8d769c60b513ade85505926be70.tar.xz
tmwa-3a0bfe045e24a8d769c60b513ade85505926be70.zip
Merge branch tmwa:master into master
Diffstat (limited to 'tools')
-rwxr-xr-xtools/config.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/config.py b/tools/config.py
index a187c06..f87fe77 100755
--- a/tools/config.py
+++ b/tools/config.py
@@ -544,7 +544,7 @@ def build_config():
char_conf.opt('char_ip', IP4Address, '{}')
char_conf.opt('char_port', u16, '6121', min='1024')
char_conf.opt('char_txt', RString, '{}')
- char_conf.opt('max_connect_user', u32, '0')
+ char_conf.opt('max_connect_user', i32, '0')
char_conf.opt('autosave_time', seconds, 'DEFAULT_AUTOSAVE_INTERVAL', {char_h}, min='1_s')
char_conf.opt('start_point', Point, '{ {"001-1.gat"_s}, 273, 354 }')
char_conf.opt('unknown_char_name', CharName, 'stringish<CharName>("Unknown"_s)')
@@ -601,6 +601,8 @@ def build_config():
battle_conf.opt('item_third_get_time', milliseconds, '1_s')
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')