AbilityBar
AbilityBar(
props):Element
The player’s abilities on an action bar: each one the player 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. The
player’s page runs the cast on the press, so the casting slot fills its
rim over the wind-up from the press on. From the release the global
cooldown sweeps that slot alone while the others lock, before the room
answers. A slot tints red while the character’s target is out of its
range and blue while the character cannot pay its cost, and a held key
shows on its slot. A refused cast’s reason shows under the bar until
the player’s next cast. Every default is a prop.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
props |
AbilityBarProps |
Returns
Section titled “Returns”Element