Skip to content

Commit

Permalink
Cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
Shestak committed Aug 11, 2015
1 parent b46228e commit 7250275
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ShestakUI/Modules/Cooldowns/RaidCD.lua
Original file line number Diff line number Diff line change
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)
-- 团队首领战中战复技能计时特殊处理 -- Needs 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)
-- 发现重复计时事件时重置计时条,适应战复以外充能技能 -- Needs 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)
-- 初始化战复技能计时条 -- Needs review
local curCharges, _, start, duration = GetSpellCharges(20484)
currentNumResses = curCharges
bar.startTime = start
Expand Down

0 comments on commit 7250275

Please sign in to comment.