Log inGet started
World

Powerplay: Abilities, Cooldowns and Status Effects Kit

README.md

uiStatus

Draws a character's status effects (a list of EffectViews) in four looks and any of the five styles:

  • overhead: a compact row for over a head, with small round icons, an elapsed-time wipe, stack badges, and +n past six icons.
  • buffBar: a HUD row with buffs, a divider, then debuffs. Each icon has a frame in the buff or debuff colour, its seconds underneath and a stack badge.
  • list: a vertical panel with icon, name, x3 stacks, seconds and a draining timer bar.
  • chips: coloured pills with a short name, stacks and seconds. They wrap at maxWidth.

St.render(look, style, effects, { scale, compact, max, maxWidth }), St.looks() and St.has(id). Effects with no duration (or a huge one) show no timer.