Download
(2 Kb)
Download
Updated: 08-01-11 02:52 PM
Updated:08-01-11 02:52 PM
Created:11-28-10 01:46 PM
Downloads:2,821
Favorites:14
MD5:
oUF Vengeance
Version: 40200.5
by: Thalyra [More]
Supported oUF Version: 1.5.x

Description:
oUF Vengeance is a element plug-in made for the UnitFrame framework oUF.
It is required that you have this addon updated at all times to make everything work as it should.
You can download oUF by clicking here.

Features:
- Bar for Vengeance for Tanks
- Text on that bar

Note:
Read the documentation inside the lua file for usage.
You need to add this addon to your layout's toc metadata!

Credits:
Dridzt for Vengeance Status (Inspiration for oUF_Vengeance)
40200.5:
- fixed little error with full bar but zero vengeance + some minor tweaks

40200.4:
- fixed bad argument to string.match error

40200.3:
- some code improvements
feraldruid check simplified
getTooltipText simplified

40200.2:
- fixed an error appearing infight

40200.1:
- update for 4.2
- added the improvement mentioned in the comments

40100.2:
- Fixed bug with bar:OverrideText(value)

40100.1:
- ToC update

40000.6:
- fixed the dk issue

40000.5:
- some minor code improvements and changes
- fixed the vengeance calculation to 0.1 * base health + stamina

40000.4:
- finally fixed the login bug -.-

40000.3:
- fixed a bug where sometimes on login i got a full bar without any vengeance buff active (now it hides on login)

40000.2:
- fixed a bug regarding text

40000.1:
- Initial Release
Archived Files (9)
File Name
Version
Size
Author
Date
40200.4
2kB
Thalyra
07-17-11 09:55 AM
40200.3
2kB
Thalyra
07-08-11 08:21 AM
40200.2
2kB
Thalyra
06-29-11 10:23 AM
40200.1
2kB
Thalyra
06-28-11 11:27 AM
40100.2
2kB
Thalyra
05-24-11 09:54 AM
40100.1
2kB
Thalyra
04-30-11 07:43 AM
40000.6
2kB
Thalyra
02-18-11 01:23 PM
40000.5
2kB
Thalyra
02-11-11 06:32 AM
40000.4
2kB
Thalyra
12-05-10 06:45 AM


Post A Reply Comment Options
Old 02-17-11, 01:42 PM  
Zurechial
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
I've noticed that this addon fails the isTank check on any of my DK characters.
When I changed this line:

Code:
		
elseif class == "DEATH KNIGHT" and masteryIndex == 1 then
to this:
Code:
elseif class == "DEATHKNIGHT" and masteryIndex == 1 then
It started working and recognising my character as a tank. I don't know if it's a localization issue maybe, but I'm using the enGB client and it only seems to work when the class string is used without a space.
Zurechial is offline Report comment to moderator  
Reply With Quote
Old 02-11-11, 10:13 AM  
Sarkan-ZdC
A Wyrmkin Dreamwalker

Forum posts: 57
File comments: 96
Uploads: 0
Originally posted by zork
The thing is...how do you determine the max value? Is there a max value for vengeance?
Will you add vengeance in the roth ui?
Sarkan-ZdC is offline Report comment to moderator  
Reply With Quote
Old 02-11-11, 10:12 AM  
Sarkan-ZdC
A Wyrmkin Dreamwalker

Forum posts: 57
File comments: 96
Uploads: 0
Originally posted by Thalyra
the max value is 0.1 * UnitMaxHealth

Vengeance
Is wrong:

Hey all, I'm hopping in to see if this will help you all a bit in understanding how this is meant to work. Hopefully it will clear up a little confusion.

The Vengeance calculation is working correctly as far as we can ascertain. Vengeance caps at a number equal to Stamina plus 10% of base health, which is lower than 10% of health. When we buffed Stamina late in Cataclysm development, we specifically did not buff Vengeance because we didnít think tanks needed 40% additional attack power in order to maintain threat or contribute to damage done by the group. The Vengeance tooltip is a little misleading, but in this case we think thatís fine because a more technically accurate tooltip would be quite long. Astute theorycrafters will understand the difference, while most tanks wonít actually be affected by the delta.

