Get an Epic Experience with Premium

Bitten's SpellFlash Library

Libraries Login to Add Favorites
  • 20 Likes
  • World of Warcraft
  • 400,686 Monthly Downloads
  • Supports: 5.3.0
  • 3,931,936 Total Downloads
  • Updated 05/24/2013
  • Created 04/28/2012
  • 323 Favorites
  • Project Site
  • Comments
  • Release Type: Release
  • License: All Rights Reserved
  • Newest File: 4.11.0
or
Support development! **
Donate

About Bitten's SpellFlash Library

!NEW INFORMATION BELOW!

This library is packaged together with all of Bitten's SpellFlash class modules now. You do not need to download this addon separately to make any of them work. If you had it install previously, you can safely delete it now. The only change will be the key bindings (if you used them); see this website for more info on that.

!NEW INFORMATION ABOVE!

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.

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.

Version 4.11.0

  • c.FlashAll() and c.PriorityFlash() now respect a new "Dispel" flag.
  • Added c.AddDispel().
  • Removed the unused c.CloneSpell().
  • Bugfix: c.AddInterrupt() and c.AddTaunt() were not respecting the attributes parameter.

Version 4.10.1

  • Flash food buffs on enemy "detection" instead of targeting.
  • Do not flash food buttons when you don't have any in your bags.

Version 4.10.0 beta

  • Added c.FlashFoods().
  • c.RegisterAddon() now flashes MoP foods for anything listed in a rotation's UsefulStats.

Version 4.9.1

This version supports the latest Warlock release.

  • c.HasMyDebuff() and c.HasBuff() now work on auras without a duration.

Version 4.9.0

This version supports the latest Druid release.

  • Added c.PredictFlash()
  • c.RegisterForEvents() has a new callback: AutoAttack.
  • c.IsCastingOrInAir() and c.IsAuraPendingFor() now work for AoE spells that do not have a target.
  • c.FlashAll() and c.PriorityFlash() now automatically assume NotIfActive if Cooldown is defined.
  • Bugfix - the SpecialGCD and NoGCD flags now correctly influence c.GetBusyTime() for spells with sub-names.

Version 4.8.0

This version supports the latest Shaman release.

  • New spell tags: Tick and PredictFlash.
  • Added c.AoeColor and c.MovementColor.

Version 4.7.4

This version supports the latest Hunter release.

  • c.GetHealth() and g.GetHealthPercent() now work on dead targets (they return 0)
  • Bugfix - the "fct" toggle was not completely turning off floating combat text over the player.

Version 4.7.3

  • NoRangeCheck is now implied when defining Melee or Range.
  • Bugfix - c.LastGCD was not being updated as often as it should.

Version 4.7.2

  • Bugfix: 4.7.1 had a conflict with 4.7.0.
  • c.PriorityFlash() and c.FlashAll() now respect spells' UseBuffID flag.

Version 4.7.1

  • Bugfix for a Lua error w/ some classes.

Version 4.7.0

This version supports the latest Druid release, and may provide some small benefit to most classes - especially tanks.

  • c.GetBusyTime() is a little smarter about spells that don't trigger a GCD, and spells which define the new SpecialGCD flag.
  • c.IsTanking() is smarter when fighting Gara'jal.
  • c.DelayPriorityFlash() now honors Debuff and MyBuff flags.
  • c.DelayPriorityFlash() now flashes blue when in AoE mode.
  • Added c.HasMyBuff(), c.GetMyBuffDuration(), and c.GetMyBuffStack().
  • Added c.IsCastingAt()

Version 4.6.7

This version supports the latest Monk release.

  • Spell info tables now include TargetID, which is the GUID of that spell's target. Does not work if for spells not cast on s.UnitSelection().
  • c.PriorityFlash now respects the MyBuff tag.

Version 4.6.6

  • Added a slash command to use the Blizzard proc highlights instead of the red border.
  • Bugfix - the "/bsf debug" command wasn't working correctly.

Version 4.6.5

This version supports the latest Paladin release.

  • c.DelayPriorityFlash() now respects spell ranges.
  • c.DelayPriorityFlash() now looks for a new spell attribute: "Cooldown".

Version 4.6.4

This version supports the latest Priest release.

  • c.DelayPriorityFlash() was not always accounting for cast time correctly.

Version 4.6.3-beta

This version supports the latest Priest release.

  • Added c.DelayPriorityFlash().
  • Added a "FullCD" parameter to c.GetCooldown().
  • Added c.RegisterInitiatingSpell(), and the logic to make it work w/ event handling.

