Units

#dragonautochess

Units

There are two kinds of units, both inheriting from the same base class.

Units have the following [[ Stats | stats ]] and components:

  • Name
  • Mesh
  • Hp
    • Hp/lvl
  • Damage
    • Min
    • Max
    • Damage/lvl
  • Attack Speed
    • AS/lvl
  • Armor
    • Armor/lvl
  • AI Controller
  • Abilities[]
  • CD Reduction on Hit

Abilities are attached as components and the array is populated when the unit is initialized.

All units have a Classes, that can have an effect with certain abilities. Read Archetypes

Important:

For the first tests, only the player units need a class

Player Units

Player units can be dragged on the Board and the bench, moving smoothly between tiles but always snapping to the center.

Player units additionally have:

  • Rarity: can only be found in the shop after the player has surpassed a certain level.
  • Gold Cost: cost is determined by the unit rarity

Whenever the player buys the third duplicate units, the highest level one will Level Up.

Enemy Units

The biggest difference for enemies is that the per level increases are smaller, because they happen every round.

Enemies do not level up, but instead their power increases linearly.

Notes mentioning this note


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