Class HeroLevelDef

Namespace
TDMaker.Core.Defs
Assembly
TDMaker.Core.dll

A full hero growth row; null component values retain the original template's values.

public sealed class HeroLevelDef
Inheritance
HeroLevelDef
Inherited Members

Constructors

HeroLevelDef(double, int, HealthDef, ArmorDef, MotionDef, MeleeDef, RangedDef, RecoveryDef)

Creates a growth row with absolute component replacements.

public HeroLevelDef(double experienceThreshold = 0, int skillPoints = 0, HealthDef health = null, ArmorDef armor = null, MotionDef motion = null, MeleeDef melee = null, RangedDef ranged = null, RecoveryDef recovery = null)

Parameters

experienceThreshold double
skillPoints int
health HealthDef
armor ArmorDef
motion MotionDef
melee MeleeDef
ranged RangedDef
recovery RecoveryDef

Properties

Armor

Optional replacement defenses.

public ArmorDef Armor { get; }

Property Value

ArmorDef

ExperienceThreshold

Cumulative experience required to enter this level; the first row must be zero.

public double ExperienceThreshold { get; }

Property Value

double

Health

Optional replacement health definition.

public HealthDef Health { get; }

Property Value

HealthDef

Melee

Optional replacement melee attack.

public MeleeDef Melee { get; }

Property Value

MeleeDef

Motion

Optional replacement motion definition.

public MotionDef Motion { get; }

Property Value

MotionDef

Ranged

Optional replacement ranged attacks.

public RangedDef Ranged { get; }

Property Value

RangedDef

Recovery

Optional replacement recovery definition.

public RecoveryDef Recovery { get; }

Property Value

RecoveryDef

SkillPoints

Total skill-point budget at this level.

public int SkillPoints { get; }

Property Value

int