Get an Epic Experience with Premium

Bitten's SpellFlash Library

Libraries Login to Add Favorites
  • 31 Likes
  • World of Warcraft
  • 182,237 Monthly Downloads
  • Supports: 6.0.3
  • 5,795,922 Total Downloads
  • Updated 12/15/2014
  • Created 04/28/2012
  • 502 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: 60000.7
or

About Bitten's SpellFlash Library

When you download one of Bitten's SpellFlash class modules, it comes with a copy of this addon. You do not need to download this addon separately. If you have it installed, you can delete it. That is, of course, unless you like to install the "nolib" versions of addons - but in that case you should know what you are doing and I don't need to give you any more instruction. :)

This is a library to make SpellFlash modules easier to create. Please see the FAQ before posting a question. If that doesn't address your issue, or you have a suggestion to improve this addon, please either leave a comment or create a ticket.

If you are an addon author and want to learn more, read on. If you are not an addon author, there is nothing here you need to worry about - read on only only if you're curious.

Help with cooldown and (de)buff timing

There are often times when want to know whether a certain (de)buff will be present when it's time to cast the next spell. If you use a naive approach of simply checking for the presence of a buff now, and it falls off half way through your current cast, you may have been flashing the wrong spell. There are clones of many (de)buff and cooldown checking functions that allow you to get the information you need easily. For example this library function:

function c.GetMyDebuffDuration(name, noGCD)
    return s.MyDebuffDuration(c.GetID(name)) - c.GetBusyTime(noGCD)
end

Passing a value for noGCD will cause it to ignore the global cooldown, which is useful for spells that are not on the gcd. Otherwise it uses the longer of the gcd and your current cast.

International support without cluttering your code with spell IDs

There are clones of several often-used SpellFlash functions that translate from the spell name you pass to their spell id. For example, you can replace calls that look like

s.Buff(74434--[[Soulburn]], "player")

With calls that look like

c.HasBuff("Soulburn")

Without fear of your code breaking when used on a non-English client. There is also a function, c.GetID("name"), that you can use if a cloned function does not exist in the library. Note that for these functions to work, you must have the spell or buff defined in a.spells.

Estimated Harm and Heal Target Counts

During your rotation function you will have access to the estimated harm and heal targets, to smoothly ramp through AoE rotatinos:

if c.EstimatedHarmTargets > 2 then
if c.EstimatedHealTargets > 5 then
Learning More

There are several other little features, like simplifying your Spam function while supporting options to turn rotations on and off. Feel free to browse the source to learn more. All of Bitten's SpellFlash modules use this library, so any of them provide examples of how to use it.

------------------------------------------------------------------------
r334 | slippycheeze | 2014-12-15 20:47:07 +0000 (Mon, 15 Dec 2014) | 1 line
Changed paths:
   A /tags/60000.7 (from /trunk:333)

Tagging as 60000.7
------------------------------------------------------------------------
r333 | slippycheeze | 2014-12-15 20:46:39 +0000 (Mon, 15 Dec 2014) | 1 line
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua
   M /trunk/src/Buffs.lua
   M /trunk/src/Events.lua
   M /trunk/src/Flashing.lua
   M /trunk/src/Foods.lua
   M /trunk/src/OptionsFrames.lua
   M /trunk/src/Simulations.lua
   M /trunk/src/SlashCommands.lua

Try again with automatic versions to figure out curseforge packaging oddity...
------------------------------------------------------------------------
r331 | slippycheeze | 2014-12-15 20:39:06 +0000 (Mon, 15 Dec 2014) | 3 lines
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua
   M /trunk/src/Buffs.lua
   M /trunk/src/Events.lua
   M /trunk/src/Flashing.lua
   M /trunk/src/Foods.lua
   M /trunk/src/OptionsFrames.lua
   M /trunk/src/Simulations.lua
   M /trunk/src/SlashCommands.lua

Auto-update the file revision to ensure we always get the latest version
of the library used, even if the author *cough* forgets to bump that
when significant changes are made.
------------------------------------------------------------------------
r330 | slippycheeze | 2014-12-15 20:39:02 +0000 (Mon, 15 Dec 2014) | 1 line
Changed paths:
   M /trunk/.pkgmeta

