Jump to content

Recommended Posts

  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 3 weeks later...

Ok, here's a quickly put together set of information to get you on your way.

 
- This function holds both the scrolls you are interested in

CHARACTER::DoRefineWithScroll(LPITEM item)

- If look for all the references to pkItemScroll in this function and delete them (along with the check for m_iRefineAdditionalCell), it will act exactly like a blessing scroll without needing any item (Do not edit the function itself, of course, create another).

 

- Blacksmith refines are called from InputMain::Refine, more precisely at:

ch->DoRefine(item);

You can edit this call to something else, but don't forget DT's smiths (which don't require items to upgrade):

ch->DoRefine(item, true);

- So, in essence, you can practically replace DoRefine with DoRefineWithScroll stripped of pkItemScroll and it will act as you want except that you'll have to code the specific cases for specific smiths, such as DT or guild ones (nothing *too* hard either, two or three "if"s or so).

Link to comment
https://metin2.dev/topic/4397-blacksmith-with-source-help/#findComment-30356
Share on other sites

  • 3 weeks later...

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.