Just a question off topic.
Is this a acceptable way to store variables in an array? Going to have mulitple spellinfos in debuffs array and i want unitdebuff("raid1", debuffs) to look for any of those debuffs on the raid1 unit.
Lua Code:
taintofthesea = GetSpellInfo(228054)
TimeRelease = GetSpellInfo(219965)
local debuffs = {taintofthesea, TimeRelease}
local name, _, _, _, _, duration, expires = UnitDebuff("raid1", debuffs)
If this is the wrong way please help me just make the correct array : ).
What i want in short is to unitdebuff() to be searching the debuffs array for any of those debuffs on the raid1 unutid target.
best regards!