DurabilitySaveEnchantmentApplication
A class in Root.Township, Alta.Enchantments.
A DurabilitySaveEnchantment effect active on one item. When its trigger fires with an ImpactHitWithTool, it scales how much durability the tool loses.
Constructors
Fields
1 private and internal field
| Member | What it is |
|---|
private static Logger logger | NLog logger; logs an error if the trigger passes something other than an ImpactHitWithTool. |
Methods
| Member | What it is |
|---|
override void Invoke(object data) | Scales how much durability the tool loses on this hit; logs an error if the data isn't an ImpactHitWithTool. |