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

Static Public Attributes

static readonly GameModeData CreativeMode
 
static readonly GameModeData ExpertMode
 
static readonly GameModeData MasterMode
 
static readonly GameModeData NormalMode
 

Properties

float DebuffTimeMultiplier [get, set]
 
float EnemyDamageMultiplier [get, set]
 
float EnemyDefenseMultiplier [get, set]
 
float EnemyMaxLifeMultiplier [get, set]
 
float EnemyMoneyDropMultiplier [get, set]
 
int Id [get]
 
bool IsExpertMode [get, set]
 
bool IsJourneyMode [get, set]
 
bool IsMasterMode [get, set]
 
float KnockbackToEnemiesMultiplier [get, set]
 
float TownNPCDamageMultiplier [get, set]
 

Member Data Documentation

◆ CreativeMode

readonly GameModeData GameModeData.CreativeMode
static
Initial value:
= new GameModeData {
Id = 3,
IsJourneyMode = true,
EnemyMaxLifeMultiplier = 1f,
EnemyDamageMultiplier = 1f,
DebuffTimeMultiplier = 1f,
KnockbackToEnemiesMultiplier = 1f,
TownNPCDamageMultiplier = 2f,
EnemyDefenseMultiplier = 1f,
EnemyMoneyDropMultiplier = 1f
}
Definition: GameModeData.cs:5

◆ ExpertMode

readonly GameModeData GameModeData.ExpertMode
static
Initial value:
= new GameModeData {
Id = 1,
IsExpertMode = true,
EnemyMaxLifeMultiplier = 2f,
EnemyDamageMultiplier = 2f,
DebuffTimeMultiplier = 2f,
KnockbackToEnemiesMultiplier = 0.9f,
TownNPCDamageMultiplier = 1.5f,
EnemyDefenseMultiplier = 1f,
EnemyMoneyDropMultiplier = 2.5f
}

◆ MasterMode

readonly GameModeData GameModeData.MasterMode
static
Initial value:
= new GameModeData {
Id = 2,
IsExpertMode = true,
IsMasterMode = true,
EnemyMaxLifeMultiplier = 3f,
EnemyDamageMultiplier = 3f,
DebuffTimeMultiplier = 2.5f,
KnockbackToEnemiesMultiplier = 0.8f,
TownNPCDamageMultiplier = 1.75f,
EnemyDefenseMultiplier = 1f,
EnemyMoneyDropMultiplier = 2.5f
}

◆ NormalMode

readonly GameModeData GameModeData.NormalMode
static
Initial value:
= new GameModeData {
Id = 0,
EnemyMaxLifeMultiplier = 1f,
EnemyDamageMultiplier = 1f,
DebuffTimeMultiplier = 1f,
KnockbackToEnemiesMultiplier = 1f,
TownNPCDamageMultiplier = 1f,
EnemyDefenseMultiplier = 1f,
EnemyMoneyDropMultiplier = 1f
}