Untitled diff
20 removals
Words removed | 13 |
Total words | 77 |
Words removed (%) | 16.88 |
48 lines
4 additions
Words added | 13 |
Total words | 77 |
Words added (%) | 16.88 |
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