From 1f5161a2bd3c7934373146d8cac3c131536758ba Mon Sep 17 00:00:00 2001 From: shennetsind Date: Fri, 15 Nov 2013 03:32:45 -0200 Subject: 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 --- src/map/itemdb.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/map/itemdb.h') 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; -- cgit v1.2.3-60-g2f50