crap so there is no way at all?![]()
aside from pausing the bot :S
you could try to create a interrupt ability within your rotation with a range check for pummel and not use the default interrupt
something like
or try to edit the interrupt - initialize - and where it isPHP Code:
if UnitCastingInfo("target") and IsSpellInRange("Pummel", "target") == 1 then
CastSpellByName("Pummel")
return true
end
you change forPHP Code:
elseif playerClass == "WARRIOR" then
return 6552
PHP Code:
elseif playerClass == "WARRIOR" then
if CheckInteractDistance("target", 3) == 1 then
return 6552
end
this way it will only try to interrupt if in range so if its out of range it will do something else and wont break the aim for your leap
Last edited by cassrgs; 12-21-2012 at 01:18 AM.
ok so where do i add this code? im so confused with all of this lol :S
there's either::
-initialize-
-- Variables: Interrupt --
Interrupt (Arena)
Interrupt (Focus)
Interrupt (Target)
@gino: just edited my previous post with some extra stuff
So I created this ability to use on my hunter profile for when I have a ferocity pet and he dies to cast the pet "brez". but it doesnt work T.T
What am I doing wrong?PHP Code:
if UnitExists("pet") ~= nil
and UnitIsDead("pet")
and PQR_SpellAvailable(55709)
and IsSpellInRange(GetSpellInfo(55709))
then return true
end
Well since CheckInteractDistance("target", 3) its still around 10 yards you could try to use the function Firepong posted bellow to specify other distance value for your check
http://www.ownedcore.com/forums/worl...ml#post2512291 (PQR - Rotation Bot)
I believe the problem lies elsewhere since with those changes its working (more or less, gotta put more conditionals like range check and if its on combat)
Probably if im using Cunning or tenacity pet the code will hang the rotation (since they dont have the spell and i didnt put a check for it)PHP Code:
local Heartdebuff = UnitDebuffID("player", 55711)
if UnitExists("pet") ~= nil
and UnitIsDead("pet") and not Heartdebuff
then
CastSpellByName("Heart of the Phoenix")
return true
end