PitBull4_VengeanceBar

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

You need to enable the bar on a layout before it'll show. The bar will only be shown when using a tank spec and will only update on "player" unit frames.

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

An example custom text:

if IsMouseOver() then
  local cur,max = VengeanceAP(),VengeanceAPMax()
  return "%d/%d (%d%%)",cur,max,Percent(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
Nov 29, 2011
Development stage
Release
Language
  • enUS
License
Public Domain
Curse link
PitBull4_VengeanceBar
Downloads
9,361
Recent files
  • A: r19 for 4.3 Nov 29, 2011
  • R: 1.2.2 for 4.2 Jul 15, 2011
  • A: r17 for 4.2 Jul 04, 2011
  • R: 1.2.1 for 4.1 Apr 27, 2011
  • A: r15 for 4.1 Apr 27, 2011

Authors

Relationships

Required dependency
PitBull Unit Frames 4.0