Hi everyone I have a question how can i make this to hide skill ?
#ifdef ENABLE_EMOTION_HIDE_WEAPON
if (m_GraphicThingInstance.GetCurrentMotionIndex() < CRaceMotionData::NAME_CLAP || m_GraphicThingInstance.GetCurrentMotionIndex() == CRaceMotionData::NAME_DIG)
{
if (m_GraphicThingInstance.GetPartItemID(CRaceData::PART_WEAPON) != m_adwPart[CRaceData::PART_WEAPON])
{
m_GraphicThingInstance.AttachWeapon(m_adwPart[CRaceData::PART_WEAPON]);
CItemData* pItemData;
if (CItemManager::Instance().GetItemDataPointer(m_adwPart[CRaceData::PART_WEAPON], &pItemData))
__GetRefinedEffect(pItemData);
}
}
else if (m_GraphicThingInstance.GetPartItemID(CRaceData::PART_WEAPON))
{
m_GraphicThingInstance.AttachWeapon(0);
__ClearWeaponRefineEffect();
}
#endif
[Hidden Content]
Thx.