RunUO Community

This is a sample guest message. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

[RunUO 2.0 RC1] Timer based Self Repair

Timer based Self Repair

Description:
When armor or clothing is below max durability and currently loged in and equiped it regenerates durability over time.
times from 60 minutes to 7.5 seconds can be changed easily in the GetSelfRepairTimeSpan method of the corresponding item class.
Times are a total gues.
Items with self repair losing maxdurability from a hit get SelfRepair amount of durability back.

Installation:
Get the zip and overwrite the 3 contained distro files.
Scripts\Misc\AOS.cs - 1 change
Scripts\Items\Armor\BaseArmor.cs - 7 changes
Scripts\Items\Clothing\BaseClothing.cs - 7 changes

Version:
1.0 to 1.0a
Strange noone complained... Erica reported a compile error in basecloth.cs, now fixed.
 

Attachments

  • TimerBasedSelfRepair.zip
    21 KB · Views: 132
Top