Get an Epic Experience with Premium

Afflicted 3

PvP Login to Add Favorites
  • World of Warcraft
  • 1,656 Monthly Downloads
  • Supports: 6.0.3
  • 555,894 Total Downloads
  • Updated 12/15/2014
  • Created 04/30/2009
  • 415 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: Afflicted 2.3.6
Support development! **

About Afflicted 3

Afflicted is an enemy spell timer mod for PvP (mainly arenas). This is for people who just want useful information, such as an interrupt is on cool down and you're safe to cast a heal or that Blessing of Freedom is going to be back up for an enemy Paladin soon. If you want to know the cool down of an obscure ability say Whirlwind then this is not the mod for you. New timers for abilities that are not included by default can easily be added under the configuration. The system is flexible enough that any enemy timer can be added including traps or totems.

Alerts for when a spell is triggered (or ends), as well as when you interrupt or dispel an enemy are included. All alerts can be shown inside party, raid, raid warning, combat text or a specified chat frame.

Slash command: /afflicted

Version 2.3.6 (12/15/14)
Updated for 6.0.3/WoD LIVE
*Lots and lots of spell changes/updates
*Updated libraries

Version 2.3.5 (10/12/14)

Updated for WoD/6.0.2
*Reworked some spell code to remove any spells in the spell list without an actual spell in game associated with it.  This will remove custom added spells that no longer exist in WoD.  You shouldn't see any more #XXXXX or similar spells at the top of your spell list.
*Removed spells from the spell list that no longer exist, changed the cooldown for a few others, and upped the spells version number to 14.  I anticipate having more spells to add as time goes on (or requests are made) as I didn't take the 20 hours it would take to go through every class and spec and see what new toys they got for WoD.
*Updated wowace libraries to the newest available.

This was tested in both Ashran (about 45 minutes of large numbers pvp) and also in front of org with duelers (removing the filter for non-hostile sources) and I fixed any errors that came up.  I did NOT have time to test every facet of the addon.  If you have an issue please be as specific as possible.

Version 2.3.4 (7/5/13)

Set arena to default to 3v3 for now since there's not a super-reliable way to predict arena team size that I've been able to test since the patch.
This will fix the problem of the addon not working when in arenas.

Version 2.3.3 (5/27/13)

Updated TOC
Updated libs
Changed purgeatory reference as the addon is no longer maintained

Version 2.3.2 (3/9/13)

Added in code to merge in a proper anchor on spell database update to avoid future problems and properly updated spell database so that life cocoon and combat readiness will respond properly.

Version 2.3.1 (3/9/13):

Work around for error popping up due to combat readiness and life cocoon ending early and not being assigned to proper anchors.

Version 2.3.0 (3/7/13):

Added general monk cooldowns, also tagged all appropriate spells with the "buff" type
Attempted to correct two general errors that seem to be caused by zoning issues where the combat log isn't reporting a source
Fixed icons not fading when abilities fade early, also corrected for bars (though it was only a select few spells).

Version 2.2.6 (8/30/12):

Fixed the ability to turn off icons when using bars
Corrected a seen issue when upgrading spell database versions
Changed two default initialization values

Version 2.2.5 (8/29/12):

Corrected an error in the GTB library that was causing icons to not display properly in bar mode.  This was brought about by new functionality in the GetTexture API call.  Testing during a single level 8X BG showed the proper icons for the abilities.

Version 2.2.4 (8/27/12):

Updated all spells and added new ones, lots of spell changes brought about by 5.0.4
Updated libraries to release version

Version 2.2.3 (8/25/12):

Increased the spells database version

Version 2.2.2 (8/12/12):

Initial bugfixes for Cata:

Updated Libraries
Removed non existent spells and totems
Removed old spell from the test
Added likely incorrect localizations so that the classes field could be populated for Monks

Have not had time to test extensively yet

Version 2.2.1 (1/6/12):

*Redone spells, might not have gotten all of them put in that people may want, but the durations and CDs, as well as spells new to Cata (like rebuke and skull bash) have been added into the default.

-Note that this will not effect people who have already used that addon, as the spells list seems to be generated when the addon is first loaded, so if you want the new ones, you'll have to delete the addon under the WTF saved variables folder.  You can also add them in yourself.

Version 2.2.0 (12/23/11):

Numerous fixes for all (mainly combat log) changes that have occurred since wotlk

