+rake +faerie fire
This commit is contained in:
parent
5afd217146
commit
67505bf23d
48
main.lua
48
main.lua
@ -4,7 +4,8 @@ textures['Claw'] = 'Ability_Druid_Rake'
|
||||
textures['Rip'] = 'Ability_GhoulFrenzy'
|
||||
textures['Ferocious Bite'] = 'Ability_Druid_FerociousBite'
|
||||
textures['Tiger\'s Fury'] = 'Ability_Mount_JungleTiger'
|
||||
|
||||
textures['Faerie Fire (Feral)'] = 'Spell_Nature_FaerieFire'
|
||||
textures['Rake'] = 'Ability_Druid_Disembowel'
|
||||
|
||||
local function getTexture(spellName)
|
||||
if textures[spellName] ~= nil then
|
||||
@ -114,33 +115,38 @@ local function attack()
|
||||
if (not PlayerFrame.inCombat) then
|
||||
AttackTarget()
|
||||
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')
|
||||
elseif isUsable('Ferocious Bite') and comboPoints() > 1 then
|
||||
elseif isUsable('Ferocious Bite') and comboPoints() > 2 then
|
||||
cast('Ferocious Bite')
|
||||
-- elseif isUsable('Rip') and comboPoints() > 0 and not buffed('Rip', 'target') then
|
||||
-- cast('Rip')
|
||||
elseif isUsable('Rake') and not buffed('Rake', 'target') then
|
||||
cast('Rake')
|
||||
elseif isUsable('Claw') then
|
||||
cast('Claw')
|
||||
-- elseif isUsable('Blood Fury') and not onCooldown('Blood Fury') then
|
||||
-- cast('Blood Fury')
|
||||
-- elseif not IsAutoRepeatAction(47) then
|
||||
-- cast('Auto Shot')
|
||||
-- elseif isUsable('Multi-Shot') and not onCooldown('Multi-Shot') then
|
||||
-- cast('Multi-Shot')
|
||||
-- elseif isUsable('Steady Shot') and not onCooldown('Steady Shot') then
|
||||
-- cast('Steady Shot')
|
||||
-- elseif isUsable('Baited Shot') and not onCooldown('Baited Shot') then
|
||||
-- cast('Baited Shot')
|
||||
-- elseif isUsable('Kill Command') and not onCooldown('Kill Command') then
|
||||
-- cast('Kill Command')
|
||||
-- elseif isUsable('Arcane Shot') and not onCooldown('Arcane Shot') then
|
||||
-- cast('Arcane Shot(Rank 1)')
|
||||
-- elseif isUsable('Blood Fury') and not onCooldown('Blood Fury') then
|
||||
-- cast('Blood Fury')
|
||||
-- elseif not IsAutoRepeatAction(47) then
|
||||
-- cast('Auto Shot')
|
||||
-- elseif isUsable('Multi-Shot') and not onCooldown('Multi-Shot') then
|
||||
-- cast('Multi-Shot')
|
||||
-- elseif isUsable('Steady Shot') and not onCooldown('Steady Shot') then
|
||||
-- cast('Steady Shot')
|
||||
-- elseif isUsable('Baited Shot') and not onCooldown('Baited Shot') then
|
||||
-- cast('Baited Shot')
|
||||
-- elseif isUsable('Kill Command') and not onCooldown('Kill Command') then
|
||||
-- cast('Kill Command')
|
||||
-- elseif isUsable('Arcane Shot') and not onCooldown('Arcane Shot') then
|
||||
-- cast('Arcane Shot(Rank 1)')
|
||||
-- elseif isUsable('Serpent Sting') and not buffed('Serpent Sting', 'target') and
|
||||
-- healthGtThan(25, UnitHealth('target'), UnitHealthMax('target')) then
|
||||
-- cast('Serpent Sting')
|
||||
-- elseif isUsable('Concussive Shot') and not onCooldown('Concussive Shot') then
|
||||
-- cast('Concussive Shot')
|
||||
-- elseif isUsable('Concussive Shot') and not onCooldown('Concussive Shot') then
|
||||
-- cast('Concussive Shot')
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user