tModLoader v2024.11
A mod to make and play Terraria mods
Player.DefenseStat Struct Reference

Public Member Functions

override string ToString ()
 

Static Public Member Functions

static implicit operator int (DefenseStat stat)
 
static DefenseStat operator* (DefenseStat stat, float mult)
 
static DefenseStat operator+ (DefenseStat stat, int add)
 
static DefenseStat operator++ (DefenseStat stat)
 
static DefenseStat operator- (DefenseStat stat, int sub)
 
static DefenseStat operator-- (DefenseStat stat)
 
static DefenseStat operator/ (DefenseStat stat, float div)
 

Public Attributes

AddableFloat AdditiveBonus = new()
 
MultipliableFloat FinalMultiplier = new()
 

Static Public Attributes

static DefenseStat Default = new()
 

Properties

int Negative = 0 [get]
 
int Positive = 0 [get]