From 11a6f342e579c26320334b9ae9735701386e3b25 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Tue, 13 Apr 2010 22:48:28 -0600 Subject: Add race support for eAthena The job/class field is used to select the race. If the given race isn't defined, it falls back on the first race (so servers can use jobs/classes without races). Also rename job to subtype for Being and subclasses, and begin support for changing monster and NPC subtypes on the fly (particle effects still need to be reset when they change). Reviewed-by: Bertram --- src/resources/itemdb.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/resources/itemdb.h') diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h index 63c016ba..be023073 100644 --- a/src/resources/itemdb.h +++ b/src/resources/itemdb.h @@ -43,6 +43,8 @@ namespace ItemDB */ void unload(); + bool exists(int id); + const ItemInfo &get(int id); const ItemInfo &get(const std::string &name); -- cgit v1.2.3-60-g2f50