Skip to content

Commit

Permalink
WTF?
Browse files Browse the repository at this point in the history
  • Loading branch information
Shestak committed Aug 11, 2015
1 parent a3981c6 commit 6c3b94a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ShestakUI/Modules/Cooldowns/RaidCD.lua
Expand Up @@ -190,22 +190,22 @@ end
local StartTimer = function(name, spellId)
local spell, _, icon = GetSpellInfo(spellId)
if charges and spellId == 20484 then
--团队首领战中战复技能计时特殊处理
-- 团队首领战中战复技能计时特殊处理 (Need review)
for _, v in pairs(Ressesbars) do
UpdateCharges(v)
return
end
end
for _, v in pairs(bars) do
if v.name == name and v.spell == spell then
--发现重复计时事件时重置计时条,适应战复以外充能技能
-- 发现重复计时事件时重置计时条,适应战复以外充能技能 (Need review)
StopTimer(v)
end
end
local bar = CreateBar()
local color = (CUSTOM_CLASS_COLORS or RAID_CLASS_COLORS)[select(2, UnitClass(name))]
if charges and spellId == 20484 then
--初始化战复技能计时条
-- 初始化战复技能计时条 (Need review)
local curCharges, _, start, duration = GetSpellCharges(20484)
currentNumResses = curCharges
bar.startTime = start
Expand Down Expand Up @@ -336,10 +336,10 @@ f:RegisterEvent("COMBAT_LOG_EVENT_UNFILTERED")
f:RegisterEvent("ZONE_CHANGED_NEW_AREA")

SlashCmdList.RaidCD = function()
StartTimer(UnitName("player"), 740)
StartTimer(UnitName("player"), 740) --
StartTimer(UnitName("player"), 20484) -- Rebirth
StartTimer(UnitName("player"), 20707) -- Soulstone
StartTimer(UnitName("player"), 108280) -- Healing Tide Totem
end
SLASH_RaidCD1 = "/raidcd"
SLASH_RaidCD2 = "/кфшвсв"
SLASH_RaidCD2 = "/кфшвсв"

0 comments on commit 6c3b94a

Please sign in to comment.