Aura Properties
This outlines all available properties for Auras in Aurora.
Basic Properties
name
name: string
The name of the aura
icon
icon: string
The texture path for the aura's icon
count
count: number
Number of stacks/applications (0 if not stacked)
charges
charges: number
Current number of charges
maxCharges
maxCharges: number
Maximum number of charges possible
dispelType
dispelType: string
The type of dispel required (Magic, Curse, etc.)
duration
duration: number
Total duration of the aura in seconds
expirationTime
expirationTime: number
When the aura will expire (GetTime() + duration)
sourceUnitGuid
sourceUnitGuid: string
The GUID of the unit that applied the aura
spellId
spellId: number
The spell ID of the aura
startTime
startTime: number
When the aura was applied (GetTime())
State Properties
isStealable
isStealable: boolean
Whether the aura can be stolen by Mages
nameplateShowPersonal
nameplateShowPersonal: boolean
Whether to show on personal nameplate
nameplateShowAll
nameplateShowAll: boolean
Whether to show on all nameplates
canApplyAura
canApplyAura: boolean
Whether the aura can be applied
isBossAura
isBossAura: boolean
Whether it's a boss aura
isFromPlayerOrPlayerPet
isFromPlayerOrPlayerPet: boolean
Whether applied by player or their pet
isHarmful
isHarmful: boolean
Whether the aura is harmful (debuff)
isHelpful
isHelpful: boolean
Whether the aura is helpful (buff)
isNameplateOnly
isNameplateOnly: boolean
Whether the aura only shows on nameplates
isRaid
isRaid: boolean
Whether it's a raid aura
type
type: string
"HARMFUL" for debuffs or "HELPFUL" for buffs
Technical Properties
timeMod
timeMod: number
Time modification value
auraInstanceID
auraInstanceID: number
Unique instance ID for this aura application
points
points: table
Points data associated with the aura
Usage Example
local target = Aurora.UnitManager:Get("target")
local myDebuff = target.aura(12345)
if myDebuff then
print("Aura name:", myDebuff.name)
print("Charges:", myDebuff.charges)
print("Duration:", myDebuff.duration)
print("Is from player:", myDebuff.isFromPlayerOrPlayerPet)
if myDebuff.isStealable then
-- Can be stolen by Mage
end
end
All properties are accessed through method calls internally, but can be used with dot notation for convenience.