Author: Shadowed <>
Date:   Sat Feb 6 10:06:14 2010 -0800
Library update
Fixed index nil error at Afflicted.lua:79 probably shouldn't set a table with a known nil index!

Date:   Tue Dec 22 01:21:15 2009 -0800
Bug fix when accessing Afflicted.spells with a nil index

Date:   Sat Dec 5 09:31:14 2009 -0800
- Reapplied the #120 fix

Date:   Fri Dec 4 17:18:34 2009 -0800
Revert "- Fixed error on line 120"
This reverts commit c12a2ffe1b1ac33ee6ca2171a2129dcea2d0a105.
- Fixed error on line 120
Divine Sacrifice, 10 second duration -> 6 seconds
Aura Mastery, 10 second duration -> 6 seconds
Removed unneeded library files
Tweaked default loading of spells
TOC Bump 30300
- Library update

Date:   Wed Sep 9 16:31:37 2009 -0700
- Changed spell updating, only duration, cooldown, type and class will be merged meaning anchor, enabled/disabled status and so on will not be reset when updating spells
- Bestial Wrath, 18 seconds -> 10
- Vampiric Blood, 120 second cooldown -> 60 second cooldown, 20 second duration -> 10 econd duration

Date:   Thu Sep 3 19:05:59 2009 -0700
- Library update
- Localization update
Merge: 0830174 2af997b

Date:   Wed Sep 2 18:40:23 2009 -0700
Merge branch 'master' of
- Scale can no longer be set to 0
- Added ConfigMode
- I am stupid and selected the wrong file, bars and icons will now be staggered in their position, first one is at 0, 0 second one is at 0, 20 and so on so they aren't just a cluster of anchors to start with
- Localization update
- Anchors are now unlocked by default, added a new help frame (similiar to Shadowed Unit Frames) that indicates where you go to lock them as well as a button to lock them
- Fixed icons requiring ALT + Drag while bars only required dragging
- Fixed error in bars.lua

Date:   Thu Aug 27 21:53:49 2009 -0700
- Fixed error in bars.lua:134

Date:   Tue Aug 11 09:40:46 2009 -0700
- Fixed an attempt to index field GTB a nil value error

Date:   Mon Aug 10 12:45:27 2009 -0700
- Updated to support the configName/cooldownName/name fields in spells so I can customize stuff a bit more
- Cleaned up bar code a little bit
- Changed to support the config name in spells
- Library update
- Library update
- Added lower ranks of Psychic Scream


