PitBull4_VengeanceBar

Example

Adds a bar indicating the attack power gained from your Vengeance to PitBull.

The bar will only be shown on the player unit frame when using a tank spec, optionally hidden while not in a tanking stance/form/presence.

The addon also provides two functions in the LuaTexts script environment: VengeanceAP() and VengeanceAPMax().

Example custom text code:

local cur, max = VengeanceAP(), VengeanceAPMax()
if max > 1 then
  return "%d/%d", cur, max
end
return ConfigMode()

Updating on the "UNIT_AURA" event.

You must login to post a comment. Don't have an account? Register to get one!

  • 6 comments
  • Avatar of Ravengus Ravengus Apr 30, 2011 at 19:05 UTC - 0 likes
    local cur,max = VengeanceAP(),VengeanceAPMax()
    if max and cur then
     return "%d/%d (%d%%)",cur,max,Percent(cur,max)
    end
    
  • Avatar of nebula169 nebula169 Jan 16, 2011 at 23:56 UTC - 0 likes

    "As for removing the mouseover, just use the two lines inside the if-then-end block."

  • Avatar of Iskrentz Iskrentz Jan 15, 2011 at 17:39 UTC - 0 likes

    is there any chance so i can make it update text real-time and not only when i mouse over it

  • Avatar of Milanh Milanh Dec 22, 2010 at 08:31 UTC - 0 likes

    hi, it seems to be working fine for Druids now.

  • Avatar of nebula169 nebula169 Dec 19, 2010 at 11:49 UTC - 0 likes

    The addon only checks spec, not stance. I suppose I could implement it, wasn't an issue for warriors. As for removing the mouseover, just use the two lines inside the if-then-end block.

  • Avatar of Milanh Milanh Dec 03, 2010 at 08:44 UTC - 0 likes

    Hi , I was looking for something like that. Unfortunately I don't know how to use Lua. Can anyone post the above script but without mouseOver? I want it to be present permanently. Also the bar remains present in all forms as a Druid. When I change to cat it is still there and back into human form.

  • 6 comments

Facts

Date created
Oct 20, 2010
Categories
Last update
Mar 17, 2014
Development stage
Release
Language
  • enUS
License
Public Domain
Curse link
PitBull4_VengeanceBar
Downloads
16,684
Recent files
  • A: r41 for 5.4.7 Mar 17, 2014
  • R: 1.4.1 for 5.4.7 Mar 16, 2014
  • A: r39 for 5.4.2 Feb 05, 2014
  • R: 1.4 for 5.3.0 Jul 21, 2013
  • A: r38 for 5.3.0 Jul 21, 2013

Authors

Relationships

Required dependency
PitBull Unit Frames 4.0