Skip to content

StackInstance

A creature stack as it exists in an army outside of combat (hero slot, town garrison, or any other map object). Carries the creature type, current count, and any bonuses it contributes. For the battle-side view of the same stack, see Unit.

getType

Returns the Creature type of the units in this stack.

getCount

Returns the number of creatures currently in this stack.

  • returns integer