Подсказали мне замечательную мысль открыть код аддонов для кастбаров. Открыл я кварц и увидел там замечательное
if not IsLegion then
channelingTicks = {
-- warlock
[GetSpellInfo(689)] = 6, -- drain life
[GetSpellInfo(103103)] = 4, -- drain soul
[GetSpellInfo(5740)] = 6, -- rain of fire
-- druid
[GetSpellInfo(740)] = 4, -- Tranquility
[GetSpellInfo(16914)] = 10, -- Hurricane
[GetSpellInfo(106996)] = 10, -- Astral Storm
-- priest
[GetSpellInfo(15407)] = 3, -- mind flay
[GetSpellInfo(129197)] = 3, -- mind flay: insanity
[GetSpellInfo(48045)] = 5, -- mind sear
[GetSpellInfo(47540)] = 2, -- penance
[GetSpellInfo(179338)] = 5, -- Searing Insanity
-- mage
[GetSpellInfo(5143)] = 5, -- arcane missiles
[GetSpellInfo(10)] = 8, -- blizzard
[GetSpellInfo(12051)] = 3, -- evocation
-- monk
[GetSpellInfo(125953)] = 9, -- soothing mist
[GetSpellInfo(117952)] = 4, -- crackling jade lightning
}
else
channelingTicks = {
-- warlock
[GetSpellInfo(689)] = 6, -- drain life
[GetSpellInfo(193440)] = 3, -- demonwrath
[GetSpellInfo(198590)] = 6, -- drain soul
-- druid
[GetSpellInfo(740)] = 4, -- tranquility
-- priest
[GetSpellInfo(64843)] = 4, -- divine hymn
[GetSpellInfo(15407)] = 4, -- mind flay
[GetSpellInfo(48045)] = 5, -- mind sear
[GetSpellInfo(47540)] = 2, -- penance
[GetSpellInfo(205065)] = 4, -- void torrent
-- mage
[GetSpellInfo(5143)] = 5, -- arcane missiles
[GetSpellInfo(12051)] = 3, -- evocation
[GetSpellInfo(205021)] = 10, -- ray of frost
-- monk
[GetSpellInfo(117952)] = 4, -- crackling jade lightning
[GetSpellInfo(191837)] = 3, -- essence font
}
end
if not IsLegion and IsSpellKnown(157223) then
-- draenor perk increases mind flay/insanity to 4 ticks
channelingTicks[GetSpellInfo(15407)] = 4
channelingTicks[GetSpellInfo(129197)] = 4
end