+rake +faerie fire

This commit is contained in:
Олег Цветков 2025-09-02 18:32:39 +03:00
parent 5afd217146
commit 67505bf23d

View File

@ -4,7 +4,8 @@ textures['Claw'] = 'Ability_Druid_Rake'
textures['Rip'] = 'Ability_GhoulFrenzy' textures['Rip'] = 'Ability_GhoulFrenzy'
textures['Ferocious Bite'] = 'Ability_Druid_FerociousBite' textures['Ferocious Bite'] = 'Ability_Druid_FerociousBite'
textures['Tiger\'s Fury'] = 'Ability_Mount_JungleTiger' textures['Tiger\'s Fury'] = 'Ability_Mount_JungleTiger'
textures['Faerie Fire (Feral)'] = 'Spell_Nature_FaerieFire'
textures['Rake'] = 'Ability_Druid_Disembowel'
local function getTexture(spellName) local function getTexture(spellName)
if textures[spellName] ~= nil then if textures[spellName] ~= nil then
@ -114,33 +115,38 @@ local function attack()
if (not PlayerFrame.inCombat) then if (not PlayerFrame.inCombat) then
AttackTarget() AttackTarget()
else else
if isUsable('Tiger\'s Fury') and not buffed('Tiger\'s Fury', 'player') then cast('Faerie Fire (Feral)')
if isUsable('Faerie Fire (Feral)') and not buffed('Faerie Fire (Feral)', 'target') and
not onCooldown('Faerie Fire (Feral)') then
cast('Faerie Fire (Feral)()')
elseif isUsable('Tiger\'s Fury') and not buffed('Tiger\'s Fury', 'player') then
cast('Tiger\'s Fury') cast('Tiger\'s Fury')
elseif isUsable('Ferocious Bite') and comboPoints() > 1 then elseif isUsable('Ferocious Bite') and comboPoints() > 2 then
cast('Ferocious Bite') cast('Ferocious Bite')
-- elseif isUsable('Rip') and comboPoints() > 0 and not buffed('Rip', 'target') then elseif isUsable('Rake') and not buffed('Rake', 'target') then
-- cast('Rip') cast('Rake')
elseif isUsable('Claw') then elseif isUsable('Claw') then
cast('Claw') cast('Claw')
-- elseif isUsable('Blood Fury') and not onCooldown('Blood Fury') then -- elseif isUsable('Blood Fury') and not onCooldown('Blood Fury') then
-- cast('Blood Fury') -- cast('Blood Fury')
-- elseif not IsAutoRepeatAction(47) then -- elseif not IsAutoRepeatAction(47) then
-- cast('Auto Shot') -- cast('Auto Shot')
-- elseif isUsable('Multi-Shot') and not onCooldown('Multi-Shot') then -- elseif isUsable('Multi-Shot') and not onCooldown('Multi-Shot') then
-- cast('Multi-Shot') -- cast('Multi-Shot')
-- elseif isUsable('Steady Shot') and not onCooldown('Steady Shot') then -- elseif isUsable('Steady Shot') and not onCooldown('Steady Shot') then
-- cast('Steady Shot') -- cast('Steady Shot')
-- elseif isUsable('Baited Shot') and not onCooldown('Baited Shot') then -- elseif isUsable('Baited Shot') and not onCooldown('Baited Shot') then
-- cast('Baited Shot') -- cast('Baited Shot')
-- elseif isUsable('Kill Command') and not onCooldown('Kill Command') then -- elseif isUsable('Kill Command') and not onCooldown('Kill Command') then
-- cast('Kill Command') -- cast('Kill Command')
-- elseif isUsable('Arcane Shot') and not onCooldown('Arcane Shot') then -- elseif isUsable('Arcane Shot') and not onCooldown('Arcane Shot') then
-- cast('Arcane Shot(Rank 1)') -- cast('Arcane Shot(Rank 1)')
-- elseif isUsable('Serpent Sting') and not buffed('Serpent Sting', 'target') and -- elseif isUsable('Serpent Sting') and not buffed('Serpent Sting', 'target') and
-- healthGtThan(25, UnitHealth('target'), UnitHealthMax('target')) then -- healthGtThan(25, UnitHealth('target'), UnitHealthMax('target')) then
-- cast('Serpent Sting') -- cast('Serpent Sting')
-- elseif isUsable('Concussive Shot') and not onCooldown('Concussive Shot') then -- elseif isUsable('Concussive Shot') and not onCooldown('Concussive Shot') then
-- cast('Concussive Shot') -- cast('Concussive Shot')
end end
end end
end end