tModLoader v2022.09
A mod to make and play Terraria mods
Terraria.GameContent.DontStarveDarknessDamageDealer Class Reference

Static Public Member Functions

static void Reset ()
 
static void Update (Player player)
 

Static Public Attributes

const int DARKNESS_DAMAGE_PER_HIT = 50
 
const int DARKNESS_HIT_TIMER_MAX_BEFORE_HIT = 60
 
const int DARKNESS_MESSAGE_TIME = 180
 
const int DARKNESS_TIMER_MAX_BEFORE_STARTING_HITS = 300
 
static int darknessHitTimer = 0
 
static int darknessTimer = -1
 
static bool lastFrameWasTooBright = true
 
static bool saidMessage = false