@Firepong
I have been using ur kitty profile for a while now. and I want to implement the swipe into the rotation instead of make it separately. Here is what i got from Xeron's warrior profile
Code:
if modkeytime == nil then modkeytime = 0 end
if IsLeftShiftKeyDown() and GetTime() - modkeytime > 1 then
modkeytime = GetTime()
if modkeystate then
modkeystate = nil
print("Rotation mode: \124cFFDBFA2ASingle target")
else
modkeystate = 1
print("Rotation mode: \124cFFFA652AArea of Effect")
end
end
if IsAltKeyDown()
or IsMounted()
or SpellIsTargeting()
or UnitBuffID("player",80169)
then return true end
And I added these line into ur swipe code:
Code:
local _,_,_,BS = UnitBuffID("player", 50334)
local energy = UnitPower("player") / UnitPowerMax("player") * 100
if CheckInteractDistance("target", 2)
and modkeystate then
if BS ~= nil then
if energy >= 22 then
return true
end
else
if energy >= 45 then
return true
end
end
But it seem not working, can you correct me where I did wrong?
Well even if that worked, it'll just swipe when I got 22 enegy but I want it to use swipe ONLY. (I put modified swipe at top of the list just under special even)
Thanks.