summaryrefslogtreecommitdiff
path: root/src/map/battle.h
diff options
context:
space:
mode:
authorJedzkie <jedzkie13@rocketmail.com>2016-03-21 23:55:30 +0800
committerHaru <haru@dotalux.com>2018-11-14 18:43:57 +0100
commit86b70dc7ea0a6d3aee6d99a0f802668fc9a0eb75 (patch)
tree84009e37fa3d86e91ca597c4708a7c0a7b6bd42e /src/map/battle.h
parent639af795caf86f9f30770b5d1d2e9164876deb1f (diff)
downloadhercules-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.h')
-rw-r--r--src/map/battle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 02536e4a1..750753c08 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -574,6 +574,8 @@ struct Battle_Config {
int min_item_buy_price;
int min_item_sell_price;
+
+ int display_fake_hp_when_dead;
};
/* criteria for battle_config.idletime_critera */