Originally Posted by
wowd00d
how do I go about adding the engineering trinket to the survival hunter rotation? I cant see the option. thanks
just edit the ability you want and add
Code:
if GetInventoryItemCooldown("player", 10) == 0 then
UseInventoryItem(10)
end
directly above the casted spell off the ability
for example explosive shot would look like this:
Code:
local PlayerCombat = UnitAffectingCombat("player")
local TargetValidation = TargetValidation
local PQ_Expl = PQ_Expl
if TargetValidation("target", PQ_Expl)
and PlayerCombat
then
if GetInventoryItemCooldown("player", 10) == 0 then
UseInventoryItem(10)
end
CastSpellByName(GetSpellInfo(PQ_Expl),"target")
return true
end