AbilityBar
AbilityBar(
props):Element
The player’s abilities on an action bar: each one she holds, from any
source, on a slot and a key, with primary on the large button at the
arc’s centre. Each slot shows its own cooldown; the slot last pressed
shows the global one too, whichever ends later. Her page runs the cast
on the press, so the casting slot fills its rim over the wind-up from
the press on, and from the release the global cooldown sweeps that slot
alone while the others lock, before the room answers; a slot
tints red while her target is out of its range and blue while she
cannot pay its cost, and a held key shows on its slot. A refused cast’s
reason shows under the bar until her next cast. Every default is a
prop.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
AbilityBarProps |
Returns
Section titled “Returns”Element