Version 4.6.2-beta

This version supports the latest Priest release.

  • c.PriorityFlash now considers a new flag: "CanCastWhileMoving".
  • c.PriorityFlash and c.FlashAll now consider the "Range" flag even if Override is defined.

Version 4.6.1-beta

This version fixes a bug in the Mage beta.

  • c.IsSolo() now only considers visible group members, unless you set the "considerFutureGroup" flag.
  • Bugfix - c.PriorityFlash had possible infinite recursion w/ MovementFallthrough.

Version 4.6.0

This version supports the latest Mage and Warlock releases.

  • Now supports rotations with a MovementFallthrough function.
  • Added c.MakeMini()
  • Bugfix - c.PriorityFlash and c.FlashAll were checking your stance for a "form" spell even with Override.
  • Bugfix - c.PriorityFlash and c.FlashAll were not handling EarlyRefresh correctly.

Version 4.5.2

This version supports the latest Rogue and Druid releases.

  • Added c.MakeOptional()
  • Added c.MakePredictor()
  • Most of the buff functions now take an additional argument: "applied".
  • c.RegisterForEvents() now passes along SPELL_PERIODIC_ENERGIZE.

Comments

First Previous Page 9 of 9 Next Last
  • #36

    please have BigRedBrent switch it back to download all the modules at once again... my computer crashed so i come to the library to play and its annoying having to download each module one by one

  • #37

    Curse actually told Brent to do it.  Their policy is that if it's one package, it must come in one addon; if it's many addons they must be downloaded seperately.  There are pros and cons to each approach - you are experiencing a drawback of the one he chose.  The benefits are that you only have to have the code for your class(es) downloaded, and updates to one class will not prompt users of other classes to update.

    Author of Bitten's SpellFlash.

  • #33

    Sorry for all the bugfix releases the past couple days.  I promise I do actually test things before I release - apparently just not well enough!

    Author of Bitten's SpellFlash.

  • #28

    This addon, while great has non the less broken OmniCC from showing my cooldowns numericaly on my toolbars. Please fix so I can continue to use both.  TIA

     

     

     

  • #29

    Interesting.  I will download Omni & check it out when I get back home (in a couple hours).

    Author of Bitten's SpellFlash.

  • #30

    I just downloaded OmniCC and it displayed at the same times as spell flashes with no issues.  Could you please create a ticket providing any more information you can, including why you think this addon is what broke it?

    Last edited by Xemnosyst on 6/1/2012 10:28:53 AM

    Author of Bitten's SpellFlash.

  • #26

    Thank you for the time you have spent making these add ons :)

  • #27

    I'm glad you like them!

    Author of Bitten's SpellFlash.

  • #20

    <Edited by Bitten to remove the portion that is no longer relevant with SpellFlash's new installation behavior.>

    <snip>

    One final question however, these seem to be updating a great deal lately...nearly every day.  Are you just working on them and posting updates this often or could there be another cause?

    Thanks.

    Last edited by Xemnosyst on 6/8/2012 11:32:01 AM
  • #23

    You can expect to see frequent updates from me for a while.  2 weeks ago I had 10 addons (one for each class) that nobody in the world knew about except myself and a couple guildies.  They were not in perfect shape, and they were only for specs I played.  I decided to make them public, and I've been putting a lot of work into them.  And there is a lot more work to be done.  My current projects are a Balance rotation and some refinements to the Pally module.  There will be many many more things to do if I keep up the motivation.

    Author of Bitten's SpellFlash.

  • #22

    I have been very active with releases recently. I just ended my semester in college and am taking the summer off. :)

  • #5

    A quick question...

    Does your Hunter module absolutely require v1, or will it also work with v2?  Also, in the near future, do you have a Warrior module in the works?

    I ask because my toons are, in order of use, a Warrior, a Hunter, and a DK.

     

  • #7

    The hunter module uses version 1 of my library, but it comes with the download of version 2 (until I get around to updating the hunter module), so it will still work with the most recent version.

    And I do in fact have a warrior module, but it is not yet in a state to make public.  I suppose I could give it a quick glance over and put it up on Curse in beta at some point.  Other than that, it is low on my priority list.  Feel free to look around for somebody else's warrior module in the mean time, though - I bet there is one!  I just like to make my own.  :)

    Last edited by Xemnosyst on 5/10/2012 5:33:06 PM

    Author of Bitten's SpellFlash.

  • 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 »

Infinite Crisis NA

Get Your Preferred Access Code!