summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-03-11 00:35:23 +0100
committerGitHub <noreply@github.com>2019-03-11 00:35:23 +0100
commitaf3bf18055ceae4b85df96f5fe66b9edc203351d (patch)
tree4ce0c3392084139e55a3aacaea7365f86b9c0697 /src/map/battle.c
parent69831adf32d57f4a47e27e965df03b7230238e0d (diff)
parente2db93490af67bb42a5611b3cb299770ff0131d7 (diff)
downloadhercules-af3bf18055ceae4b85df96f5fe66b9edc203351d.tar.gz
hercules-af3bf18055ceae4b85df96f5fe66b9edc203351d.tar.bz2
hercules-af3bf18055ceae4b85df96f5fe66b9edc203351d.tar.xz
hercules-af3bf18055ceae4b85df96f5fe66b9edc203351d.zip
Merge pull request #2034 from EyesOfAHawk/magic_rod
Adds configuration for Magic Rod behavior (official/eAthena).
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 6fa46a7c7..1b7bf909e 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -7413,6 +7413,7 @@ static const struct battle_data {
{ "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, },
+ { "magicrod_type", &battle_config.magicrod_type, 0, 0, 1, },
};
static bool battle_set_value_sub(int index, int value)