UnitAura rename spellSchool to dispelType
This commit is contained in:
parent
379040426c
commit
e507d70eca
@ -259,7 +259,7 @@ function EventListener:UNIT_AURA(unit)
|
|||||||
local auraType = i == 1 and AURA_TYPE_BUFF or AURA_TYPE_DEBUFF
|
local auraType = i == 1 and AURA_TYPE_BUFF or AURA_TYPE_DEBUFF
|
||||||
Gladdy:SendMessage("AURA_FADE", unit, auraType)
|
Gladdy:SendMessage("AURA_FADE", unit, auraType)
|
||||||
for n = 1, 30 do
|
for n = 1, 30 do
|
||||||
local spellName, texture, count, debuffType, duration, expirationTime, unitCaster, _, shouldConsolidate, spellID = UnitAura(unit, n, filter)
|
local spellName, texture, count, dispelType, duration, expirationTime, unitCaster, _, shouldConsolidate, spellID = UnitAura(unit, n, filter)
|
||||||
if ( not spellID ) then
|
if ( not spellID ) then
|
||||||
Gladdy:SendMessage("AURA_GAIN_LIMIT", unit, auraType, n - 1)
|
Gladdy:SendMessage("AURA_GAIN_LIMIT", unit, auraType, n - 1)
|
||||||
break
|
break
|
||||||
@ -284,7 +284,7 @@ function EventListener:UNIT_AURA(unit)
|
|||||||
if Gladdy.exceptionNames[spellID] then
|
if Gladdy.exceptionNames[spellID] then
|
||||||
spellName = Gladdy.exceptionNames[spellID]
|
spellName = Gladdy.exceptionNames[spellID]
|
||||||
end
|
end
|
||||||
Gladdy:SendMessage("AURA_GAIN", unit, auraType, spellID, spellName, texture, duration, expirationTime, count, debuffType, i)
|
Gladdy:SendMessage("AURA_GAIN", unit, auraType, spellID, spellName, texture, duration, expirationTime, count, dispelType, i)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user