WoWInterface SVN mikma

Compare Revisions

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

Rev 563 → Rev 564

L2Play.lua
172,7 → 172,6
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
183,13 → 182,15
end
CastedSpell = nil
total = 0
if not L2:GetScript("OnUpdate") then L2:SetScript("OnUpdate", onUpdate) end
local activeScript = L2:GetScript("OnUpdate")
if not activeScript 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
if not L2:GetScript("OnUpdate") then L2:SetScript("OnUpdate", onUpdate) end
local activeScript = L2:GetScript("OnUpdate")
if not activeScript then L2:SetScript("OnUpdate", onUpdate) end
end
end
end
206,7 → 207,8
_G[name..k.."status"]:SetTexture(READY_CHECK_WAITING_TEXTURE)
total = 0
CastedSpell = true
if not L2:GetScript("OnUpdate") then L2:SetScript("OnUpdate", onUpdate) end
local activeScript = L2:GetScript("OnUpdate")
if not activeScript then L2:SetScript("OnUpdate", onUpdate) end
end
end
end