Download
(5 Kb)
Download
Updated: 08-26-14 06:21 AM
Pictures
File Info
Compatibility:
Siege of Orgrimmar (5.4)
Escalation (5.3)
Thunder Isle (5.2)
Landfall (5.1)
Mists of Pandaria (5.0.4)
Updated:08-26-14 06:21 AM
Created:10-20-12 02:36 AM
Downloads:2,151
Favorites:20
MD5:
Categories:Warrior, Tank, Combat Mods
5.4
Shield Maid  Updated less than 3 days ago!
Version: 1.3.8
by: Twattle [More]
Introduction

Shield Maid is a tracker for the two Warrior abilities Shield Barrier and Shield Block. The addon helps decide what ability gives you the best mitigation for your rage points.

The addon adds an icon for each of the two abilities. The icons mimic buttons in indicating whether you have enough rage for each ability. When active, the icons show remaining duration for the buffs. The Shield Barrier icon shows remaining absorb value and the Shield Block icon shows total damage absorbed for the duration of the buff.


Mitigation estimates

The addon calculates the estimated value of Shield Barrier if cast, by looking at your current rage, attack power and stamina levels. The addon also keeps track of incoming, blockable, damage and uses this information to estimate how much your Shield Block ability will mitigate if activated.

The most feasible ability is highlighted with a glow to make it easy to choose where to spend your rage.

NB: When comparing estimated mitigation values, the estimated Shield Barrier value at 60 rage is compared to the estimated mitigation from block (including critical blocks) of the last 6 seconds of incoming damage. This means that the Shield Barrier icon will glow even though the estimated Shield Barrier value is less than the estimated Shield Block value if the mitigation to rage ratio is higher for Shield Barrier.


Configuration

No ingame configuration is available, but a few configuration variables can be adjusted in the Config.lua file.


Changelog

1.3.8:
  • Updated for patch 5.4.
  • Removed the glow alpha configuration option.

1.3.7:
  • Updated for patch 5.1.

1.3.6:
  • Added an option to hide the frames out of combat. Credit goes to Mock for implementation tips.

1.3.5:
  • Added a frame for the icons. The set the frameAlpha-variable to 0 if you wish to hide it.
  • Changed the name of the spacing-variable to margin. The variable now also controls the width of the frame.

1.3.4:
  • Loading and unloading should now work for players using other locales than enGB.

1.3.3:
  • Fixed a bug that sometimes prevented the addon from loading.

1.3.2:
  • The addon now dynamically loads and unloads depending on your class and spec.
  • Added a configuration option for frame strata that defaults to MEDIUM.

1.3.1:
  • Fixed a small bug that would pause logging of blockable damage while Shield Block was active.

1.3.0:
  • Changed the way Shield Block value is estimated. The addon now looks at incoming blockable damage and keeps a moving sum over the last 6 seconds.
  • Added an overlay bar that shows remaining Shield Barrier absorb value.
  • Changed when the glow indicator is shown. The indicator is now only visible when you have enough rage for the preferred ability.
  • Changed the default alpha of inactive icons.

1.2.2:
  • Changed the default font again. Finally satisfied.
  • Changed the default color for information text.
  • Changed the default color and opacity on the glow.
  • Added number truncation, ie. 12345 --> 12k.
  • Added an option for spacing between the two icons.

1.2.1:
  • Fixed a bug in the configuration option to hide the glow.

1.2.0:
  • Changed the font to a monospace font.
  • Removed the decimals from the countdown text.
  • Added an estimated block value which is set to the total amount blocked during the last Shield Block.
  • Added a glow effect that indicates what ability is most feasible. This can be turned off in the Config.lua-file.

1.1.0:
  • Icons are now always visible. Set the inactiveAlpha-variable to 0 in the Config.lua file if you wish to hide icons when the buffs are not active.
  • Icons are now tinted when you have insufficient rage for the corresponding ability.
  • The Shield Barrier icon now shows a predicted absorb value when the buff is not already active and you have sufficient rage.

1.0.3:
  • Added configuration options for anchor and scale.
  • Added several more configuration options for the two types of text.
  • Added an option to show thousands separators.

1.0.2:
  • Identifying spells by id instead of name to avoid localization-issues.
  • Split the config and core code into two separate files.
  • Set the frame strata to "HIGH" on icons to avoid overlap-issues.
  • Bug fixes.

1.0.1:
  • Bug fixes.
Optional Files (0)


Archived Files (15)
File Name
Version
Size
Author
Date
1.3.7
5kB
Twattle
12-03-12 11:57 AM
1.3.6
5kB
Twattle
11-01-12 01:34 PM
1.3.5
5kB
Twattle
10-29-12 05:53 AM
1.3.4
5kB
Twattle
10-28-12 09:50 AM
1.3.3
5kB
Twattle
10-28-12 12:59 AM
1.3.2
5kB
Twattle
10-27-12 11:27 PM
1.3.1
5kB
Twattle
10-27-12 07:48 AM
1.2.2
4kB
Twattle
10-24-12 12:33 PM
1.2.1
4kB
Twattle
10-23-12 10:46 PM
1.2.0
4kB
Twattle
10-23-12 02:57 PM
1.1.0
4kB
Twattle
10-22-12 02:11 PM
1.0.3
3kB
Twattle
10-21-12 08:52 AM
1.0.2
2kB
Twattle
10-21-12 01:16 AM
1.0.1
2kB
Twattle
10-20-12 09:41 AM
1.0.0
2kB
Twattle
10-20-12 02:36 AM


