WoWInterface SVN KharthussHunterTimers

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk/KHunterTimers
    from Rev 79 to Rev 80
    Reverse comparison

Rev 79 → Rev 80

KHunterTimers.lua
414,6 → 414,18
return;
end
 
local _, _, _, tocversion = GetBuildInfo()
 
if tocversion >= 110000 then
GetSpellTexture = function(spellID)
if not spellID then
return nil;
end
 
return C_Spell.GetSpellTexture(spellID);
end
end
 
local texture = GetSpellTexture(spellId)
 
icon:SetTexture(texture)
version history.txt
1,5 → 1,7
Version History
 
v4.6.0
- Fixes for 11.0.0 Spell API changes
v4.5.9
- Updates for 11.0.0 patch
v4.5.8
KHunterTimers.toc
1,7 → 1,7
## Interface: 100207, 110000
## Title: Kharthus's Hunter Timers
## Notes: Times hunter buffs/debuffs
## Version: 4.5.9
## Version: 4.6.0
## DefaultState: Enabled
## LoadOnDemand: 0
## IconTexture: 132127
localization.lua
1,6 → 1,18
KHT_VERSION = "v"..C_AddOns.GetAddOnMetadata("KHunterTimers", "Version")
local _
 
local _, _, _, tocversion = GetBuildInfo()
 
if tocversion >= 110000 then
GetSpellInfo = function(spellID)
if not spellID then
return nil;
end
 
return C_Spell.GetSpellName(spellID)
end
end
 
-- Specializations
KHT_SPECIAL = "Enable 'Specialization' Timers"
KHT_ASPECT_EAGLE = GetSpellInfo(186289) -- Aspect of the Eagle
35,7 → 47,13
KHT_BESTIAL_TENACITY = GetSpellInfo(191414) -- Bestial Tenacity
KHT_BINDING_SHOT = GetSpellInfo(109248) -- Binding Shot
KHT_BLACK_ARROW = GetSpellInfo(194599) -- Black Arrow
KHT_CALTROPS = GetSpellInfo(194277) -- Caltrops
 
if tocversion >= 110000 then
KHT_CALTROPS = "Caltrops has been removed in TWW"
else
KHT_CALTROPS = GetSpellInfo(194277) -- Caltrops
end
 
KHT_CAMO = GetSpellInfo(199483) -- Camouflage
KHT_CAREFUL_AIM = GetSpellInfo(53238) -- Careful Aim
KHT_CARVE = GetSpellInfo(187708) -- Carve