Untitled diff

Created Diff never expires
20 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
48 lines
4 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
34 lines
function(event, ...)
function(event, ...)
local timeStamp, subevent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellId, spellName, spellSchool, extraSpellID, extraSpellName, extraSchool = ...
local timeStamp, subevent, hideCaster, sourceGUID, sourceName, sourceFlags, sourceRaidFlags, destGUID, destName, destFlags, destRaidFlags, spellId, spellName, spellSchool, extraSpellID, extraSpellName, extraSchool = ...
if event == "ENCOUNTER_START" then
aura_env.shackles = {}
local aura_env = aura_env
end
if subevent == "SPELL_CAST_SUCCESS" and spellName == "Устроенный хаос" then
if subevent == "SPELL_CAST_SUCCESS" and spellName == "Устроенный хаос" then
return true
return true
end
end
if spellName == "Скованное страдание" then
if spellName == "Скованное страдание" then
if subevent == "SPELL_AURA_APPLIED" then
if subevent == "SPELL_AURA_APPLIED" then
destName = select(6, GetPlayerInfoByGUID(destGUID))
local x, y = UnitPosition(destName)
local x, y = UnitPosition(destName)
destName = destName:gsub("-.*", "")
--aura_env.shackles = aura_env.shackles or {}
--table.insert(aura_env.shackles, {["name"]=destName, ["x"]=x, ["y"]=y})
--table.insert(aura_env.shackles, {["name"]=destName, ["x"]=x, ["y"]=y})
aura_env.shackles[destName] = {["x"]=x, ["y"]=y}
aura_env.shackles[destName] = {["x"]=x, ["y"]=y}
return true
return true
end
end
end
end
end
end