Skip to content

Aura ​

Inherits: Control

Aura represents and manages a single status effect (buff or debuff) in the game's user interface. It handles the visual representation of effects, including icons, timers, and stack counts.

Description ​

Key features:

  • Displays effect icons with dynamic textures and colored borders
  • Manages and updates effect durations with a timer display
  • Handles stack count for stackable effects
  • Provides tooltip functionality for effect information
  • Supports updating and resetting of aura information

This class is typically used within nameplates, or frames to display multiple active effects on an entity. It interacts with the Effect system to represent the current state of status effects visually to the player.

Variables ​

EffectInstancecurrent_effect
Timercurrent_effect_timer
boolhas_timerfalse

Methods ​

voidset_aura( effect: EffectInstance )
voidupdate( effect: EffectInstance )
voidreset_aura_icon()

Signals ​

aura_reset( aura: Aura ) ​

Signal emitted when this aura is reset/cleared

effect_tooltip_requested( effect: EffectInstance ) ​

Signal emitted when mouse enters the aura (for tooltip)

hide_tooltip( force_hide: bool ) ​

Signal emitted when mouse exits the aura (to hide tooltip)

Variable descriptions ​

EffectInstance current_effect ​

The current effect of the Aura

Timer current_effect_timer ​

The timer of the current_effect

bool has_timer = false ​

Has time check

Method descriptions ​

void set_aura( effect: EffectInstance ) ​

Sets up the Aura with the given effect instance

void update( effect: EffectInstance ) ​

Updates the Aura with new effect information

void reset_aura_icon() ​

Resets the Aura to its default state