+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,12 +115,17 @@ 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