localtimerUnleashedMagicCD=mod:NewCDTimer(66,93556,nil,nil,nil,2)--66 Cd but least priority spell, she will cast breath, fissure zone or buffet before this, so overlapping CDs often delay this upwards to 5 seconds late
localspecialCharging=false
localhasPower=false
localzoneName=DBM:GetSpellInfo(93553)
functionmod:FissureTarget()
localtargetname=self:GetBossTarget(50061)
ifnottargetnamethenreturnend
iftargetname==UnitName("player")then
specWarnTwilightFissure:Show()
specWarnTwilightFissure:Play("targetyou")
else
warnTwilightFissure:Show(targetname)
end
end
functionmod:OnCombatStart(delay)
specialCharging=false
hasPower=false
timerTwilightBuffetCD:Start(10-delay)
timerTwilightZoneCD:Start(-delay)--Not a large sample size but seems like it'd be right.
timerTwilightFissureCD:Start(-delay)--May not be right, not a large sample size
timerUnleashedMagicCD:Start(18)--Start a bar in case one doesn't exist, so update function can do it's thing after.
timerUnleashedMagicCD:Update(48,66)--Create/update bar here if one doesn't exist or it's wrong (since it varies sometimes if she delays her energy gain spell)
ifspellId==93554andnotspecialChargingthen-- Fury of the twilight flight. Sometimes she bugs and doesn't cast this,if she doesnt, she won't gain unit power and thus won't use any specials.
specialCharging=true
ifnothasPowerthen--She retains power from previous wipes, so only start this bar if it's 0 on engage, otherwise don't bother, let update function start it later