diff options
author | Jedzkie <jedzkie13@rocketmail.com> | 2016-03-21 23:55:30 +0800 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2018-11-14 18:43:57 +0100 |
commit | 86b70dc7ea0a6d3aee6d99a0f802668fc9a0eb75 (patch) | |
tree | 84009e37fa3d86e91ca597c4708a7c0a7b6bd42e /src/map/battle.c | |
parent | 639af795caf86f9f30770b5d1d2e9164876deb1f (diff) | |
download | hercules-86b70dc7ea0a6d3aee6d99a0f802668fc9a0eb75.tar.gz hercules-86b70dc7ea0a6d3aee6d99a0f802668fc9a0eb75.tar.bz2 hercules-86b70dc7ea0a6d3aee6d99a0f802668fc9a0eb75.tar.xz hercules-86b70dc7ea0a6d3aee6d99a0f802668fc9a0eb75.zip |
Fixes #889 & #840
- Novice classes will never go below 50% hp when died.
- Other classes will show 1 HP rather than 0 when died.
- Added battle configuration.
Signed-off-by: Haru <haru@dotalux.com>
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 44241bf23..ee9662c33 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -7407,6 +7407,7 @@ static const struct battle_data { { "features/feature_attendance_endtime",&battle_config.feature_attendance_endtime, 1, 0, 99999999, }, { "min_item_buy_price", &battle_config.min_item_buy_price, 1, 0, INT_MAX, }, { "min_item_sell_price", &battle_config.min_item_sell_price, 0, 0, INT_MAX, }, + { "display_fake_hp_when_dead", &battle_config.display_fake_hp_when_dead, 1, 0, 1, }, }; static bool battle_set_value_sub(int index, int value) |