Modcraft - The community dedicated to quality WoW modding!
Wrath of the Lich King Modding => Serverside Modding => Topic started by: kasma23 on October 26, 2014, 10:54:54 am
-
i was wondering if anyone knew how to add custom item Qualitys in trinitycore 3.3.5? i tryed editing the core the SharedDefines.h but the colors didnt work ingame seems to set some random ones.
mabey its a DBC or Client mod i need?
Thanks in advance!
-
Here we go.
enum ItemQualities
{
ITEM_QUALITY_POOR = 0, //GREY
ITEM_QUALITY_NORMAL = 1, //WHITE
ITEM_QUALITY_UNCOMMON = 2, //GREEN
ITEM_QUALITY_RARE = 3, //BLUE
ITEM_QUALITY_EPIC = 4, //PURPLE
ITEM_QUALITY_LEGENDARY = 5, //ORANGE
ITEM_QUALITY_ARTIFACT = 6, //LIGHT YELLOW
ITEM_QUALITY_HEIRLOOM = 7
They are defined in SharedDefines.h
And maybe check item.cpp , item.h
But I'm not sure how the DB will apply new entries.
Also there was a way to edit item name colors without adding new qualities.
-
Qualities are hard-coded client-side iirc.
-
remember to add to the list of colors color before giving a value , that you do a few lines above the same code , I hope you helps.
-
remember to add to the list of colors color before giving a value , that you do a few lines above the same code , I hope you helps.
ya i tryed that the colors kinda work its like instead of being Red its blue its the client side thats showing blue so i dont know how to change that.