Jump to content

How To Add a New Blacksmith


Recommended Posts

  • Honorable Member

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.

  • Love 3

WRnRW3H.gif

Link to comment
Share on other sites

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.