diff options
author | shennetsind <ind@henn.et> | 2013-11-15 03:32:45 -0200 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-11-15 03:32:45 -0200 |
commit | 1f5161a2bd3c7934373146d8cac3c131536758ba (patch) | |
tree | e788177258e61e81b5d20dc7eb43c2d7c6cd8ff5 /src/map/itemdb.h | |
parent | cdf6dc90768b1b524c78e3a172c7a844dd88a943 (diff) | |
download | hercules-1f5161a2bd3c7934373146d8cac3c131536758ba.tar.gz hercules-1f5161a2bd3c7934373146d8cac3c131536758ba.tar.bz2 hercules-1f5161a2bd3c7934373146d8cac3c131536758ba.tar.xz hercules-1f5161a2bd3c7934373146d8cac3c131536758ba.zip |
Official Item BindOnEquip Support
Implements the 'BindOnEquip' item db field which determines whether the piece of equipment should bind to the character upon being equipped.
When a character tries to equip such a item for the first time a dialog shows up asking the character to confirm whether to equip the item or not, and notifying the character that by equipping the item it will become bound to the character, and therefore unable to be used by another character.
Special Thanks to Beret for all the information, Haruna for testing.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r-- | src/map/itemdb.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h index 533a808bc..092db52d7 100644 --- a/src/map/itemdb.h +++ b/src/map/itemdb.h @@ -158,6 +158,7 @@ struct item_data { unsigned trade_restriction : 9; //Item restrictions mask [Skotlex] unsigned autoequip: 1; unsigned buyingstore : 1; + unsigned bindonequip : 1; } flag; struct {// item stacking limitation unsigned short amount; |