[Guide] How to add items to bNoGemStone
Hi guys, I have made this little guide for those who want add items such as Element Stones (Ninja Skills) or Wind of Verdure, Red Blood, etc (Sage Skills).
Open itemdb.h and find this:
So, add this after:
ITEMID_STONE_FLAME, ITEMID_STONE_ICE, etc, correspond to Element Stone items (IDs 7521, 7522, 7523, 7524).
Again in itemdb.h find this:
And replace Line 524 (which is shown in the picture), with this:
#define itemid_isgemstone(n) ((n) >= ITEMID_YELLOW_GEMSTONE && (n) <= ITEMID_BLUE_GEMSTONE || (n) >= ITEMID_STONE_FLAME && (n) <= ITEMID_STONE_SHADOW)
>=ITEMID_STONE_FLAME && (n) <=ITEMID_STONE_SHADOW It refers that covers between ITEMID_STONE_FLAME and ITEMID_STONE_SHADOW,
it mean that,