From 45e89b39985270e12d5f8eb19c666c8fd0562661 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 17 Aug 2015 17:55:24 +0300 Subject: Read card limits from item db. --- src/emap/struct/itemdext.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/emap/struct/itemdext.h') diff --git a/src/emap/struct/itemdext.h b/src/emap/struct/itemdext.h index 0144fbe..1581509 100644 --- a/src/emap/struct/itemdext.h +++ b/src/emap/struct/itemdext.h @@ -4,6 +4,12 @@ #ifndef EVOL_MAP_ITEMDEXT #define EVOL_MAP_ITEMDEXT +struct ItemCardExt +{ + unsigned short id; + unsigned short amount; +}; + struct ItemdExt { int floorLifeTime; @@ -27,6 +33,8 @@ struct ItemdExt int unequipEffect; int unequipFailEffect; + struct ItemCardExt allowedCards[100]; + bool allowPickup; bool charmItem; }; -- cgit v1.2.3-60-g2f50