tModLoader  0.12 Alpha
A mod to make and play Terraria mods
Terraria.DataStructures.GameModeData Class Reference

Static Public Attributes

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

Properties

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

Member Data Documentation

◆ CreativeMode

readonly GameModeData Terraria.DataStructures.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
}

◆ ExpertMode

readonly GameModeData Terraria.DataStructures.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 Terraria.DataStructures.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 Terraria.DataStructures.GameModeData.NormalMode
static
Initial value:
= new GameModeData {
Id = 0,
EnemyMaxLifeMultiplier = 1f,
EnemyDamageMultiplier = 1f,
DebuffTimeMultiplier = 1f,
KnockbackToEnemiesMultiplier = 1f,
TownNPCDamageMultiplier = 1f,
EnemyDefenseMultiplier = 1f,
EnemyMoneyDropMultiplier = 1f
}