Jump to content

Blacksmith skill not working

Closed 1.7.8 1.7.9

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();

        }

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?

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.5m
Total downloads
Customers
11.1k
Customers served
Files Sold
159.4k
Total sales
Payments
3.4m
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.