Jump to content
  • 0

Blacksmith with source - Help!


Aerrow

Question

  • Answers 5
  • Created
  • Last Reply

Top Posters For This Question

5 answers to this question

Recommended Posts

  • 0

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
Share on other sites

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


  • Activity

    1. 45

      Official Pickup Slot Effect [REVERSED]

    2. 0

      damage from int to long long

    3. 22

      Green & Purple Potions Effect

    4. 12

      When Uninstalling Gaya System

    5. 12

      When Uninstalling Gaya System

    6. 12

      When Uninstalling Gaya System

    7. 12

      When Uninstalling Gaya System

    8. 12

      When Uninstalling Gaya System

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.