Class AbilityRankData
- Namespace
- TDMaker.Unity.Authoring
- Assembly
- TDMaker.Unity.dll
The complete payload of one ability or skill rank. Each rank replaces the previous rank's payload.
public sealed class AbilityRankData
- Inheritance
-
AbilityRankData
- Inherited Members
Constructors
AbilityRankData()
public AbilityRankData()
Fields
actions
Timed action channels.
public List<AbilityActionData> actions
Field Value
cost
Price of this rank: gold for tower abilities, skill points for hero skills.
[Min(0)]
public int cost
Field Value
passive
Passive stat changes active at this rank.
public StatModifierData passive
Field Value
requiredLevel
Minimum hero level (hero skills only).
[Min(1)]
public int requiredLevel
Field Value
soldierReplacement
Optional barracks soldier replacement, applied to living and future soldiers.
public SoldierAsset soldierReplacement
Field Value
Methods
ToDef()
Bakes the rank payload.
public AbilityRankDef ToDef()