WoWInterface SVN mikma

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /L2Play
    from Rev 564 to Rev 563
    Reverse comparison

Rev 564 → Rev 563

L2Play.lua
172,6 → 172,7
if L2:CheckDB() then
if guidsource == UnitGUID("player") then
spellid, spellname = ...
local fooevent = minievent
for k,v in ipairs(L2PlayDB[GetActiveTalentGroup()]) do
if CastedSpell and step == k and spellname == v then
if minievent == "SPELL_DAMAGE" or minievent == "SPELL_AURA_APPLIED" or minievent == "SPELL_AURA_REFRESH" then
182,15 → 183,13
end
CastedSpell = nil
total = 0
local activeScript = L2:GetScript("OnUpdate")
if not activeScript then L2:SetScript("OnUpdate", onUpdate) end
if not L2:GetScript("OnUpdate") then L2:SetScript("OnUpdate", onUpdate) end
elseif minievent == "SPELL_MISSED" then
_G[name..step.."status"]:SetTexture(READY_CHECK_NOT_READY_TEXTURE)
_G[name..step.."Cooldown"]:SetCooldown(GetTime(),0)
CastedSpell = nil
total = 0
local activeScript = L2:GetScript("OnUpdate")
if not activeScript then L2:SetScript("OnUpdate", onUpdate) end
if not L2:GetScript("OnUpdate") then L2:SetScript("OnUpdate", onUpdate) end
end
end
end
207,8 → 206,7
_G[name..k.."status"]:SetTexture(READY_CHECK_WAITING_TEXTURE)
total = 0
CastedSpell = true
local activeScript = L2:GetScript("OnUpdate")
if not activeScript then L2:SetScript("OnUpdate", onUpdate) end
if not L2:GetScript("OnUpdate") then L2:SetScript("OnUpdate", onUpdate) end
end
end
end