http://blue.mmo-champion.com/topic/1...maximum-health

So right is: Stamina + 10% Base HP
Sarkan-ZdC is offline Report comment to moderator  
Reply With Quote
Old 02-08-11, 02:08 PM  
unstoppixel
An Aku'mai Servant
 
unstoppixel's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 37
File comments: 136
Uploads: 2
Would love to see a screenshot
__________________
unstoppixel is offline Report comment to moderator  
Reply With Quote
Old 12-05-10, 04:30 AM  
Thalyra
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 46
Uploads: 1
sry, my bad, i tried to set the text to the bar itself, not to the text oO
Thalyra is offline Report comment to moderator  
Reply With Quote
Old 12-04-10, 12:38 PM  
Faraque
A Theradrim Guardian
 
Faraque's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 68
File comments: 108
Uploads: 1
Having errors while using this with ouf_karma. Started throwing errors when I switched from my Arms spec to my Prot spec while leveling in Un'Goro. Error is below.

I'll cross post this with ouf_karma since I'm not sure which it belongs to.

Code:
Message: Interface\AddOns\oUF_Vengeance\oUF_Vengeance.lua:102: attempt to call method 'SetText' (a nil value)
Time: 12/04/10 11:32:43
Count: 47
Stack: Interface\AddOns\oUF_Vengeance\oUF_Vengeance.lua:102: in function <Interface\AddOns\oUF_Vengeance\oUF_Vengeance.lua:79>
(tail call): ?

