He'y'all,
In this tutorial I'mma show you how to add a new blacksmith.
First, open the refine.h and search for this:
BLACKSMITH2_MOB = 20091,
Make a new variable:
BLACKSMITH2_MOB = 20091,
BLACKSMITH3_MOB = NEW BLACKSMITH ID,
Open char_item.cpp and searc for it:
case BLACKSMITH2_MOB:
You'll see:
case BLACKSMITH2_MOB:
if (item->GetRefineSet() >= 500)
{
return true;
}
else
{
return false;
}
Modify the if (item->GetRefineSet() >= 500) part:
if (item->GetRefineSet() >= 500 && item->GetRefineSet() < 1000)
After this case copy this:
case BLACKSMITH3_MOB:
if (item->GetRefineSet() >= 1000)
{
return true;
}
else
{
return false;
}
The new blacksmith will work with refine ids over 999.