Unnamed
public text v1 · immutablefunction GridModule:EnableModuleBanzai()
self:RegisterEvent("Banzai_UnitGainedAggro")
self:RegisterEvent("Banzai_UnitLostAggro")
end
function GridModule:Banzai_UnitGainedAggro(unitid)
local color = {1, 0, 0, 1} -- this should be pulled from the module option
Grid:StatusGained(unitid, "aggro", nil, 1, color)
end
function GridModule:Banzai_UnitLostAggro(unitid)
Grid:StatusLost(unitid, "aggro")
end