Jump to content

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

992404397646696589.png
Former C++ Developer at Gameloft on DML
Join my Discord: Distraught Labs

Link to comment
https://metin2.dev/topic/6859-how-to-add-a-new-blacksmith/
Share on other sites

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • 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.