summaryrefslogtreecommitdiff
path: root/src/map/itemdb.h
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-08 21:39:57 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-10-08 21:39:57 +0000
commiteeea994eea737a7715cd321024430800c4186c84 (patch)
treec457048bbf927b7ee0c887cde7da4a0913d63bd4 /src/map/itemdb.h
parent975e208be2fc880de327d36607a6cc92a5d58c6a (diff)
downloadhercules-eeea994eea737a7715cd321024430800c4186c84.tar.gz
hercules-eeea994eea737a7715cd321024430800c4186c84.tar.bz2
hercules-eeea994eea737a7715cd321024430800c4186c84.tar.xz
hercules-eeea994eea737a7715cd321024430800c4186c84.zip
* Delayed the check for required items when a skill is cast to when they are consumed. Now skills only fail due to lack of items after being cast.
- Please make a bug report if you know of any skill that doesn't work like this in official. * Fixed hp of other party members not being sent when you join a party. * Removed unused global array names_id and renamed some structures that are used with variables of the same name. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@11384 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/itemdb.h')
-rw-r--r--src/map/itemdb.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/itemdb.h b/src/map/itemdb.h
index ebfbf5c87..9d1a62f6d 100644
--- a/src/map/itemdb.h
+++ b/src/map/itemdb.h
@@ -10,6 +10,13 @@
#define MAX_SEARCH 5 //Designed for search functions, species max number of matches to display.
+#define ITEMID_YELLOW_GEMSTONE 715
+#define ITEMID_RED_GEMSTONE 716
+#define ITEMID_BLUE_GEMSTONE 717
+#define itemid_isgemstone(id) ( (id) >= ITEMID_YELLOW_GEMSTONE && (id) <= ITEMID_BLUE_GEMSTONE )
+
+#define ITEMID_TRAP 1065
+
enum item_types {
IT_HEALING = 0,