| name | age | message | |
|---|---|---|---|
| |
README.textile | ||
| |
evl_RaidStatus.lua | ||
| |
evl_RaidStatus.toc |
README.textile
Modular text-based raid status monitor.

Customization
AddWatch accepts a name and a callback parameter which is fed with the unit id of a raider, a simple watch can be added as follows:
evl_RaidStatus:AddWatch("Dead", function(unit) return UnitIsDeadOrGhost(unit) end)
You can add much more complex callbacks:
local healerClasses = {"PRIEST", "SHAMAN", "DRUID", "PALADIN"}
local lowManaThreshold = 0.2
evl_RaidStatus:AddWatch("Low Healer Mana", function(unit)
local class, classId = UnitClass(unit)
-- We only want to include healer classes
if healerClasses[classId] and UnitPowerType(unit) == 0 then
return (UnitMana(unit) / UnitMaxMana(unit) <= lowManaThreshold)
end
end)

