|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
This lets you define the classes that this T:Terraria.ModLoader.DamageClass will count as (other than itself) for the purpose of armor and accessory effects, such as Spectre armor's bolts on magic attacks, or Magma Stone's Hellfire debuff on melee attacks.
For a more in-depth explanation and demonstration, see ExampleMod's ExampleDamageClass.cs
Return true for each T:Terraria.ModLoader.DamageClass you want to inherit from
| damageClass | The T:Terraria.ModLoader.DamageClass you want to inherit effects from. |
false by default - which does not let any other classes' effects trigger on this T:Terraria.ModLoader.DamageClass.Reimplemented from Terraria.ModLoader.DamageClass.
Definition at line 22 of file SummonMeleeSpeedDamageClass.cs.
References Terraria.ModLoader.DamageClass.Summon.