Class HeroLevelDef
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
experienceThresholddoubleskillPointsinthealthHealthDefarmorArmorDefmotionMotionDefmeleeMeleeDefrangedRangedDefrecoveryRecoveryDef
Properties
Armor
Optional replacement defenses.
public ArmorDef Armor { get; }
Property Value
ExperienceThreshold
Cumulative experience required to enter this level; the first row must be zero.
public double ExperienceThreshold { get; }
Property Value
Health
Optional replacement health definition.
public HealthDef Health { get; }
Property Value
Melee
Optional replacement melee attack.
public MeleeDef Melee { get; }
Property Value
Motion
Optional replacement motion definition.
public MotionDef Motion { get; }
Property Value
Ranged
Optional replacement ranged attacks.
public RangedDef Ranged { get; }
Property Value
Recovery
Optional replacement recovery definition.
public RecoveryDef Recovery { get; }
Property Value
SkillPoints
Total skill-point budget at this level.
public int SkillPoints { get; }