Download
(4Kb)
Download
Updated: 10-02-17 05:07 PM
Compatibility:
Shadows of Argus (7.3.0)
Tomb of Sargeras (7.2.0)
Return to Karazhan (7.1.5)
Legion (7.0.3)
Updated:10-02-17 05:07 PM
Created:10-02-17 05:07 PM
Downloads:506
Favorites:0
MD5:

oUF IgnorePain

Version: r10
by: Pobre [More]

Description

oUF IgnorePain is an element plug-in for unitframe framework oUF.
It does nothing by itself, it is to be used in a layout that supports it.

Features

  • Ignore Pain bar with current and maximum absorb pool.
  • Tags: current and maximum.

How to implement

Lua Code:
  1. local IgnorePain = CreateFrame("StatusBar", nil, self)  
  2. IgnorePain:SetSize(120, 20)  
  3. IgnorePain:SetPoint("TOPLEFT", self, "BOTTOMLEFT", 0, 0)
  4.  
  5. self:Tag(YourTagFrame, "[ignorepain:cur]") -- Current IgnorePain absorb
  6. self:Tag(YourTagFrame2, "[ignorepain:max]") -- Maximum IgnorePain absorb
  7.  
  8. -- Register with oUF  
  9. self.IgnorePain = IgnorePain

It's a good idea to create this element only when the Warrior is in Protection Specialization.

Feedback

Any suggestions or questions, please use the comments section.
Want to report a bug or contribute to the project? Please follow this link to get started.

Legal

You can read the license here.

Optional Files (0)


There have been no comments posted to this file.
Be the first to add one.



Category Jump: