WoWInterface SVN NeedToKnow-Updated

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 56 to Rev 57
    Reverse comparison

Rev 56 → Rev 57

NeedToKnow/NeedToKnow.lua
17,7 → 17,7
NeedToKnow = {}
-- NEEDTOKNOW = {} is defined in the localization file, which must be loaded before this file
 
NEEDTOKNOW.VERSION = "3.1.0"
NEEDTOKNOW.VERSION = "3.1.1"
NEEDTOKNOW.MAXGROUPS = 4
NEEDTOKNOW.MAXBARS = 6
NEEDTOKNOW.UPDATE_INTERVAL = 0.05
728,8 → 728,8
elseif ( event == "STOP_AUTOREPEAT_SPELL" ) then
self:UnregisterEvent("UNIT_SPELLCAST_SUCCEEDED")
elseif ( event == "UNIT_SPELLCAST_SUCCEEDED" ) then
local caster = select(1,...)
if ( self.settings.bAutoShot and caster == "player" ) then
local caster, spell = select(1,...)
if ( self.settings.bAutoShot and caster == "player" and spell == NEEDTOKNOW.AUTO_SHOT ) then
local interval = UnitRangedDamage("player")
self.tAutoShotCD = interval
self.tAutoShotExpires = GetTime() + interval
NeedToKnow/NeedToKnow.toc
1,7 → 1,7
## Interface: 30300
## Title: NeedToKnow
## Author: Kitjan
## Version: 3.1.0
## Version: 3.1.1
## Notes: Buff/debuff timer bars, original code by Nephthys of Hyjal-US. Additional work by lieandswell and Bilt
## OptionalDeps: LibStub,LibSharedMedia-3.0
## DefaultState: Enabled