WoWInterface SVN KharthussHunterTimers

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 48 to Rev 49
    Reverse comparison

Rev 48 → Rev 49

KHunterTimers/KHunterTimers.toc
1,7 → 1,7
## Interface: 60200
## Title: Kharthus's Hunter Timers
## Notes: Times hunter buffs/debuffs
## Version: 3.7.6
## Version: 3.7.7
## DefaultState: Enabled
## LoadOnDemand: 0
## SavedVariables: KHTvars
KHunterTimers/localization.lua
75,6 → 75,7
KHT_LOCK_LOAD, _, KHT_LOCK_LOAD_ICON = GetSpellInfo(168980); -- Lock and Load
KHT_FOCUS_FIRE = GetSpellInfo(82692); -- Focus Fire
KHT_SNIPER, _, KHT_SNIPER_ICON = GetSpellInfo(168811); -- Sniper Training
KHT_SNIPER_MOVE, _, KHT_SNIPER_MOVE_ICON = GetSpellInfo(168809); -- Sniper Training: Recently Moved
KHT_THRILL = GetSpellInfo(34720); -- Thrill of the Hunt
KHT_GLAIVE, _, KHT_GLAIVE_ICON = GetSpellInfo(117050); -- Glaive Toss
KHT_STAMPEDE = GetSpellInfo(121818); -- Stampede
KHunterTimers/KHunterTimers.lua
16,6 → 16,7
local khtSerpent = 0;
local khtSerpentAoE = false;
local khtSniper = 0;
local khtSniperMove = 0;
local khtFrenzy = 0;
local khtMark = 0;
local khtExplosive = 0;
1677,6 → 1678,20
KHunterTimersFrame_add( duration*1000, spellName, spellId );
khtSniper = timeLeft;
end
local spellName, _, _, _, _, duration, timeLeft, _, _, _, spellId = UnitBuff("player", KHT_SNIPER_MOVE, nil );
if( spellName and timeLeft ~= khtSniperMove ) then
duration = timeLeft - GetTime();
KHunterTimersFrame_add( duration*1000, spellName, spellId );
khtSniperMove = timeLeft;
elseif spellName == nil then
khtSniperMove = 0;
for i=1, KHTvars["numBars"] do
local barframe = _G[ "KHunterTimersStatus"..i];
if string.find( barframe.spell, KHT_SNIPER_MOVE ) then
barframe.endTime = 0;
end
end
end
end
if( KHTvars["skills"][KHT_THRILL] ) then
local spellName, _, _, count, _, duration, timeLeft, _, _, _, spellId = UnitBuff("player", KHT_THRILL, nil );
2476,6 → 2491,7
KHTvars["textures"][KHT_PET_FRENZY] = KHT_PET_FRENZY_ICON;
KHTvars["textures"][KHT_LOCK_LOAD] = KHT_LOCK_LOAD_ICON;
KHTvars["textures"][KHT_SNIPER] = KHT_SNIPER_ICON;
KHTvars["textures"][KHT_SNIPER_MOVE] = KHT_SNIPER_MOVE_ICON;
KHTvars["textures"][KHT_BINDING] = KHT_BINDING_ICON;
KHTvars["textures"][KHT_GLAIVE] = KHT_GLAIVE_ICON;
 
2558,6 → 2574,7
khtSerpent = 0;
khtSerpentAoE = false;
khtSniper = 0;
khtSniperMove = 0;
khtFrenzy = 0;
khtMark = 0;
khtExplosive = 0;
KHunterTimers/version history.txt
1,5 → 1,7
Version History
 
v3.7.7
- Added Sniper Training: Recently Moved
v3.7.6
- TOC update for 6.2 patch
- Added Beating Heart of the Mountain