Jump to content
Forgot your email address? ×
×
×
  • Create New...

How To Add a New Blacksmith


Recommended Posts

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

8P1MpHp.jpg

"My mom hiccups in the kitchen because Geppetto Lakatos is doing the Owl Dungeon." - Fleux

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Announcements

  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021


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.