WoWInterface SVN KharthussHunterTimers

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 52 to Rev 53
    Reverse comparison

Rev 52 → Rev 53

KHunterTimers/globals.lua
8,7 → 8,7
 
KHT_NUM_TIMERS = {
[1] = 24, -- Specializations
[2] = 28, -- Talents
[2] = 25, -- Talents
[3] = 14, -- Common
[4] = 9, -- Pets
[5] = 1, -- Misc
55,22 → 55,22
[10] = KHT_CAREFUL_AIM,
[11] = KHT_DIRE_FRENZY,
[12] = KHT_DRAGON_GRENADE,
[13] = KHT_INSTINCT_CHEETAH,
[14] = KHT_INSTINCT_MONGOOSE,
[15] = KHT_INSTINCT_RAPTOR,
[16] = KHT_INTIM,
[17] = KHT_LOCK_LOAD,
[18] = KHT_MOKNATHAL,
[19] = KHT_POSTHASTE,
[20] = KHT_RANGERS_NET,
[21] = KHT_SERPENT_STING,
[22] = KHT_SPITTING_COBRA,
[23] = KHT_STAMPEDE,
[24] = KHT_STEADY_FOCUS,
[25] = KHT_STEEL_TRAP,
[26] = KHT_STICKY_BOMB,
[27] = KHT_TRUE_AIM,
[28] = KHT_WYVERN,
[13] = KHT_INTIM,
[14] = KHT_LOCK_LOAD,
[15] = KHT_MOKNATHAL,
[16] = KHT_POSTHASTE,
[17] = KHT_RANGERS_NET,
[18] = KHT_SERPENT_STING,
[19] = KHT_SPITTING_COBRA,
[20] = KHT_STAMPEDE,
[21] = KHT_STEADY_FOCUS,
[22] = KHT_STEEL_TRAP,
[23] = KHT_STICKY_BOMB,
[24] = KHT_TRUE_AIM,
[25] = KHT_WYVERN,
[26] = KHT_OFF,
[27] = KHT_OFF,
[28] = KHT_OFF,
[29] = KHT_OFF,
[30] = KHT_OFF,
[31] = KHT_OFF,
KHunterTimers/KHunterTimers.lua
1022,10 → 1022,6
KHTvars["sticky"] = true;
end
 
if( KHTvars["cheetahtimeadd"] == nil ) then
KHTvars["cheetahtimeadd"] = 0;
end
 
if( KHTvars["serpentsting"] == nil ) then
KHTvars["serpentsting"] = false;
end
1228,12 → 1224,6
KHunterTimersFrame_add( 6000, spellName, spellId );
elseif( KHTvars["skills"][KHT_CAMO] and spellName == KHT_CAMO ) then
KHunterTimersFrame_add( 60000, spellName, spellId );
elseif( KHTvars["skills"][KHT_INSTINCT_CHEETAH] and spellName == KHT_INSTINCT_CHEETAH ) then
KHunterTimersFrame_add( 7000, spellName, spellId );
elseif( KHTvars["skills"][KHT_INSTINCT_MONGOOSE] and spellName == KHT_INSTINCT_MONGOOSE ) then
KHunterTimersFrame_add( 7000, spellName, spellId );
elseif( KHTvars["skills"][KHT_INSTINCT_RAPTOR] and spellName == KHT_INSTINCT_RAPTOR ) then
KHunterTimersFrame_add( 7000, spellName, spellId );
elseif( KHTvars["skills"][KHT_POSTHASTE] and spellName == KHT_POSTHASTE ) then
KHunterTimersFrame_add( 8000, spellName, spellId );
elseif( KHTvars["skills"][KHT_SPITTING_COBRA] and spellName == KHT_SPITTING_COBRA ) then
1244,9 → 1234,9
end
if( KHTvars["skills"][KHT_COMMON] ) then
if( KHTvars["skills"][KHT_ASPECT_CHEETAH] and spellName == KHT_ASPECT_CHEETAH and spellId == 186257 ) then
KHunterTimersFrame_add( 3000+KHTvars["cheetahtimeadd"], spellName, spellId )
KHunterTimersFrame_add( 3000, spellName, spellId )
elseif( KHTvars["skills"][KHT_ASPECT_CHEETAH] and spellName == KHT_ASPECT_CHEETAH and spellId == 186258 ) then
KHunterTimersFrame_add( 9000+KHTvars["cheetahtimeadd"], spellName, spellId )
KHunterTimersFrame_add( 9000, spellName, spellId )
elseif( KHTvars["skills"][KHT_ASPECT_TURTLE] and spellName == KHT_ASPECT_TURTLE ) then
KHunterTimersFrame_add( 8000, spellName, spellId )
elseif( KHTvars["skills"][KHT_BERSERKING] and spellName == KHT_BERSERKING ) then
1399,13 → 1389,7
end
end
if( KHTvars["skills"][KHT_TALENT] ) then
if( KHTvars["skills"][KHT_INSTINCT_CHEETAH] and spellName == KHT_INSTINCT_CHEETAH ) then
KHunterTimersFrame_add( 7000, spellName, spellId );
elseif( KHTvars["skills"][KHT_INSTINCT_MONGOOSE] and spellName == KHT_INSTINCT_MONGOOSE ) then
KHunterTimersFrame_add( 7000, spellName, spellId );
elseif( KHTvars["skills"][KHT_INSTINCT_RAPTOR] and spellName == KHT_INSTINCT_RAPTOR ) then
KHunterTimersFrame_add( 7000, spellName, spellId );
elseif( KHTvars["skills"][KHT_STEADY_FOCUS] and spellName == KHT_STEADY_FOCUS ) then
if( KHTvars["skills"][KHT_STEADY_FOCUS] and spellName == KHT_STEADY_FOCUS ) then
KHunterTimersFrame_add( 12000, spellName, spellId );
end
end
2238,12 → 2222,6
 
function KHunterTimers_UpdateTalents()
 
local _, _, _, talentActive = GetTalentInfoByID(22318,1) --Dash
if talentActive then
KHTvars["cheetahtimeadd"] = 3000;
else
KHTvars["cheetahtimeadd"] = 0;
end
local _, _, _, talentActive = GetTalentInfoByID(22271,1) --Serpent Sting
if talentActive then
KHTvars["serpentsting"] = true;
KHunterTimers/version history.txt
1,5 → 1,7
Version History
 
v4.1.0
- Updated for 7.1 patch
v4.0.1
- Update localizations
v4.0.0
KHunterTimers/KHunterTimers.toc
1,7 → 1,7
## Interface: 70000
## Interface: 70100
## Title: Kharthus's Hunter Timers
## Notes: Times hunter buffs/debuffs
## Version: 4.0.1
## Version: 4.1.0
## DefaultState: Enabled
## LoadOnDemand: 0
## SavedVariables: KHTvars
KHunterTimers/localization.lua
41,9 → 41,6
KHT_CARVE = GetSpellInfo(187708) -- Carve
KHT_DIRE_FRENZY = GetSpellInfo(217200) -- Dire Frenzy
KHT_DRAGON_GRENADE = GetSpellInfo(194855) -- Dragonsfire Grenade
KHT_INSTINCT_CHEETAH = GetSpellInfo(204324) -- Instincts of the Cheetah
KHT_INSTINCT_MONGOOSE = GetSpellInfo(204333) -- Instincts of the Mongoose
KHT_INSTINCT_RAPTOR = GetSpellInfo(204321) -- Instincts of the Raptor
KHT_INTIM = GetSpellInfo(24394) -- Intimidation
KHT_LOCK_LOAD = GetSpellInfo(194595) -- Lock and Load
KHT_MOKNATHAL = GetSpellInfo(201081) -- Mok'Nathal Tactics