Locals: self = oUF_karmaPlayer {
 0 = <userdata>
 MasterLooter = <unnamed> {
 }
 __tags = <table> {
 }
 PLAYER_ENTERING_WORLD = <function> defined @Interface\AddOns\oUF\ouf.lua:289
 Leader = <unnamed> {
 }
 UNIT_SPELLCAST_CHANNEL_START = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:171
 Resting = <unnamed> {
 }
 UNIT_MAXHEALTH = <table> {
 }
 PLAYER_UPDATE_RESTING = <function> defined @Interface\AddOns\oUF\elements\resting.lua:12
 Power = <unnamed> {
 }
 UNIT_SPELLCAST_NOT_INTERRUPTIBLE = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:117
 PLAYER_REGEN_DISABLED = <function> defined @Interface\AddOns\oUF\elements\combat.lua:12
 style = "karma"
 SmoothBar = <function> defined @Interface\AddOns\oUF_Karma\Elements\smooth.lua:15
 ACTIVE_TALENT_GROUP_CHANGED = <function> defined @Interface\AddOns\oUF_Vengeance\oUF_Vengeance.lua:43
 RAID_TARGET_UPDATE = <function> defined @Interface\AddOns\oUF\elements\ricons.lua:19
 UNIT_EXITED_VEHICLE = <function> defined @Interface\AddOns\oUF\elements\vehicle.lua:4
 PARTY_LEADER_CHANGED = <function> defined @Interface\AddOns\oUF\elements\leader.lua:13
 UNIT_CONNECTION = <table> {
 }
 UNIT_ENTERED_VEHICLE = <function> defined @Interface\AddOns\oUF\elements\vehicle.lua:4
 UNIT_MAXPOWER = <function> defined @Interface\AddOns\oUF\elements\power.lua:73
 Vengeance = <unnamed> {
 }
 PLAYER_LOGIN = <table> {
 }
 UNIT_SPELLCAST_INTERRUPTIBLE = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:103
 UNIT_SPELLCAST_START = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:15
 UNIT_SPELLCAST_SENT = <function> defined @Interface\AddOns\oUF_Karma\castbar.lua:87
 UNIT_SPELLCAST_DELAYED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:131
 UNIT_POWER = <function> defined @Interface\AddOns\oUF\elements\health.lua:62
 PARTY_LOOT_METHOD_CHANGED = <function> defined @Interface\AddOns\oUF\elements\masterlooter.lua:30
 PLAYER_REGEN_ENABLED = <function> defined @Interface\AddOns\oUF\elements\combat.lua:12
 UNIT_SPELLCAST_CHANNEL_STOP = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:242
 PvP = <unnamed> {
 }
 UNIT_AURA = <function> defined @Interface\AddOns\oUF_Vengeance\oUF_Vengeance.lua:79
 UNIT_SPELLCAST_CHANNEL_UPDATE = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:218
 PARTY_MEMBERS_CHANGED = <table> {
 }
 UNIT_SPELLCAST_INTERRUPTED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:84
 Combat = <unnamed> {
 }
 Assistant = <unnamed> {
 }
 mystyle = "player"
 unit = "player"
 UNIT_FACTION = <table> {
 }
 PLAYER_TALENT_UPDATE = <function> defined @Interface\AddOns\oUF_Vengeance\oUF_Vengeance.lua:43
 UNIT_SPELLCAST_STOP = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:152
 Health = <unnamed> {
 }
 menu = <function> defined @Interface\AddOns\oUF_Karma\lib.lua:76
 Castbar = oUF_karmaCastbarplayer {
 }
 RaidIcon = <unnamed> {
 }
 __elements = <table> {
 }
 Highlight = <unnamed> {
 }
 UNIT_SPELLCAST_FAILED = <function> defined @Interface\AddOns\oUF\elements\castbar.lua:65
}
bar = <unnamed> {
 0 = <userdata>
 Text = <unnamed> {
 }
 bg = <unnamed> {
 }
 isTank = true
}
name = "Vengeance"
text = "VengeanceEnrageIncreases attack power by 2."
value = 2
(*temporary) = nil
(*temporary) = <unnamed> {
 0 = <userdata>
 Text = <unnamed> {
 }
 bg = <unnamed> {
 }
 isTank = true
}
(*temporary) = 2
(*temporary) = "attempt to call method 'SetText' (a nil value)"
vengeance = "Vengeance"
tooltip = VengeanceTooltip {
 0 = <userdata>
 updateTooltip = 0.2
}
getTooltipText = <function> defined @Interface\AddOns\oUF_Vengeance\oUF_Vengeance.lua:32
__________________
"imo Fara raged and gave Joker his scars" - Blueninja of Shadowmoon
Faraque is offline Report comment to moderator  
Reply With Quote
Old 11-28-10, 04:45 PM  
Sauerkraut
A Cyclonian
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 46
File comments: 219
Uploads: 11
Originally posted by zork
The thing is...how do you determine the max value? Is there a max value for vengeance?
Vengeance caps out at 10% of your health.

From wowhead:

Each time you take damage, you gain 5% of the damage taken as attack power, up to a maximum of 10% of your health.
Sauerkraut is offline Report comment to moderator  
Reply With Quote
Old 11-28-10, 04:43 PM  
Thalyra
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 46
Uploads: 1
the max value is 0.1 * UnitMaxHealth

Vengeance
Thalyra is offline Report comment to moderator  
Reply With Quote
Old 11-28-10, 04:30 PM  
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1310
File comments: 3288
Uploads: 84
The thing is...how do you determine the max value? Is there a max value for vengeance?
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is online now Report comment to moderator  
Reply With Quote
Old 11-28-10, 03:45 PM  
Thalyra
A Deviate Faerie Dragon
AddOn Author - Click to view AddOns

Forum posts: 13
File comments: 46
Uploads: 1
thank you very much, i will edit this with the next version
Thalyra is offline Report comment to moderator  
Reply With Quote
Old 11-28-10, 03:17 PM  
Sauerkraut
A Cyclonian
 
Sauerkraut's Avatar
AddOn Author - Click to view AddOns

Forum posts: 46
File comments: 219
Uploads: 11
There is an error in your example code. Right now it shows

Code:
.Vengeance = CreateFrame("Frame", nil, self)
but it need to be

Code:
.Vengeance = CreateFrame("StatusBar", nil, self)
Thanks for making this plugin I've been using Vengeance status but this makes my life much easier
Sauerkraut is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: