summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-03 18:31:21 -0200
committershennetsind <ind@henn.et>2013-02-03 18:31:21 -0200
commitcc8e005f27f3be0d7bcf8916cb40b2dd0e6a3ae1 (patch)
treeb422b4aa329582a2b54f2008ac3519b54637cfef /src/map/battle.c
parent453d6cebeb3cde5fc58ed95c574e3a325d59b289 (diff)
downloadhercules-cc8e005f27f3be0d7bcf8916cb40b2dd0e6a3ae1.tar.gz
hercules-cc8e005f27f3be0d7bcf8916cb40b2dd0e6a3ae1.tar.bz2
hercules-cc8e005f27f3be0d7bcf8916cb40b2dd0e6a3ae1.tar.xz
hercules-cc8e005f27f3be0d7bcf8916cb40b2dd0e6a3ae1.zip
item_noequip overhaul / Fixed Bug #7048
Items are no longer unequipped when disabled by item_noequip.txt, instead their effects are nullified -- however cards in them, unless also disabled, wont have its effect nullified. Consumables will be consumed even while disabled, unless you modify the new config item_restricted_consumption_type http://hercules.ws/board/tracker/issue-7048-requestreport-regarding-to-item-noequiptxt/ Signed-off-by: shennetsind <ind@henn.et>
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 4505b6a63..0506f2fe9 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -5867,6 +5867,7 @@ static const struct _battle_data {
* Hercules
**/
{ "skill_trap_type", &battle_config.skill_trap_type, 0, 0, 1, },
+ { "item_restricted_consumption_type", &battle_config.item_restricted_consumption_type,1, 0, 1, },
};
#ifndef STATS_OPT_OUT
/**