Files
2026-11-23 03:28:32 +02:00

15 lines
1013 B
Lua

-- Wushoolay (Octo BigWigs Raids/ZG/Wushoolay.lua), native server events.
-- boss_wushoolay.cpp: Lightning Cloud 25033, Lightning Wave 24819 (Octo's 1.5 s "Chain Lightning" cast; on the local
-- server it is instant, so the interrupt bar only appears when the server reports a cast start).
local L = {chainlightning_bar = "Chain Lightning", chainlightning_message = "Chain Lightning! Interrupt it!",
lightningcloud_message = "Get out of the Lightning Cloud!"}
local m = OctoBossMods:NewModule("Wushoolay", {npcs = {15085}, displayName = "Wushoolay", zone = "Zul'Gurub"})
function m:Cloud(_, _, dstGUID)
if dstGUID == UnitGUID("player") and self:Throttle("cloud", 2) then self:Message(L.lightningcloud_message, "Attention", false, "Alarm") end
end
function m:Chain()
self:Message(L.chainlightning_message, "Important")
self:Bar(L.chainlightning_bar, 1.5, "Spell_Nature_ChainLightning", true, "Blue")
end
m.events = {SPELL_AURA_APPLIED = {[25033] = "Cloud"}, SPELL_CAST_START = {[24819] = "Chain"}}