Download
(13Kb)
Download
Updated: 03-03-15 12:40 PM
Pictures
File Info
Compatibility:
The Adventure Continues (6.1)
Updated:03-03-15 12:40 PM
Created:10-20-12 02:36 AM
Downloads:9,650
Favorites:22
MD5:
Categories:Warrior, Tank, Combat Mods

Shield Maid  Popular! (More than 5000 hits)

Version: 2.4.0
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.

Learning which spells are blockable
There is no exact way to determine wether or not an incoming attack is blockable before you actually block it. The addon remembers each spell you block and uses the information in future predictions. This approach also means that the addon will interpret a spell as being unblockable until you have blocked it once.


Configuration

In-game configuration available via the /sm or /shieldmaid commands:
help - Displays the available commands.
reset - Resets to the default settings.
lock - Locks the icons.
unlock - Unlocks the icons for dragging.
size <pixels> - Sets the width and height of the icons in pixels.
scale <number> - Sets the scale of the icons.
margin <pixels> - Sets the margin on the icons, e.g. the width of the transparent black border.
hiddenOutOfCombat true/false - Sets a value indicating whether the icons should be hidden when out of combat.
showFrames true/false - Sets a value indicating whether the icon texture frames should be shown.
showGlow true/false - Sets a value indicating whether to show the glow.
showCooldown true/false - Sets a value indicating whether to show the classic cooldown "clock" on icons.

Some configuration variables can still only be adjusted in the Config.lua file.

2.4.0:
  • Updated for patch 6.1.

2.3.1:
  • Versatility scaling was mistakenly not being taken into account when calculating the estimated Shield Barrier value. This have now been fixed.

2.3.0:
  • Changed the way the addon determines whether or not an incoming attack is blockable. Instead of looking at the spell school, the addon now remembers which spells are blockable. See the description for more information.

2.2.0:
  • Added a Gladiator Stance mode. When in Gladiator Stance, the Shield Block and Shield Barrier icons will be replaced by a Shield Charge icon.

2.1.0:
  • Now using the proper glow animations when the glow gets enabled and disabled.
  • The glow will now appear on the most beneficial skill even though the opposite skill is active.
  • The glow will now appear on the most beneficial skill even though it is active, if there is less than 1 second left on the buff. The threshold is configurable in the Config.lua file.
  • The glow will now appear on the Shield Barrier icon even though the buff is active, in case that the spell is the most beneficial one and the remaining absorb left on the current buff is less than 25% of the estimated absorb. The percentage is configurable in the Config.lua file.

2.0.6:
  • Fixed icon names.

2.0.5:
  • Fixed a rare error that would happen when the addon was loaded before spells were initialized.

2.0.4:
  • Fixed an error that made the glow show out of combat even though the option to hide icons out of combat was chosen.

2.0.3:
  • Changed the default border color.
  • Gave names to the icons to make them accessible from other addons.

2.0.2:
  • Added Versatility scaling.
  • Hid the build-in cooldown numbers so only the cooldown "clock" show.

2.0.1:
  • Fixed the cooldown "clock" which was broken after patch 6.0.2.

2.0.0:
  • Updated for patch 6.0.2. Shield Barrier prediction now match the new formula and scales with Resolve.

1.5.0:
  • Added functionality for showing the classic cooldown "clock" on top of the icons. This will be particularly useful in WoD when the cooldown of Shield Block is incresed. The feature can be enabled/disabled via the /shieldmaid showCooldown command.

1.4.2:
  • Fixed a bug that would cause some configuration values to be overwritten by their defaults when the addon was reloaded.

1.4.2:
  • Accidentally hard-coded the update rate to 0.1 s. You can now change it in the Config.lua file again.

1.4.1:
  • Fixed a minor bug that resulted in "Shield Maid: Unloaded" being written multiple times to the console.

1.4.0:
  • Added in-game configuration.
  • Reorganized the addon into classes.

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.
Post A Reply Comment Options
Unread 11-01-14, 02:38 PM  
sticklord
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 57
File comments: 121
Uploads: 1
Originally Posted by Twattle
Damn. I am so used to strongly typed languages. I fixed it now, for real
Cheers, thanks alot!
Report comment to moderator  
Reply With Quote
Unread 11-01-14, 12:26 PM  
Twattle
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 2
Originally Posted by sticklord
Originally Posted by Twattle
I gave the two icons names in the latest version (2.0.3). Let me know if that is suffucient.
Thanks, but didn't work. You forgot to throw the name argument to the new icon
Damn. I am so used to strongly typed languages. I fixed it now, for real
Report comment to moderator  
Reply With Quote
Unread 11-01-14, 06:38 AM  
sticklord
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 57
File comments: 121
Uploads: 1
Originally Posted by Twattle
I gave the two icons names in the latest version (2.0.3). Let me know if that is suffucient.
Thanks, but didn't work. You forgot to throw the name argument to the new icon
Report comment to moderator  
Reply With Quote
Unread 10-29-14, 01:40 PM  
Twattle
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 2
Originally Posted by sticklord
Hello!

Loving the addon, been using it since it was released.

However I got a request, any way you could let me access the addon somehow (like giving the icon a name) so I can add a border to the icons without editing this addon? Or maybe there is a way and I'm to bad to find it. Nevertheless, keep up the good work!
I gave the two icons names in the latest version (2.0.3). Let me know if that is suffucient.
Report comment to moderator  
Reply With Quote
Unread 10-29-14, 07:17 AM  
Twattle
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 2
Originally Posted by sticklord
Hello!

Loving the addon, been using it since it was released.

However I got a request, any way you could let me access the addon somehow (like giving the icon a name) so I can add a border to the icons without editing this addon? Or maybe there is a way and I'm to bad to find it. Nevertheless, keep up the good work!
Thank you

I'll have a look at it as soon as I get some spare time.
Report comment to moderator  
Reply With Quote
Unread 10-28-14, 10:36 AM  
sticklord
A Wyrmkin Dreamwalker
AddOn Author - Click to view AddOns

Forum posts: 57
File comments: 121
Uploads: 1
Hello!

Loving the addon, been using it since it was released.

However I got a request, any way you could let me access the addon somehow (like giving the icon a name) so I can add a border to the icons without editing this addon? Or maybe there is a way and I'm to bad to find it. Nevertheless, keep up the good work!
Report comment to moderator  
Reply With Quote
Unread 09-29-14, 01:04 PM  
Twattle
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 2
Originally Posted by Mustardtiger
The option to hide the shield barrier glow works only until I relog or go through a loading screen, then it turns on again. It even shows through the hiddenOutOfCombat true option.
Fixed in the new version (1.4.3). It is uploaded and pending approval at the moment.
Report comment to moderator  
Reply With Quote
Unread 09-29-14, 01:13 AM  
Twattle
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 2
Originally Posted by Mustardtiger
The option to hide the shield barrier glow works only until I relog or go through a loading screen, then it turns on again. It even shows through the hiddenOutOfCombat true option.
Ok. I'll look into it. I don't use it myself so I haven't noticed. Thank you for the feedback.
Report comment to moderator  
Reply With Quote
Unread 09-27-14, 08:15 PM  
Mustardtiger
A Kobold Labourer

Forum posts: 0
File comments: 9
Uploads: 0
The option to hide the shield barrier glow works only until I relog or go through a loading screen, then it turns on again. It even shows through the hiddenOutOfCombat true option.
Report comment to moderator  
Reply With Quote
Unread 12-03-12, 12:03 PM  
Dridzt
A Pyroguard Emberseer
 
Dridzt's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1359
File comments: 829
Uploads: 55
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
Report comment to moderator  
Reply With Quote
Unread 12-03-12, 11:59 AM  
Twattle
A Defias Bandit
AddOn Author - Click to view AddOns

Forum posts: 2
File comments: 24
Uploads: 2
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.
Report comment to moderator  
Reply With Quote
Unread 11-29-12, 04:22 PM  
Gallahead
A Defias Bandit
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 199
Uploads: 1
thanks!
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: 1359
File comments: 829
Uploads: 55
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.
Report comment to moderator  
Reply With Quote
Unread 11-28-12, 11:21 AM  
Gallahead
A Defias Bandit
 
Gallahead's Avatar
AddOn Compiler - Click to view compilations

Forum posts: 2
File comments: 199
Uploads: 1
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
}
Report comment to moderator  
Reply With Quote
Unread 11-02-12, 01:01 AM  
Raynesis
A Kobold Labourer

Forum posts: 0
File comments: 37
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.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: