RedBall--> Get a Zemstone
GreenBall--> Get a Wand
Etc...
In a npc, I have tryied few times but I can only make it work with only one item required, but when I try with more balls it doesn't work.
Here is the code:
Code: Select all
//req
for (i = 0; i < DEF_MAXITEMS; i++)
{
if (m_pClientList[iClientH]->m_pItemList[i] != NULL)
{
if(iRequiredItem == m_pClientList[iClientH]->m_pItemList[i]->m_sIDnum)
{
i = iSoxH;
}
}
}