summaryrefslogtreecommitdiff
path: root/src/emap/struct/itemdext.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-07-31 21:26:22 +0300
committerAndrei Karas <akaras@inbox.ru>2016-07-31 21:26:22 +0300
commit1e49a9dd41900d045c94ebfe34909fa9e4dba32f (patch)
treef521e38b69ea7409645c8b6ac18fc576d9aa74d8 /src/emap/struct/itemdext.h
parent48ce547ec3ead9228f81404c7abf4ee99dbe2819 (diff)
downloadevol-hercules-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.gz
evol-hercules-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.bz2
evol-hercules-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.tar.xz
evol-hercules-1e49a9dd41900d045c94ebfe34909fa9e4dba32f.zip
Add into item_db.conf support for attribute AllowAmmo for bows.
This allow limit any arrow/ammo for any bows/guns.
Diffstat (limited to 'src/emap/struct/itemdext.h')
-rw-r--r--src/emap/struct/itemdext.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emap/struct/itemdext.h b/src/emap/struct/itemdext.h
index 6a8d2c0..9a428ba 100644
--- a/src/emap/struct/itemdext.h
+++ b/src/emap/struct/itemdext.h
@@ -34,6 +34,7 @@ struct ItemdExt
int unequipEffect;
int unequipFailEffect;
+ VECTOR_DECL(int) allowedAmmo;
VECTOR_DECL(struct ItemCardExt) allowedCards;
struct script_code *dropScript;
struct script_code *takeScript;