summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorEyesOfAHawk <blackoutro2006@gmail.com>2019-02-28 03:12:36 +1300
committerEyesOfAHawk <blackoutro2006@gmail.com>2019-02-28 03:12:36 +1300
commite2db93490af67bb42a5611b3cb299770ff0131d7 (patch)
tree7e07f227d2ae0a3005b1709fc288bc2345b6741a /src/map/battle.c
parent1ac84c2dd856087a4a72fec95b3322137187637a (diff)
downloadhercules-e2db93490af67bb42a5611b3cb299770ff0131d7.tar.gz
hercules-e2db93490af67bb42a5611b3cb299770ff0131d7.tar.bz2
hercules-e2db93490af67bb42a5611b3cb299770ff0131d7.tar.xz
hercules-e2db93490af67bb42a5611b3cb299770ff0131d7.zip
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)