Skip to Main Content
Table of Contents

BTD_Mod_Helper​.Api​.Helpers​.AbilityHelper


BloonsTD6 Mod Helper

BTD_Mod_Helper.Api.Helpers

AbilityHelper Class

A wrapper around AbilityModels for making them easier to create

public class AbilityHelper : BTD_Mod_Helper.Api.Helpers.ModelHelper<AbilityModel>

Inheritance System.ObjectModelHelperBTD_Mod_Helper.Api.Helpers.ModelHelper<Il2CppAssets.Scripts.Models.Towers.Behaviors.Abilities.AbilityModel>  AbilityHelper

Constructors

AbilityHelper(string) Constructor

Begins construction of a new AttackModel with sensible default values

The model name (don't need the AbilityModel_ part)
public AbilityHelper(string name="");

Parameters

name System.String

Properties

AbilityHelper.ActivateOnLeak Property

public bool ActivateOnLeak { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.ActivateOnLivesLost Property

public bool ActivateOnLivesLost { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.ActivateOnPreLeak Property

public bool ActivateOnPreLeak { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.AddedViaUpgrade Property

public string AddedViaUpgrade { get; set; }

Property Value

System.String

See Also

AbilityHelper.AnimateOnMainAttackDisplay Property

public bool AnimateOnMainAttackDisplay { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.Animation Property

public int Animation { get; set; }

Property Value

System.Int32

See Also

AbilityHelper.AnimationOffset Property

public float AnimationOffset { get; set; }

Property Value

System.Single

See Also

AbilityHelper.Behaviors Property

public Model[] Behaviors { get; set; }

Property Value

Il2CppAssets.Scripts.Models.Model[]

See Also

AbilityHelper.CanActivateBetweenRounds Property

public bool CanActivateBetweenRounds { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.Cooldown Property

public float Cooldown { get; set; }

Property Value

System.Single

See Also

AbilityHelper.CooldownSpeedScale Property

public float CooldownSpeedScale { get; set; }

Property Value

System.Single

See Also

AbilityHelper.Description Property

public string Description { get; set; }

Property Value

System.String

See Also

AbilityHelper.DisplayName Property

public string DisplayName { get; set; }

Property Value

System.String

See Also

AbilityHelper.DontShowStacked Property

public bool DontShowStacked { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.Enabled Property

public bool Enabled { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.Icon Property

public string Icon { get; set; }

Property Value

System.String

See Also

AbilityHelper.IconReference Property

public SpriteReference IconReference { get; set; }

Property Value

Il2CppNinjaKiwi.Common.ResourceUtils.SpriteReference

See Also

AbilityHelper.LivesCost Property

public int LivesCost { get; set; }

Property Value

System.Int32

See Also

AbilityHelper.MaxActivationsPerRound Property

public int MaxActivationsPerRound { get; set; }

Property Value

System.Int32

See Also

AbilityHelper.ResetCooldownOnTierUpgrade Property

public bool ResetCooldownOnTierUpgrade { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.RestrictAbilityAfterMaxRoundTimer Property

public bool RestrictAbilityAfterMaxRoundTimer { get; set; }

Property Value

System.Boolean

See Also

AbilityHelper.SharedCooldown Property

public bool SharedCooldown { get; set; }

Property Value

System.Boolean

See Also

Operators

AbilityHelper.implicit operator AbilityModel(AbilityHelper) Operator

Unwraps the model

public static AbilityModel implicit operator AbilityModel(BTD_Mod_Helper.Api.Helpers.AbilityHelper helper);

Parameters

helper AbilityHelper

Returns

Il2CppAssets.Scripts.Models.Towers.Behaviors.Abilities.AbilityModel

AbilityHelper.implicit operator AbilityHelper(AbilityModel) Operator

Wraps a model

public static BTD_Mod_Helper.Api.Helpers.AbilityHelper implicit operator AbilityHelper(AbilityModel model);

Parameters

model Il2CppAssets.Scripts.Models.Towers.Behaviors.Abilities.AbilityModel

Returns

AbilityHelper

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