Skip to Main Content

BTD_Mod_Helper​.Api​.Towers​.ModHeroLevel


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Towers

ModHeroLevel Class

Class representing the UpgradeModel and changes for a particular Level for a ModHero

public abstract class ModHeroLevel : BTD_Mod_Helper.Api.Towers.ModUpgrade

Inheritance System.ObjectModContentNamedModContentModUpgrade  ModHeroLevel

Derived
ModHeroLevel<T>

Properties

ModHeroLevel.AbilityDescription Property

Description of the ability added at this level, if any

public virtual string AbilityDescription { get; }

Property Value

System.String

ModHeroLevel.AbilityName Property

DisplayName field of the AbilityModel added at this level, if any

public virtual string AbilityName { get; }

Property Value

System.String

ModHeroLevel.ConfirmationBody Property

No confirmation on hero upgrades

public sealed override string ConfirmationBody { get; }

Property Value

System.String

ModHeroLevel.ConfirmationTitle Property

No confirmation on hero upgrades

public sealed override string ConfirmationTitle { get; }

Property Value

System.String

ModHeroLevel.Cost Property

Hero upgrades have no cost

public sealed override int Cost { get; }

Property Value

System.Int32

ModHeroLevel.Hero Property

The tower that this is an upgrade for

public abstract BTD_Mod_Helper.Api.Towers.ModHero Hero { get; }

Property Value

ModHero

ModHeroLevel.Icon Property

Hero upgrades don't have individual icons

public sealed override string Icon { get; }

Property Value

System.String

ModHeroLevel.IconReference Property

Hero upgrades don't have individual icons

public sealed override SpriteReference IconReference { get; }

Property Value

Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference

ModHeroLevel.Level Property

What level this

public abstract int Level { get; }

Property Value

System.Int32

ModHeroLevel.Name Property

Internal naming scheme for hero levels

public sealed override string Name { get; }

Property Value

System.String

ModHeroLevel.NeedsConfirmation Property

No confirmation on hero upgrades

public sealed override bool NeedsConfirmation { get; }

Property Value

System.Boolean

ModHeroLevel.Path Property

All hero upgrades count as top path

public sealed override int Path { get; }

Property Value

System.Int32

ModHeroLevel.Portrait Property

The filename without extension for the portrait this Level should make the hero start using


By default, the Portrait of the ModHero with the Level appended,
e.g. "IndustrialFarmer-Portrait3"

public override string Portrait { get; }

Property Value

System.String

ModHeroLevel.Tier Property

The upgrade's tier is the hero's level.

public sealed override int Tier { get; }

Property Value

System.Int32

ModHeroLevel.Tower Property

The ModTower is the ModHero

public sealed override BTD_Mod_Helper.Api.Towers.ModTower Tower { get; }

Property Value

ModTower

ModHeroLevel.XpCost Property

How much XP the hero needs to get to go from the previous level to this level.


Default is calculated the same way Ninja Kiwi does it using

public override int XpCost { get; }

Property Value

System.Int32

To learn how to download BTD Mod Helper and install mods, click here