Handle spells cooldown #28


  • Accepted
  • Enhancment
Open
Assigned to _ForgeUser242143
  • _ForgeUser4551328 created this issue Jul 14, 2010

    Tracking Buffs and Debuffs is great, but why not tracking spells cooldown too exactly the same way ?
    The idea is to have all important informations where it is needed on the screen, thus not having to look both on your action bar and the trackers at the same time. It is probably the only feature that I was missing when switching from BadKitty! to Auracle.

    I was able to modify Auracle to handle that. I made a fourth "buffs type" : "spells". On the "SPELL_UPDATE_COOLDOWN" event, Auracle loop through spell trackers, get cooldown information for each and updates them. It works well enough for me, even if it has some imperfections :

    1. the "SPELL_UPDATE_COOLDOWN" doesn't seem to trigger when a cooldown ends. So the tracker isn't updated until another spell is cast. I haven't found yet a trigger that could make up for this.
    2. the spell tracker only works on a Window that track the player, but this isn't shown on the UI.

    As I said, it works well enough for me. Yet, in case you'd be interested, i'm posting the files that I modified.

    PS : I apologize for my english which is not very good

  • _ForgeUser4551328 added the tags New Enhancment Jul 14, 2010
  • _ForgeUser4551328 added an attachment Auracle.lua Jul 14, 2010

    Auracle.lua

  • _ForgeUser4551328 added an attachment Tracker.lua Jul 14, 2010

    Tracker.lua

  • _ForgeUser4551328 added an attachment TrackerStyle.lua Jul 14, 2010

    TrackerStyle.lua

  • _ForgeUser4551328 added an attachment Window.lua Jul 14, 2010

    Window.lua

  • _ForgeUser242143 posted a comment Jul 27, 2010

    Thanks for the contribution; I'll have a look through your code when I get a chance.

  • _ForgeUser242143 removed a tag New Jul 27, 2010
  • _ForgeUser242143 added a tag Accepted Jul 27, 2010

To post a comment, please login or register a new account.