Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

Whitesmith Weapon Refine + Armor Refine


FutureServer

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  11/21/17
  • Last Seen:  

Just looking for code that allows the upgrading of armor as well as weapons using the skill Weapon Refine. Same rates apply to Armor as weapons.

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  94
  • Reputation:   35
  • Joined:  11/08/15
  • Last Seen:  

If you want to add a custom refine armor skill maybe.

 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  298
  • Reputation:   15
  • Joined:  11/17/11
  • Last Seen:  

Easiest logical solution here is on skill.cpp

Find 

if(item->nameid > 0 && ditem->type == IT_WEAPON) {

and replace with

if(item->nameid > 0 && (ditem->type == IT_WEAPON || ditem->type == IT_ARMOR)) {


Will test and update later when I get back from office. :P 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  9
  • Topics Per Day:  0.00
  • Content Count:  28
  • Reputation:   1
  • Joined:  08/07/13
  • Last Seen:  

Has anyone been able to get this to work?   

I'm looking for exactly this, but for the ore to be Eluminum to upgrade armor. 

Edited by Kristabyte
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...