Abilities

Abilities

Abilities are components to be attached to units’ prefabs.

The base class has the following fields:

  • str Name
  • str Text
  • float Cooldown
    • float Current Cooldown
  • bool isCasting

And the following functions:

  • OnCast()

IsCasting is set to true when an ability is not instant but instead requires multiple frames for it’s execution; and is then set to false after the spell has been fully casted. This necessary is because the function OnCast() is called in the update loop of the AI controller.

Notes mentioning this note


Here are all the notes in this garden, along with their links, visualized as a graph.

AiAbilitiesArchetypesBarbarianBardBoardClassesClericDruidEnemies listFeatsFighterGameplayHigh designInnsItemsLevel upMapMonkMore ideasPaladinPlayer controllerRacesRangerRarityRogueRolesShopSorcererStatsStatusesUiUnitsVarianceWarlockWizard