Skip to main content

DamageMultiplierApplication

A class in Root.Township, Alta.Enchantments.

A DamageMultiplier effect active on one item. When its trigger fires with an ImpactHit, it multiplies the hit's damage (HealthMultiplier).

Constructors​

MemberWhat it is
DamageMultiplierApplication(EnchantmentApplication enchantment, DamageMultiplier settings)Creates a DamageMultiplierApplication from enchantment and settings.

Fields​

1 private and internal field
MemberWhat it is
private static Logger loggerNLog logger; logs an error if the trigger passes something other than an ImpactHit.

Methods​

MemberWhat it is
override void Invoke(object data)Multiplies the hit's damage by the enchantment's multiplier; logs an error if the data isn't an ImpactHit.