Post A Reply Comment Options
Unread 12-03-12, 12:03 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1190
File comments: 784
Uploads: 82
Originally Posted by Twattle
Originally Posted by Dridzt
Change line 210 to this:
Code:
local name, _, _, _, _, _, expires, _, _, _, _, _, _, _, absorb = UnitBuff("player", shieldBarrierSpellName)
add one more throwaway variable before absorb.
I added a new version with this change. I haven't renewed my subscription, so I am unable to test whether it works or not. Also, I won't be renewing my subscription again since I'm getting a baby soon Enabled patching for the addon, so feel free to add downloads if you like.
Congratulations
Dridzt is offline Report comment to moderator  
Reply With Quote
Unread 12-03-12, 11:59 AM  
Twattle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Originally Posted by Dridzt
Change line 210 to this:
Code:
local name, _, _, _, _, _, expires, _, _, _, _, _, _, _, absorb = UnitBuff("player", shieldBarrierSpellName)
add one more throwaway variable before absorb.
I added a new version with this change. I haven't renewed my subscription, so I am unable to test whether it works or not. Also, I won't be renewing my subscription again since I'm getting a baby soon Enabled patching for the addon, so feel free to add downloads if you like.
Twattle is online now Report comment to moderator  
Reply With Quote
Unread 11-29-12, 04:22 PM  
Gallahead
A Kobold Labourer
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 196
Uploads: 2
thanks!
__________________
Thinktank UI
Gallahead, Tank since WoW 1.0
Gallahead is offline Report comment to moderator  
Reply With Quote
Unread 11-29-12, 04:25 AM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1190
File comments: 784
Uploads: 82
Originally Posted by Gallahead
patch 5.1
i get the following error when using shield barrier:
Change line 210 to this:
Code:
local name, _, _, _, _, _, expires, _, _, _, _, _, _, _, absorb = UnitBuff("player", shieldBarrierSpellName)
add one more throwaway variable before absorb.
Dridzt is offline Report comment to moderator  
Reply With Quote
Unread 11-28-12, 11:21 AM  
Gallahead
A Kobold Labourer
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 196
Uploads: 2
patch 5.1
i get the following error when using shield barrier:
Message: Interface\AddOns\ShieldMaid\Core.lua:163: attempt to compare number with boolean
Time: 11/28/12 18:19:24
Count: 1681
Stack: Interface\AddOns\ShieldMaid\Core.lua:163: in function <Interface\AddOns\ShieldMaid\Core.lua:162>
Interface\AddOns\ShieldMaid\Core.lua:213: in function <Interface\AddOns\ShieldMaid\Core.lua:209>
Interface\AddOns\ShieldMaid\Core.lua:252: in function <Interface\AddOns\ShieldMaid\Core.lua:248>
Interface\AddOns\ShieldMaid\Core.lua:361: in function <Interface\AddOns\ShieldMaid\Core.lua:358>

Locals: absorb = true
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to compare number with boolean"
shieldBarrierIcon = <unnamed> {
0 = <userdata>
glow = <unnamed> {
}
durationText = <unnamed> {
}
infoText = <unnamed> {
}
bar = <unnamed> {
}
texture = <unnamed> {
}
}
cfg = <unnamed> {
0 = <userdata>
backgroundAlpha = 0
activeAlpha = 1
fontOutline = "OUTLINE"
anchor = "CENTER"
backgroundColor = <table> {
}
size = 28
unavailableTint = <table> {
}
durationTextColor = <table> {
}
barColor = <table> {
}
glowColor = <table> {
}
x = -305
infoTextSize = 12
infoTextColorInactive = <table> {
}
barAlpha = 0.5
durationTextSize = 20
durationTextY = 0
strata = "MEDIUM"
scale = 1
showFrames = false
infoTextX = 3
infoTextAnchor = "CENTER"
margin = 5
durationTextX = 1
durationTextJustifyH = "CENTER"
truncatedNumbers = true
infoTextY = 25
infoTextJustifyH = "CENTER"
showGlow = true
glowAlpha = 1
durationTextAnchor = "CENTER"
updateInterval = 0.1
inactiveAlpha = 0.7
font = "Fonts\FRIZQT__.TTF"
infoTextColorActive = <table> {
}
y = -150
hiddenOutOfCombat = false
}
__________________
Thinktank UI
Gallahead, Tank since WoW 1.0
Gallahead is offline Report comment to moderator  
Reply With Quote
Unread 11-02-12, 01:01 AM  
Raynesis
A Kobold Labourer

