promotional bannermobile promotional banner

Bitten's SpellFlash Library

This addon does nothing on its own. It is required to make all other Bitten's SpellFlash addons work.

File Details

60000.17

  • R
  • Jan 20, 2015
  • 39.23 KB
  • 28.1K
  • 6.0.3
  • Retail

File Name

BittensSpellFlashLibrary-60000.17.zip

Supported Versions

  • 6.0.3

------------------------------------------------------------------------
r358 | slippycheeze | 2015-01-20 21:54:37 +0000 (Tue, 20 Jan 2015) | 1 line
Changed paths:
   A /tags/60000.17 (from /trunk:357)

Create tag 60000.17
------------------------------------------------------------------------
r357 | slippycheeze | 2015-01-20 21:54:15 +0000 (Tue, 20 Jan 2015) | 9 lines
Changed paths:
   M /trunk/src/Flashing.lua

Move (primary) power check and wait into core

Many specs use some form of power that regenerates -- energy, focus,
mana (eg: pally) -- that is in limited supply.  Everyone had to
implement their own checks for power, and delay implementation for "how
long will this take".

This moves support into the core, and uses it for rage checks on
warriors, which is as good a test case as anything.
------------------------------------------------------------------------
r356 | slippycheeze | 2015-01-20 21:54:11 +0000 (Tue, 20 Jan 2015) | 1 line
Changed paths:
   M /trunk/src/Flashing.lua

Always check cooldown wait, even without annotation
------------------------------------------------------------------------
r355 | slippycheeze | 2015-01-20 21:54:07 +0000 (Tue, 20 Jan 2015) | 1 line
Changed paths:
   M /trunk/src/Events.lua

Implement event for entering combat.
------------------------------------------------------------------------
r354 | slippycheeze | 2015-01-20 21:54:03 +0000 (Tue, 20 Jan 2015) | 12 lines
Changed paths:
   M /trunk/src/Events.lua

Expose "canLandWithin" to test if a spell can land in a duration

This is useful for various specs, who want to cast a spell while a
debuff is present on the target, but don't actually trigger it.

For example, the frost Mage pet applies a debuff that generates frost
charges, so you want to put priority on Frostbolt, if it will land
before the debuff expires.

Right now this exposes the raw mechanic, not a high level interface to
"cast with this debuff", because the source of the debuff is usually
going to be less than simple -- or you wouldn't be doing this.
------------------------------------------------------------------------
r353 | slippycheeze | 2015-01-20 21:53:59 +0000 (Tue, 20 Jan 2015) | 1 line
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua
   M /trunk/src/Events.lua

Handle moved tinsert => table.insert in WoD
------------------------------------------------------------------------
r350 | slippycheeze | 2015-01-17 04:47:49 +0000 (Sat, 17 Jan 2015) | 1 line
Changed paths:
   M /trunk/src/Flashing.lua

Handle nil rotation in finding flash color
------------------------------------------------------------------------
r348 | slippycheeze | 2015-01-12 06:55:30 +0000 (Mon, 12 Jan 2015) | 1 line
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua

Add c.Form, to wrap s.Form without needing to do manual ID traslation
------------------------------------------------------------------------
r346 | slippycheeze | 2015-01-12 05:29:36 +0000 (Mon, 12 Jan 2015) | 1 line
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua
   M /trunk/src/Events.lua
   M /trunk/src/Flashing.lua
   M /trunk/src/Foods.lua
   M /trunk/src/OptionsFrames.lua
   D /trunk/src/Simulations.lua

Clean up luacheck warnings and errors
------------------------------------------------------------------------
r345 | slippycheeze | 2015-01-12 05:29:32 +0000 (Mon, 12 Jan 2015) | 5 lines
Changed paths:
   M /trunk/src/Flashing.lua
   M /trunk/src/SlashCommands.lua

Remove AoE mode, add rotation default flash color overrides

This is used in the pally module, since every spell is gold, and that
has low contrast with the default flashing color.  Since this is a
significant change, the new feature is optional.
------------------------------------------------------------------------
r344 | slippycheeze | 2015-01-12 05:29:27 +0000 (Mon, 12 Jan 2015) | 1 line
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua

Whitespace cleanup, no function change
------------------------------------------------------------------------
r342 | slippycheeze | 2015-01-03 09:30:51 +0000 (Sat, 03 Jan 2015) | 10 lines
Changed paths:
   M /trunk/src/Flashing.lua

Add support for spell.Debug to dig into why a spell failed to flash

This is something I have written, and deleted, about a dozen times while
trying to figure out Blizzard bugs (like "this spell has range, but is
never, ever in range" on Earthquake).

This codifies it, and makes it reasonably efficient, in that it returns
one extra value from a function, a constant string, and performs one
extra conditional dereference, load, check set, without function calls
if debugging is not enabled.
------------------------------------------------------------------------
r340 | slippycheeze | 2015-01-01 22:59:53 +0000 (Thu, 01 Jan 2015) | 1 line
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua

Don't print messages about "nil" spells being undefined.
------------------------------------------------------------------------
r338 | slippycheeze | 2015-01-01 00:28:23 +0000 (Thu, 01 Jan 2015) | 9 lines
Changed paths:
   M /trunk/src/Flashing.lua

Support spell charges natively in rotation flashing

This extends the PriorityFlash and DelayPriorityFlash code to natively
support spells that use charges, such that they will be treated as
unflashable when there are no charges available.

This allows all the hand-coded implementations of the same (or the bugs
where they should have been considered and were not) to be replaced with
the core just doing the right thing™.
------------------------------------------------------------------------
r335 | slippycheeze | 2014-12-20 08:11:11 +0000 (Sat, 20 Dec 2014) | 4 lines
Changed paths:
   M /trunk/src/BittensSpellFlashLibrary.lua
   M /trunk/src/Flashing.lua

Implement support for "warnings" on rotations.

This is used to warn people about untested or unready parts of addons
when I push them to the public for broader testing.
------------------------------------------------------------------------