First Previous Page 2 of 9 Next Last
  • #389

    This is most likely related to the post below yours that I'm going to be making sure I have a fix for sometime this weekend, they changed the way a function works so that it no longer returns what team size arena you're in, it used to say 2, 3, or 5 for 2s, 3s, or 5s, and that way it would only show abilities in the selected arenas.  Instead it returns ARENA (I found this out last weekend).  I'm fairly certain I have a fix for it, it's not really too complicated, but I just haven't had a chance to go back into arenas and test it out yet and I didn't want to put something out there I hadn't tested.


  • #386

    Hi, everytime i join and leave arena, i get this error message:


    Message: Interface\AddOns\Afflicted\Afflicted.lua:390: attempt to compare number with string
    Time: 06/04/13 20:29:09
    Count: 7
    Stack: Interface\AddOns\Afflicted\Afflicted.lua:390: in function `SaveArenaBracket'
    Interface\AddOns\Afflicted\Afflicted.lua:399: in function `?'
    ...ted\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147: in function <...ted\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:147>
    [string "safecall Dispatcher[2]"]:4: in function <[string "safecall Dispatcher[2]"]:4>
    [C]: ?
    [string "safecall Dispatcher[2]"]:13: in function `?'
    ...ted\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: in function `Fire'
    ...\AddOns\Afflicted\libs\AceEvent-3.0\AceEvent-3.0.lua:120: in function <...\AddOns\Afflicted\libs\AceEvent-3.0\AceEvent-3.0.lua:119>

    Locals: <none>


    Anyone know what this is?

  • #387

    It's caused by the fact that GetBattleFieldStatus is now returning a string of some sort instead of a number.  It used to just return 2, 3, or 5 based on which arena bracket you were in.  What exactly it returns now I have no idea, as it's not documented anywhere.  I don't actively arena at the moment but if I do decide to do a few I'll print out some responses and see what it says.  For battlegrounds it just says BATTLEGROUND, but for arenas I can't be sure what it says without someone looking.

  • #383

    Any idea what is causing this? I was doing a quest with an NPC that has a unitframe where the default boss unitframe appears on the right of the screen. I assume "Boss1TargetFrame:SetPoint()" is referring to that unit frame. Any clue as to what to do to fix this?

    Message: [ADDON_ACTION_BLOCKED] AddOn "Afflicted" tried to call the protected function "Boss1TargetFrame:SetPoint()".
    Time: 03/20/13 08:06:00
    Count: 6
    Stack: [C]: in function `SetPoint'
    Interface\FrameXML\UIParent.lua:2153: in function `UIParentManageFramePositions'
    Interface\FrameXML\UIParent.lua:1525: in function <Interface\FrameXML\UIParent.lua:1512>
    [C]: in function `SetAttribute'
    Interface\FrameXML\UIParent.lua:2205: in function `UIParent_ManageFramePositions'
    Interface\FrameXML\BuffFrame.lua:399: in function `BuffFrame_UpdateAllBuffAnchors'
    Interface\FrameXML\BuffFrame.lua:112: in function `BuffFrame_Update'
    Interface\FrameXML\BuffFrame.lua:52: in function <Interface\FrameXML\BuffFrame.lua:48>

    Locals: <none>

  • #384

    I get a lot of these errors from a large portion of my addons, I'm not sure what exactly is causing it but as far as I know afflicted never makes any API calls to any frames at all, it creates its own bars or icons and uses those.


    It's probably some sort of taint, blizzard is pretty touchy about protected code getting tainted.

    Last edited by tattertotts on 6/3/2013 10:35:15 PM
  • #381

    Getting a lua error, I got the latest version:


     Date: 2013-03-09 15:39:35
    ID: 5
    Error occured in: Global
    Count: 1
    Message: ..\AddOns\Afflicted\Afflicted.lua line 296:
       attempt to index field '?' (a nil value)
       Afflicted\Afflicted.lua:296: AbilityEarlyFade()
       Afflicted\Afflicted.lua:172: ?()
       [string "safecall Dispatcher[18]"]:4:
          [string "safecall Dispatcher[18]"]:4
       [C]: ?
       [string "safecall Dispatcher[18]"]:13: ?()
       ...ted\libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:92: Fire()
      MoncaiCompare, v5.2.0
      Swatter, v4.2.0 (<%codename%>)
      Afflicted, v
      ArenaStyle, v0.3
      Auctionator, v3.1.3
      BagBrother, v
      Bagnon, v5.2.0
      BagnonConfig, v
      Bartender4, v4.5.8
      BattlegroundTargets, v50200-1
      ButtonFacade, v5.0.389
      ClassTimer, v2.3
      Clique, vv50200-1.0.3
      DoomCooldownPulse, v
      ElkBuffBars, v2.3.2-169
      ErrorFilter, v2.7
      infMopTalentMacroes, v1.3
      kgPanels, v1.15
      KrysDamageFont, v2.0b
      LibSharedMedia30, v3.0-77
      LoseControl, v5.2
      Masque, v5.1.389
      MasqueApathy, v5.1.102
      MasqueCaith, v5.1.82
      MasqueEntropy, v5.1.77
      MasqueGears, v5.1.68
      MasqueLiteStep, v5.1.65
      MasqueOnyx, v5.1.76
      MasqueSerenity, v5.1.76
      OmniCC, v5.2.1
      PhotoRobot, v0.3.5
      Postal, v3.5.1
      PowerAuras, v4.23.13
      Prat30, v3.5.5      
      Prat30HighCPUUsageModules, v
      Prat30Libraries, v
      Quartz, v3.1.2
      sct, v6.63
      SexyMap, v2.4.5
      ShadowedUFOptions, v
      ShadowedUnitFrames, vv3.8.2
      SharedMedia, v3.0.5-183
      SharedMediaAdditionalFonts, v1.0.14
      SpellAlerter, vv2.15
      TidyPlates, v6.9.0
      TidyPlatesGraphite, v
      TidyPlatesGrey, v
      TidyPlatesNeon, v
      TidyPlatesQuatre, v
      TidyPlatesHub, v
      TidyPlatesWidgets, v
      TipTac, v13.02.19
      TipTacTalents, v13.02.19
      Titan, v5.1.14.50100
      TitanBag, v5.1.14.50100
      TitanClock, v5.1.14.50100
      TitanGold, v5.1.14.50100
      TitanLocation, v5.1.14.50100
      TitanLootType, v5.1.14.50100
      TitanPerformance, v5.1.14.50100
      TitanRepair, v5.1.14.50100
      TitanVolume, v5.1.14.50100
      TitanXP, v5.1.14.50100
      BlizRuntimeLib_enUS v5.2.0.50200 <eu>


    Last edited by Kraiden85 on 3/9/2013 8:49:12 AM
  • #382

    I uploaded a slight workaround for this, it's being caused by two spells that I know of so far, combat readiness and life cocoon.  Somehow they were merged into the spell database without being assigned a proper anchor, and they're assigned as buffs to watch for fading early, so when they do fade it blows an error.  You can fix this by assigning them to anchors or the update should fix it as well.

    Edit:  Uploaded a fix for this problem with 2.3.2, let me know if you're still having the problem, and if so, what combat readiness and life cocoon have their duration anchors set to.

    Last edited by tattertotts on 3/10/2013 12:10:42 AM
  • #378


    I would like to thank you for updating the addon. Been using it since WotLK. I've notice some functionalities that might of been out of date or haven't been looked at. Maybe if you have to time to fix it for 5.2 that would be great. :)
    -Buffs ending before timer remains in Afflicted timer. (ie. Coming out of Ice Block early but Ice Block icon is still there.) In WoTLK when buffs were dispelled or ended early the timer would of ended.
    -Icon position is stuck on the Left option. When selecting Right it does nothing. Not that big of a deal just for comestic purposes.
    -Icon timing is there a way to change from minutes to seconds? (ie. Spell cooldown reads 2 minutes when it's like 100 seconds.)
    -Some spells are not showing up even with the specifity from spellid. (ie. Ring of Frost, Solar Beam & many pet abilities). I have tried using multiple spellids relating to the spell.

    -Is there a way to incorporate buffs yeilding from procs? (ie. Predatory Swiftness) Would be cool but not needed.


    Last edited by euReka88 on 3/2/2013 4:45:03 PM
  • #379

    Buffs ending before the timer was apparently only (mostly) a problem for the icons, I'm not sure why but something must have changed at some point in time and the icon code wasn't updated to reflect this.  Should be fixed in the newest version I've just uploaded.

    Icon positioning is, as far as I know, only for bar mode, it doesn't apply to icon mode.  There's nothing in the code even referencing it in the icon option, only in the bar.

    There might be a way to do that but I don't think it'd be anything but a distraction seeing those timers constantly updating with so long to go before they're relevant.

    As for the spellids, I'm not sure, sometimes it can be very tricky to get the right one, a lot of times a spell will trigger another hidden spell and sometimes that one will trigger one too.  I haven't tried putting in solar beam yet tbh.

    Yes, you would just put them in as you would any other spell that is considered a buff.  I would suggest trying the 69369 spellid.

  • #380

    Thanks for the reply and the fixes.

  • #376



    When will you be coming out with an updated afflicted? This is a great addon and should be updated regularly.


  • #377

    What is it that you're looking to be updated?  There will likely be an update once the 5.2 patch notes are finalized, but it'd mostly be for abilities and cooldowns/durations.  As far as I know there's nothing wrong with functionality.

  • #374

    I can't seem to get the 'scale' to save.  It defaults to 1, I change it to a larger value (1.4ish), if I relog it goes back to 1.  Any ideas?

  • #375

    I can't seem to recreate that.  When I set the scale it sets it and saves it, however, relogging  makes it so that when I open the UI again it will say that it's still default even though it's not (it will show 1 as the scale even though doing /afflicted test shows the properly scaled bars).  If this is different than what you have let me know.

    Last edited by tattertotts on 11/30/2012 12:31:26 PM
  • #372

    Hi! I'm having trouble tracking Spell Lock once the warlock sacrifices his pet and takes one of it's abilites with Grimoire of Sacrifice

  • To post a comment, please login or register a new account.
Login to Curse

Don't have an account? Create One.

Get an epic experience with Curse Premium
  • Faster addon downloads
  • Premium-Only Beta Giveaways
  • Ad-Free Curse experience
  • Premium Curse Client
  • and many More Features
  • Learn More »

Gamepedia Free-shirt Giveaway