DamageMultiplier
A class in Root.Township, Alta.Enchantments.
Enchantment effect asset that multiplies the damage of an impact hit.
- Listed in Crafting and making
- Inherits or implements
EnchantmentEffect - Derived types
DamageMultiplier.Create,DamageMultiplierApplication - Nested types
Create
Constructors
| Member | What it is |
|---|---|
DamageMultiplier() | Use ScriptableObject.CreateInstance instead of new; Unity loads the saved ones from assets. |
Fields
Properties
| Member | What it is |
|---|---|
float Multiplier { get; } | Factor the hit's health damage is multiplied by. Defaults to 1.2. |
Methods
| Member | What it is |
|---|---|
protected override IEnchantmentEffectApplication CreateNew(EnchantmentApplication enchantment) | Creates the DamageMultiplierApplication that applies this effect to an enchanted item. |
Used in
Members of other types that take, return or hold a DamageMultiplier: