scoutvef.blogg.se

Terraria mod autotrash
Terraria mod autotrash












terraria mod autotrash

#TERRARIA AUTOTRASH TMODLOADER INSTALL#.This lets you define the classes that this 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. Returns false in all cases by default, which does not let any other classes' effects trigger on this DamageClass. GetModifierInheritance ( DamageClass damageClass) This lets you define the classes that this DamageClass will benefit from (other than itself) for the purposes of stat bonuses, such as damage and crit chance. This returns a struct called StatInheritanceData. This is used to allow extensive specifications for what your damage class can and can't benefit from in terms of other classes' stat bonuses. By default, this will return StatInheritanceData.Full for DamageClass.Generic, and StatInheritanceData.None for any other. Any given DamageClass will also never call this method for itself.

terraria mod autotrash

For a more in-depth explanation and demonstration, refer to ExampleMod/Content/DamageClasses/ExampleDamageClass. This lets you define default stat modifiers for all items of this class (e.g. ShowStatTooltipLine ( Player player, string lineName) If you make a new ModType, seal this override, and call SetStaticDefaults in it.

terraria mod autotrash

This lets you enable or disable standard statistical tooltip lines displaying on items associated with this DamageClass.

terraria mod autotrash

The lines usable are "Damage", "CritChance", "Speed", and "Knockback". Public Member Functions inherited from Īllows you to stop Mod.AddContent from actually adding this content. Useful for items that can be disabled by a config. More.Īllows you to perform one-time loading tasks. #Terraria autotrash tmodloader modīeware that mod content has not finished loading here, things like ModContent lookup tables or ID Sets are not fully populated. More.Īllows you to modify the properties after initial loading has completed. More.Īllows you to safely unload things you added in Load.














Terraria mod autotrash