PitBull4_VengeanceBar
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.
Message: ...erface\AddOns\PitBull4_VengeanceBar\VengeanceBar.lua:33: attempt to index global 'HEALTH_PER_STAMINA' (a nil value)
Time: Tue Feb 8 18:07:45 2011
Count: 1
Stack: ...erface\AddOns\PitBull4_VengeanceBar\VengeanceBar.lua:33: in function <...erface\AddOns\PitBull4_VengeanceBar\VengeanceBar.lua:31>
...erface\AddOns\PitBull4_VengeanceBar\VengeanceBar.lua:82: in function <...erface\AddOns\PitBull4_VengeanceBar\VengeanceBar.lua:76>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:543: in function `EnableAddon'
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:635: in function <...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:621>
[C]: in function `LoadAddOn'
Interface\AddOns\PitBull4\Main.lua:1138: in function `LoadModules'
Interface\AddOns\PitBull4\Main.lua:1250: in function `OnProfileChanged'
Interface\AddOns\PitBull4\Main.lua:1321: in function <Interface\AddOns\PitBull4\Main.lua:1287>
(tail call): ?
[C]: ?
[string "safecall Dispatcher[1]"]:9: in function <[string "safecall Dispatcher[1]"]:5>
(tail call): ?
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:543: in function `EnableAddon'
...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:635: in function <...s\AckisRecipeList\libs\AceAddon-3.0\AceAddon-3.0.lua:621>
[C]: in function `LoadAddOn'
Interface\FrameXML\UIParent.lua:244: in function `UIParentLoadAddOn'
Interface\FrameXML\UIParent.lua:267: in function `CombatLog_LoadUI'
Interface\FrameXML\UIParent.lua:521: in function <Interface\FrameXML\UIParent.lua:494>
Locals: <none>
"As for removing the mouseover, just use the two lines inside the if-then-end block."
is there any chance so i can make it update text real-time and not only when i mouse over it
hi, it seems to be working fine for Druids now.
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.
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.