diff options
author | Haru <haru@dotalux.com> | 2020-06-28 01:13:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-28 01:13:16 +0200 |
commit | 8033b88f861208895c68c1bebc5941211e58fc06 (patch) | |
tree | 70d4610447eac729c1df727beafb09d7fe9bf40a /src/map/battle.c | |
parent | f6f8ec5e247d3cd52598f2d026524d1bbc791120 (diff) | |
parent | 520863eaeda83da14b88d09f6378cd8abd5a5174 (diff) | |
download | hercules-8033b88f861208895c68c1bebc5941211e58fc06.tar.gz hercules-8033b88f861208895c68c1bebc5941211e58fc06.tar.bz2 hercules-8033b88f861208895c68c1bebc5941211e58fc06.tar.xz hercules-8033b88f861208895c68c1bebc5941211e58fc06.zip |
Merge pull request #2755 from Jedzkie/jedzkie-pr03
Added configuration on allowing actions on player when dead.
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 611154953..44758207c 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -7449,6 +7449,7 @@ static const struct battle_data { { "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, }, + { "allowed_actions_when_dead", &battle_config.allowed_actions_when_dead, 0, 0, 3, }, }; static bool battle_set_value_sub(int index, int value) |