Jump to content

Blacksmith skill not working

Closed 1.7.8 Next Version

Terceran
Terceran

Posted

Since around version 1.7.8, the Blacksmith skill no longer works. If an item is damaged and repaired, the red permanent damage still remains.

Terceran

Posted

Note, I modified this function and it now works:

        void HandleMaxRepair(BasePlayer player, Item item)

        {

            if (player == null || item == null) return;

            if (config.tools_black_white_list_settings.max_repair_blacklist.Contains(item.info.shortname)) return;

            if (Interface.CallHook("STOnItemRepairWithMaxRepair", player, item) != null) return;

            if (!item.hasCondition) return;

            item.maxCondition = item.info.condition.max;

            item.condition = item.maxCondition;

            item.MarkDirty();

        }

  • Curator
imthenewguy

Posted

Changed Status from Pending to Closed

  • Curator
imthenewguy

Posted

Changed Fixed In to Next Version

  • Curator
imthenewguy

Posted

I have it fixed in the next release.

  • Like 1
Tage2

Posted

the beta version says est. release is in May.   Will this fix come before that, or are we stuck without it until that date?

  • Curator
imthenewguy

Posted

6 minutes ago, Tage2 said:

the beta version says est. release is in May.   Will this fix come before that, or are we stuck without it until that date?

You can just download the file now.

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.9k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

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.