So, this is how fearie swarm works and he buffs Mark of the wild.. I have the problem, that the bot stops an the interface get stuck aswell. I think it's the bot itself having a prob..
function Settings()
FightDist = 10;
PullDist = 30;
end
function PullMob(MobAddr)
--prepull mdw check
if IsSpellKnown(1126) then
LuaDoString("local c=0 for i=1,30 do local B=UnitBuff('player',i); if (B==GetSpellInfo(1126)) then c=1 end end if c==0 then CastSpellByName(GetSpellInfo(1126)) end")
NextAction();
end
if IsSpellKnown(5487) and not HasBuff(Player, 5487) then
_Log("Cast Bear Form");
CastSpellByID(5487 , Player , false);
NextAction();
end
if IsSpellKnown(770) and not HasBuff(MobAddr, 770) then
_Log("Faerie Fire");
CastSpellByID(770 , MobAddr , false);
NextAction();
end
end
function NextAction()
if true then return end
end
function Fight()
Target = GetAttacker(1);
StartAutoAttack();