15 lines
973 B
Lua
15 lines
973 B
Lua
-- Incindis (Octo BigWigs Raids/MC/Incindis.lua), Turtle MC boss, native server events.
|
|
-- boss_incindis.cpp: Quaking Stomp 42036 precedes Fire Nova 42037 (4.5 s cast, 15 yd). The nova warning now starts on the
|
|
-- nova's own cast start, which every client receives at once, instead of the stomp hit text.
|
|
local L = {bar_fireNova = "Fire Nova!", msg_fireNova = "FIRE NOVA - RUN AWAY!"}
|
|
local NOVA_CAST, ICON = 4.5, "spell_fire_selfdestruct"
|
|
local m = OctoBossMods:NewModule("Incindis", {npcs = {52145}, displayName = "Incindis", zone = "Molten Core"})
|
|
function m:FireNova()
|
|
if not self:Throttle("nova", 3) then return end
|
|
self:Message(L.msg_fireNova, "Urgent", false, "RunAway")
|
|
self:Bar(L.bar_fireNova, NOVA_CAST, ICON, true, "Red")
|
|
self:WarningSign(ICON, NOVA_CAST)
|
|
end
|
|
function m:NovaDone() self:RemoveBar(L.bar_fireNova) self:RemoveWarningSign(ICON) end
|
|
m.events = {SPELL_CAST_START = {[42037] = "FireNova"}, SPELL_CAST_SUCCESS = {[42037] = "NovaDone"}}
|