WoWInterface SVN KharthussHunterTimers

Compare Revisions

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

Rev 57 → Rev 58

trunk/KHunterTimers/KHunterTimers.xml
1430,7 → 1430,7
</Anchor>
</Anchors>
</Button>
<Button name="$parentTab5" inherits="KHunterTimersFrameTabTemplate" id="5" text="Misc">
<Button name="$parentTab5" inherits="KHunterTimersFrameTabTemplate" id="5" text="Azerite">
<Anchors>
<Anchor point="LEFT" relativeTo="$parentTab4" relativePoint="RIGHT">
<Offset>
trunk/KHunterTimers/globals.lua
11,7 → 11,7
[2] = 25, -- Talents
[3] = 14, -- Common
[4] = 9, -- Pets
[5] = 1, -- Misc
[5] = 2, -- Azerite Powers
[6] = 1 -- Trinkets (removed)
};
 
107,9 → 107,27
[8] = KHT_SPIRIT_MEND,
[9] = KHT_WARP_TIME
},
[5] = { -- Misc
[1] = KHT_MISC,
[2] = KHT_OFF
[5] = { -- Azerite Powers
[1] = KHT_AZERITE,
[2] = KHT_DAGGER_BACK,
[3] = KHT_OFF,
[4] = KHT_OFF,
[5] = KHT_OFF,
[6] = KHT_OFF,
[7] = KHT_OFF,
[8] = KHT_OFF,
[9] = KHT_OFF,
[10] = KHT_OFF,
[11] = KHT_OFF,
[12] = KHT_OFF,
[13] = KHT_OFF,
[14] = KHT_OFF,
[15] = KHT_OFF,
[16] = KHT_OFF,
[17] = KHT_OFF,
[18] = KHT_OFF,
[19] = KHT_OFF,
[20] = KHT_OFF
},
[6] = { -- Trinkets
[1] = KHT_TRINKETS,
trunk/KHunterTimers/KHunterTimers.lua
21,6 → 21,7
local khtSurvivalist = 0
local khtTrueAim = 0
local khtBarbedShot = 0
local khtDaggerBack = 0
 
local khtTimeLeft = nil;
 
1544,6 → 1545,16
end
end
end
if( KHTvars["skills"][KHT_AZERITE] ) then
if( KHTvars["skills"][KHT_DAGGER_BACK] ) then
local spellName, _, count, _, duration, timeLeft, unitCaster, _, _, spellId = AuraUtil.FindAuraByName(KHT_DAGGER_BACK, "target", "HARMFUL");
if( spellName and unitCaster == "player" and timeLeft ~= khtDaggerBack ) then
duration = timeLeft - GetTime();
KHunterTimersFrame_add( duration*1000, spellName, spellId, UnitName("target"), UnitGUID("target"), count );
khtDaggerBack = timeLeft;
end
end
end
elseif( event == "UNIT_SPELLCAST_SUCCEEDED" and firstArg == "player" ) then
if( KHTvars["skills"][KHT_SPECIAL] ) then
if( thirdArg == 187650 ) then
2258,6 → 2269,7
khtSurvivalist = 0
khtTrueAim = 0
khtBarbedShot = 0
khtDaggerBack = 0
 
end
 
trunk/KHunterTimers/version history.txt
1,4 → 1,6
Version History
v4.3.1
- Added Dagger in the Back
v4.3.0
- Fixed errors in 8.0 patch
v4.2.2
trunk/KHunterTimers/KHunterTimers.toc
1,7 → 1,7
## Interface: 80000
## Title: Kharthus's Hunter Timers
## Notes: Times hunter buffs/debuffs
## Version: 4.3.0
## Version: 4.3.1
## DefaultState: Enabled
## LoadOnDemand: 0
## SavedVariables: KHTvars
trunk/KHunterTimers/localization.lua
23,6 → 23,10
KHT_TRUESHOT = GetSpellInfo(193526) -- Trueshot
KHT_WING_CLIP = GetSpellInfo(195645) -- Wing Clip
 
-- Azerite Powers
KHT_AZERITE = "Enable 'Azerite Power' Timers";
KHT_DAGGER_BACK = GetSpellInfo(280284) -- Dagger in the Back
 
-- Talents
KHT_TALENT = "Enable 'Talent' Timers"
KHT_MURDER_CROWS = GetSpellInfo(131894) -- A Murder of Crows
80,7 → 84,6
KHT_WARP_TIME = GetSpellInfo(35346) -- Warp Time
KHT_FRENZY = GetSpellInfo(272790) -- Frenzy
 
KHT_MISC = "Enable 'Miscellaneous' Timers";
KHT_TRINKETS = "Enable 'Trinket' Timers";
 
--Other