summaryrefslogtreecommitdiff
path: root/src/emap/struct
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-17 17:55:24 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-17 17:55:24 +0300
commit45e89b39985270e12d5f8eb19c666c8fd0562661 (patch)
treeac6489310ab4e6e5804f8930a6346472d1cfee32 /src/emap/struct
parent38efe26b9982a176f89910f9b6b3650558175360 (diff)
downloadevol-hercules-45e89b39985270e12d5f8eb19c666c8fd0562661.tar.gz
evol-hercules-45e89b39985270e12d5f8eb19c666c8fd0562661.tar.bz2
evol-hercules-45e89b39985270e12d5f8eb19c666c8fd0562661.tar.xz
evol-hercules-45e89b39985270e12d5f8eb19c666c8fd0562661.zip
Read card limits from item db.
Diffstat (limited to 'src/emap/struct')
-rw-r--r--src/emap/struct/itemdext.h8
1 files changed, 8 insertions, 0 deletions
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;
};