TModLoader v1.4.4.9
TModLoader source code documentation
Loading...
Searching...
No Matches

◆ ShowStatTooltipLine()

virtual bool Terraria.ModLoader.DamageClass.ShowStatTooltipLine ( Player player,
string lineName )
inlinevirtualinherited

Overriding this lets you disable standard statistical tooltip lines displayed on items associated with this T:Terraria.ModLoader.DamageClass. All tooltip lines are enabled by default.

To disable tooltip lines you should return false for each of those cases.

Parameters
playerThe player to apply tooltip changes to
lineNameThe tooltip line to change visibility for. Usable values are: "Damage", "CritChance", "Speed", and "Knockback"

Reimplemented in Terraria.ModLoader.SummonDamageClass, and Terraria.ModLoader.SummonMeleeSpeedDamageClass.

Definition at line 126 of file DamageClass.cs.

127 {
128 return true;
129 }