diff options
author | Emistry Haoyan <equinox1991@gmail.com> | 2019-07-21 05:04:29 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2019-07-28 19:37:15 +0200 |
commit | 5ac507e88e116e6a11185beace600bde8896c534 (patch) | |
tree | 2ba9972ab9d077aff6e9702c4be8d7d065a80e86 /src/map/battle.c | |
parent | 9034007595aa0ef58d28f09253ba15f405a011ab (diff) | |
download | hercules-5ac507e88e116e6a11185beace600bde8896c534.tar.gz hercules-5ac507e88e116e6a11185beace600bde8896c534.tar.bz2 hercules-5ac507e88e116e6a11185beace600bde8896c534.tar.xz hercules-5ac507e88e116e6a11185beace600bde8896c534.zip |
Update Homunculus obtain EXP from master
- homunculus will obtain a portion or full EXP from master.
- fixes #2313
Diffstat (limited to 'src/map/battle.c')
-rw-r--r-- | src/map/battle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index 7fa1567e7..abbaa549a 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -7437,6 +7437,7 @@ static const struct battle_data { { "hit_min_limit", &battle_config.hit_min, 1, 1, INT_MAX, }, { "hit_max_limit", &battle_config.hit_max, SHRT_MAX, 1, INT_MAX, }, { "autoloot_adjust", &battle_config.autoloot_adjust, 0, 0, 1, }, + { "hom_bonus_exp_from_master", &battle_config.hom_bonus_exp_from_master, 10, 0, 100, }, }; static bool battle_set_value_sub(int index, int value) |