Forum posts: 0
File comments: 32
Uploads: 0
Originally Posted by Twattle
The addon accounts for absorbed damage too, so the estimate should still be correct after the use of Shield Barrier.
Just checked again and this seems to be the case.

Was most likely due to the update interval vs incoming melee swing timer.

Thanks and keep up the good work.
Raynesis is offline Report comment to moderator  
Reply With Quote
Unread 11-01-12, 10:51 PM  
Twattle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Originally Posted by Raynesis
Tried the addon last night.

Does Shield Block include the amount absorbed from Shield Barrier from the previous hits when updating its estimated block amount?

What I mean is:

If you Shield Barrier the previous attack, the value of Shield Block will drop if the attack was absorbed, thus it will always prompt Shield Barrier as the best of the two to use unless the barrier gets absolutely destroyed. Is this the case?
The addon accounts for absorbed damage too, so the estimate should still be correct after the use of Shield Barrier.
Last edited by Twattle : 11-01-12 at 10:52 PM.
Twattle is online now Report comment to moderator  
Reply With Quote
Unread 11-01-12, 06:24 PM  
Raynesis
A Kobold Labourer

Forum posts: 0
File comments: 32
Uploads: 0
Tried the addon last night.

Does Shield Block include the amount absorbed from Shield Barrier from the previous hits when updating its estimated block amount?

What I mean is:

If you Shield Barrier the previous attack, the value of Shield Block will drop if the attack was absorbed, thus it will always prompt Shield Barrier as the best of the two to use unless the barrier gets absolutely destroyed. Is this the case?
Raynesis is offline Report comment to moderator  
Reply With Quote
Unread 10-28-12, 09:51 AM  
Twattle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Originally Posted by Gallahead
very nice idea. love it.

just one thing. this addon didn't load with my warrior because i have a german client.
so i changed the word warrior with krieger in the core.lua
in future it may be more comfortable if there is a multilingual class detection.
There. Should be fixed in the new version (1.3.4).
Twattle is online now Report comment to moderator  
Reply With Quote
Unread 10-28-12, 08:50 AM  
Twattle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Originally Posted by Gallahead
very nice idea. love it.

just one thing. this addon didn't load with my warrior because i have a german client.
so i changed the word warrior with krieger in the core.lua
in future it may be more comfortable if there is a multilingual class detection.
I see. I will look into it.
Twattle is online now Report comment to moderator  
Reply With Quote
Unread 10-28-12, 07:42 AM  
Gallahead
A Kobold Labourer
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 1
File comments: 196
Uploads: 2
Added an overlay bar that shows remaining Shield Barrier absorb value
very nice idea. love it.

just one thing. this addon didn't load with my warrior because i have a german client.
so i changed the word warrior with krieger in the core.lua
in future it may be more comfortable if there is a multilingual class detection.
__________________
Thinktank UI
Gallahead, Tank since WoW 1.0
Gallahead is offline Report comment to moderator  
Reply With Quote
Unread 10-27-12, 11:28 PM  
Twattle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Re: Hiding when not in Prot spec

Originally Posted by Pagezero2
Any chance you could hide the frame when in arms/fury spec.

Also how about changing the strata to be lower so it doesn't show above windows like your character window.
There. Added a configuration option for frame strata (MEDIUM by default). The addon now only loads if you are a prot warrior and dynamically loads/unloads when you change spec.
Twattle is online now Report comment to moderator  
Reply With Quote
Unread 10-27-12, 09:32 PM  
Twattle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Re: Hiding when not in Prot spec

Originally Posted by Pagezero2
Any chance you could hide the frame when in arms/fury spec.

Also how about changing the strata to be lower so it doesn't show above windows like your character window.
I'll ad a frame strata option that defaults to something lower.

I'm already looking into loading/unloading the addon depending on class and spec, but it haven't had high priority since I only play my prot warrior at the moment.
Twattle is online now Report comment to moderator  
Reply With Quote
Unread 10-27-12, 07:21 PM  
Pagezero2
A Kobold Labourer

Forum posts: 0
File comments: 20
Uploads: 0
Hiding when not in Prot spec

Any chance you could hide the frame when in arms/fury spec.

Also how about changing the strata to be lower so it doesn't show above windows like your character window.
Pagezero2 is offline Report comment to moderator  
Reply With Quote
Unread 10-24-12, 12:35 PM  
Twattle
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 15
Uploads: 1
Originally Posted by Saintvallen
Originally Posted by Twattle
Originally Posted by Saintvallen
anyone know where I can find the code for reducing the space between the icons? can't seem to find it in neither core nor config.
I'll add a configuration option in the next version. Think I'll upload it tonight.
Thank you, and maybe an option to swap the icons.
Added a new version now. Didn't make the swap option yet so you have to do that manually. Swap the icon names in the two lines below.
Code:
shieldBarrierIcon:SetPoint(cfg.anchor, cfg.x - (cfg.size / 2.0) - cfg.spacing / 2, cfg.y)
shieldBlockIcon:SetPoint(cfg.anchor, cfg.x + (cfg.size / 2.0) + cfg.spacing / 2, cfg.y)
Twattle is online now Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: