1. #1

    Total Damage % Reduction WeakAura

    Found this thread on R&D but figured this might be a better place for the question and since a guildie of mine is asking about something like that now:

    "I'm looking for a WeakAura or Addon to let me know the cumulative % of damage reduction that dynamically updates during combat.

    An example would be having Bone Shield and Sac at the same time, and showing the % of damage reduction it is."

  2. #2
    The WoW API does not group any damage reductions together. That would require you to create a list containing all damage reduction spells that exist in the game.

    Unless you're willing to limit the scope to a handful of specific damage reduction buffs to keep track of, you're much better off looking for any addons that have been created specifically for this purpose.

  3. #3
    Yeah I figured as much, thanks pnut

  4. #4
    Here's the one I have on my Shaman. Would require updating for each of your relevant abilities.

    Code:
    d8e2xaGiPqDjKk1NKIAuOsDksWQqQK8ksuXSKIClvPAxsv1WeLoMQYYeGNrImnurxdPQTjG6BsH04eO6CQsO5HkP6EsPoOaXcLQYdLsQjIkXfrQyJQs6JQs0irLKtkqALuMjjQ6MsjP2jk(PaLHkfIJkfelvkXtrmvbDvPG6RsbPgRuqYAvLGEljQ0CrQe3fvszVe)vu0Gvomvwmj0JLktgvDzv2SQ4ZiLrRQ60KA1ivs9ArHzts3gL2Ti)MQgUuLLl0ZrY0LCDr12fq(UuGXRkLZJkSEsuEVusY8LsI7Rkb2pS8jHcXjHsjekHeq)z7NEHWkeEHWlHcHw03aHWvbRLG(cdgtyquEH4sAwxDsFcjE00(uih9oHWZrYXQ7Of959echb75H6kH5DodCwHq1Z1Dcd9c5ERNlXF8sFcrZleU0cwR5cLqAGMV(LxPNt6vI(g9fdEaFbqFaboBWLN35KEHKYzdJAA0UiLW8jK)tt7VegLOxiuN6tJ41PsikpDEnuiQEhVekKOx9KqHWMRwAjukPKskH0jHcZNekK6EREv1rJsim(0jeQY1LbfrRSty(cqiuLRldQxvD0OecJpDcrrFK)IT2R6JsOW8jmFctacZNWOKW8jmCkmz7NEPes0xU6cV3kHWemg6iefDDzql6Zt8T2R6JsOW8jmzfMaeMScJsctwHHtHjB)0lLqYPUqVxT09K(eIIUyR9Q(OekmFcZNWeGWKvyusyYkm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Jds56YGsi0DpHepAAFkKJENq0D(Kq08cjiuv0PIr(1pLqC886s7to1mROMgTlsjHsjKgO5RFHrj6fskNnmQPr7IucZNusjKajmFC(Lvkra

  5. #5
    The Patient
    Join Date
    Feb 2012
    Location
    England
    Posts
    260
    Damage reduction doesn't work like that. It's multiplicative, not addative. e.g. a 50% CD + a 30% CD would not make 80% mitigation it would be 50% + (30% of 50%) = 61.5% (I think, napkin maths at 8:30am isn't my best skillset), and works from highest % to lowest %. Making an aura to calculate that, would be both long and heavily scripted with lua, and would cause some lag from it updating every frame doing new equations. What I have done instead for my purposes is made a dynamic group that displays the CDs that are up on me, so I know at a glance from guesstimating if I have enough mitigation or not. I can share it if you want when I get home from work?
    Arneia/Panthea - Guild Master + Raid Leader - <Catalyst> 25man Horde - Tarren Mill - Currently Recruiting: Click for more info

  6. #6
    Order of calculation doesn't matter because multiplications are commutative.

    Correct formula would be 1*(1-0.5)*(1-0.3)=0.35 damage taken, or a 65% reduction.
    UI & AddOns expert | Interface & Macros moderator - My work

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •