summaryrefslogtreecommitdiff
path: root/src/map/battle.h
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.h
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.h')
-rw-r--r--src/map/battle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/battle.h b/src/map/battle.h
index 0943b1aa3..c5ca19b90 100644
--- a/src/map/battle.h
+++ b/src/map/battle.h
@@ -484,6 +484,7 @@ extern struct Battle_Config
int mob_size_influence; // Enable modifications on earned experience, drop rates and monster status depending on monster size. [mkbu95]
int skill_trap_type;
+ int item_restricted_consumption_type;
} battle_config;
void do_init_battle(void);