FIXED Resmelting Coloured blacksmith items

Magus Zeal

Expert II
http://www.uoguide.com/Mining states that recycling items should use either blacksmithing or mining, whichever is greater:

Ingot Return from Recycling Blacksmithy Items
Recycling items requires a Blacksmithy tool, a forge and an anvil. The amount of ingots returned is based on the greater of the characters mining OR blacksmithing skill, as follows:

  • When re-smelting blacksmith items, the skill check uses the greater of the character’s Mining or Blacksmith skills (capped at 105)
  • The amount of ingots returned is calculated by the following formula: (ingots needed to make item) x (0.66% x Skill), rounding fractions down after the multiplication is done. At 100.0 skill, a 12-ingot item will return 7 ingots (12 x 66.0%, rounded down).
  • To get 2/3 your ingots (66.67%) back when Recycling, one must have at least 101.1 skill (natural skill plus the bonus from either +3 or +5 Mining Gloves )

However, the code is only checking mining
https://github.com/ServUO/ServUO/blob/master/Scripts/Services/Craft/Core/Resmelt.cs

if (difficulty > from.Skills[SkillName.Mining].Value) return SmeltResult.NoSkill;

So, this might need to be modified with an OR blacksmithing check.
 

PLAY NOW

Heritage

Address
play.trueuo.com
Port
2593
Uptime
31 minutes
Players Online
4
Houses
880
Vendors
283
Gold
5,396,317,211gp
Top Bottom