Description
oUF ResComm is an element plug-in for oUF to coordinate resurrection in groups and raids.
It works either as a texture indicator or as a statusbar. The statusbar shows the progress of the resurrection cast on the specified unit.
The plug-in uses LibResComm-1.0 to communicate with oRA2/3, SmartRes1/2, CTRA and other LibResComm users.
Examples of Use
Texture
Code:
local rescomm = hp:CreateTexture(nil, "OVERLAY")
rescomm:SetTexture([=[Interface\Icons\Spell_Holy_Resurrection]=])
rescomm:SetAllPoints(hp)
rescomm:SetTexCoord(0.07, 0.93, 0.07, 0.93)
rescomm:SetBlendMode("ADD")
rescomm:SetAlpha(.25)
self.ResComm = rescomm
Statusbar
Code:
local rescomm = CreateFrame("StatusBar", nil, hp)
rescomm:SetStatusBarTexture([=[Interface\Icons\Spell_Holy_Resurrection]=])
rescomm:SetAllPoints(hp)
rescomm:SetAlpha(.25)
local texObject = rescomm:GetStatusBarTexture()
texObject:SetTexCoord(0.07, 0.93, 0.07, 0.93)
self.ResComm = rescomm
Optional Features
Code:
rescomm.OthersOnly = true
(
boolean) Defines whether the player's resurrection triggers the element or not.
Code:
rescomm.Override = func
(
function) Provides the user the ability to override the update function.
Don't forget to add this addon to your layout's optional dependencies!
Git repository
http://github.com/Guardix/oUF_ResComm
Ankhesa of Stormreaver-EU
Donations