Use auto-generated changelog.
------------------------------------------------------------------------
r329 | slippycheeze | 2014-12-15 20:38:58 +0000 (Mon, 15 Dec 2014) | 5 lines
Changed paths:
   M /trunk/src/Flashing.lua

Report target estimates in flashing debug

Since rotations automatically trigger behaviour from target counts to
move to AoE mode, it helps to have that debug information in the
flashing reports.
------------------------------------------------------------------------
r326 | slippycheeze | 2014-11-30 21:48:05 +0000 (Sun, 30 Nov 2014) | 2 lines
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua
   M /trunk/src/Events.lua
   M /trunk/src/Flashing.lua
   M /trunk/src/SlashCommands.lua
   M /trunk/version_history.txt

Try and fix some odd errors folks are hitting.

------------------------------------------------------------------------

Comments

First Previous Page 7 of 13 Next Last
  • #128

    If you're using Bitten's modules, then yes they should.  You can consult the description of each individual module for an explanation of how exactly they change.

    Author of Bitten's SpellFlash.

  • #126

    Quick note for tanks: the latest version adds small green flashes on your mitigation/healing cooldowns.  Those are just for information (like all small green flashes in my modules), telling you that cooldown is up next if you take enough damage to warrant using it.

    Author of Bitten's SpellFlash.

  • #124

    Is there any chance we can get an option to disable the Red Outline for Spell Procs. I love spell flash but I prefer the orignial blizzard one over the red one.

    Last edited by Olaf4862 on 12/2/2012 4:31:37 PM
  • #125

    Short answer: no.  Frown

    Long answer: Many people never understood the difference between spellflash flashes and default blizzard flashes, so I disabled them in order to make my modules more foolproof.  Also, even for a skilled user it requires less attention to determine which spell is flashing when Blizzard is not also flashing the border of other spells.

    If you can think of a better way to indicate procs than the red border that does not involve making them flashy, I would definitely consider it.

    Author of Bitten's SpellFlash.

  • #118

    I love your class-specific SpellFlash addons. My only (minor) problem that I discovered today is that the dependencies didn't automatically download with the Curse client on my MacBook Pro. My Curse client on my Windows desktop computer correctly grabs them all, though.

    I wonder if it has anything to do with the fact that the Mac Curse client is still version 4 -- Version 4.0.0.425 Beta (4.0.0.425), to be specific (per a Curse post on their forums, they're working on a version 5 for Mac now, to catch it up to the Windows version, but no ETA at the moment).

    Not a huge deal, I guess just more of an FYI at this point.

    Thanks for the awesome addons!

  • #120

    Yes i have them but it says now dependency out of date

  • #123

    Thanks got it working. :)

     

  • #122
    Quote from Icanmack »

    Having the same problem as Xiebinrui

    If you have all the dependancies I mentioned on your post in the monk thread, then they all downloaded.  Sounds like you need to check the "Load out-of date addons" box.

    Author of Bitten's SpellFlash.

  • #121

    Having the same problem as Xiebinrui

  • #119

    I'm glad you like them!  That's a strange issue w/ the Curse client.  You should definitely let them know if version 5 doesn't fix it.

    Author of Bitten's SpellFlash.

  • #116

    Loving the new proc system with the red border! Best thing ever!

  • #117

    I'm glad!  I already mentioned this to you, but for anyone else who reads it: please let me know if you think you should be using one of those procs but something else is flashing.  (For a single target boss fight, of course.)

    Author of Bitten's SpellFlash.

  • #114

    Thank you so much for this wonderful addon. However, I can tell that I'm not the only one who experiencing issues with regard to procs. Would be lovely to have them back, really miss it on my DK. Thanks!

  • #115

    Please try the beta, where that issue is addressed.

    <Edit:> The changes for proc highlights are now released (no longer in beta).

    Last edited by Xemnosyst on 11/15/2012 10:55:06 PM

    Author of Bitten's SpellFlash.

  • #112

    Hi, latest Beta generates a LUA error.

    Excellent addon, do keep up the good work by the way.

     It also places an action bar button in the middle of the screen.

    <Lua error snipped by Bitten to avoid clutter.>

    Last edited by Xemnosyst on 11/14/2012 10:57:04 AM
  • 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 »

Plantronics GameCom Commander Headset Giveaway!