Skip to content

Commit

Permalink
Update All Cata
Browse files Browse the repository at this point in the history
  • Loading branch information
doadin committed Nov 6, 2024
1 parent 1b6075f commit 000fa97
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions Specialization/Cata/BeastMastery.lua
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ local function ClearCDs()
end

function BeastMastery:callaction()
if (MaxDps:CheckSpellUsable(classtable.HuntersMark, 'HuntersMark')) and (ttd >= 21) and cooldown[classtable.HuntersMark].ready then
if (MaxDps:CheckSpellUsable(classtable.HuntersMark, 'HuntersMark')) and not debuff[classtable.HuntersMark].up and (ttd >= 21) and cooldown[classtable.HuntersMark].ready then
MaxDps:GlowCooldown(classtable.HuntersMark, cooldown[classtable.HuntersMark].ready)
end
--if (MaxDps:CheckSpellUsable(classtable.TolvirPotion, 'TolvirPotion')) and (not UnitAffectingCombat('player') or MaxDps:Bloodlust() or ttd <= 60) and cooldown[classtable.TolvirPotion].ready then
Expand Down Expand Up @@ -159,7 +159,7 @@ function Hunter:BeastMastery()
--end
classtable.bloodlust = 0
classtable.SerpentStingDeBuff = 271788
classtable.BeastWithinBuff = 0
classtable.BeastWithinBuff = 34471
setSpell = nil
ClearCDs()

Expand Down
10 changes: 5 additions & 5 deletions Specialization/Cata/Marksmanship.lua
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ local function ClearCDs()
end

function Marksmanship:callaction()
if (MaxDps:CheckSpellUsable(classtable.HuntersMark, 'HuntersMark')) and (ttd >= 21) and cooldown[classtable.HuntersMark].ready then
if (MaxDps:CheckSpellUsable(classtable.HuntersMark, 'HuntersMark')) and not debuff[classtable.HuntersMark].up and (ttd >= 21) and cooldown[classtable.HuntersMark].ready then
MaxDps:GlowCooldown(classtable.HuntersMark, cooldown[classtable.HuntersMark].ready)
end
if (MaxDps:CheckSpellUsable(classtable.TrueshotAura, 'TrueshotAura')) and cooldown[classtable.TrueshotAura].ready then
Expand Down Expand Up @@ -181,12 +181,12 @@ function Hunter:Marksmanship()
-- self:ClearGlowIndependent(spellId, spellId)
--end
classtable.bloodlust = 0
classtable.RapidFireBuff = 0
classtable.SerpentStingDeBuff = 0
classtable.RapidFireBuff = 3045
classtable.SerpentStingDeBuff = 1978
classtable.PreImprovedSteadyShotBuff = 0
classtable.ImprovedSteadyShotBuff = 0
classtable.MasterMarksmanFireBuff = 0
classtable.BerserkingBuff = 0
classtable.MasterMarksmanFireBuff = 82925
classtable.BerserkingBuff = 26297
classtable.Tier134pcBuff = 0
setSpell = nil
ClearCDs()
Expand Down
4 changes: 2 additions & 2 deletions Specialization/Cata/Survival.lua
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ local function ClearCDs()
end

function Survival:callaction()
if (MaxDps:CheckSpellUsable(classtable.HuntersMark, 'HuntersMark')) and (ttd >= 21) and cooldown[classtable.HuntersMark].ready then
if (MaxDps:CheckSpellUsable(classtable.HuntersMark, 'HuntersMark')) and not debuff[classtable.HuntersMark].up and (ttd >= 21) and cooldown[classtable.HuntersMark].ready then
MaxDps:GlowCooldown(classtable.HuntersMark, cooldown[classtable.HuntersMark].ready)
end
--if (MaxDps:CheckSpellUsable(classtable.TolvirPotion, 'TolvirPotion')) and (not UnitAffectingCombat('player') or MaxDps:Bloodlust() or ttd <= 60) and cooldown[classtable.TolvirPotion].ready then
Expand Down Expand Up @@ -164,7 +164,7 @@ function Hunter:Survival()
--end
classtable.bloodlust = 0
classtable.SerpentStingDeBuff = 259491
classtable.ExplosiveShotDeBuff = 0
classtable.ExplosiveShotDeBuff = 53301
setSpell = nil
ClearCDs()

Expand Down

0 comments on commit 000fa97

Please sign in to comment.