Happy botting!
function Settings() FightDist = 5; PullDist = 5;endfunction PullMob(MobAddr) StartAutoAttack(); if IsSpellKnown(770) and IsSpellReady(770) then _Log("Cast Faerie Fire"); CastSpellByID(770 , MobAddr , true); NextAction(); endendfunction NextAction() if true then return endendfunction Fight() Target = GetAttacker(1); if HasBuff(Player,1126) == false then _Log("Cast Mark of the Wild"); CastSpellByID(1126 , Player , true); NextAction(); end if HasBuff(Player,768) == false then _Log("Cast Cat Form"); CastSpellByID(768 , Player , true); NextAction(); end StartAutoAttack(); if GetComboPoints() == 0 and HasBuff(Player,52610) == false then _Log("Cast Savage Roar"); CastSpellByID(52610 , Player , true); NextAction(); end if HasBuff(Target,770) == false then _Log("Cast Faerie Fire"); CastSpellByID(770 , Target , true); NextAction(); end if HasBuff(Target,1822) == false then _Log("Cast Rake"); CastSpellByID(1822 , Target , true); NextAction(); end if IsSpellKnown(33917) and IsSpellReady(33917) then _Log("Cast Mangle"); CastSpellByID(33917 , Target , true); NextAction(); end if PlayerHpPercent() <= 60 and IsSpellKnown(22812) then _Log("HP lower then 60% -> Cast Barkskin"); CastSpellByID(22812, Player, true); end if GetComboPoints() >= 4 and HasBuff(Target,1079) == true then _Log("Cast Ferocious Bite"); CastSpellByID(22568, Target, true); end if GetComboPoints() >= 4 and HasBuff(Target,1079) == false then _Log("Cast Rip"); CastSpellByID(1079, Target, true); end if HasBuff(Player,69369) == true then _Log("Predatory Swiftness + Cast Healing Touch"); CastSpellByID(5185 , Player , true); NextAction(); end end
I also have a Custom Feral profile, maybe you can also have a look on it (Of course the best profile ever! ).Its using Barkskin under 60% HP, using Healing Touch if Predatory Swiftness proccs, buffs MotW and uses a more or less normal fight rotation.PS: @zyndo88 -> you have to replace the original classprofile in your botfolder e.g. -> C:\xyz\WRelease_0008\CustomClasses\Code: [Select]function Settings() FightDist = 5; PullDist = 5;endfunction PullMob(MobAddr) StartAutoAttack(); if IsSpellKnown(770) and IsSpellReady(770) then _Log("Cast Faerie Fire"); CastSpellByID(770 , MobAddr , true); NextAction(); endendfunction NextAction() if true then return endendfunction Fight() Target = GetAttacker(1); if HasBuff(Player,1126) == false then _Log("Cast Mark of the Wild"); CastSpellByID(1126 , Player , true); NextAction(); end if HasBuff(Player,768) == false then _Log("Cast Cat Form"); CastSpellByID(768 , Player , true); NextAction(); end StartAutoAttack(); if GetComboPoints() == 0 and HasBuff(Player,52610) == false then _Log("Cast Savage Roar"); CastSpellByID(52610 , Player , true); NextAction(); end if HasBuff(Target,770) == false then _Log("Cast Faerie Fire"); CastSpellByID(770 , Target , true); NextAction(); end if HasBuff(Target,1822) == false then _Log("Cast Rake"); CastSpellByID(1822 , Target , true); NextAction(); end if IsSpellKnown(33917) and IsSpellReady(33917) then _Log("Cast Mangle"); CastSpellByID(33917 , Target , true); NextAction(); end if PlayerHpPercent() <= 60 and IsSpellKnown(22812) then _Log("HP lower then 60% -> Cast Barkskin"); CastSpellByID(22812, Player, true); end if GetComboPoints() >= 4 and HasBuff(Target,1079) == true then _Log("Cast Ferocious Bite"); CastSpellByID(22568, Target, true); end if GetComboPoints() >= 4 and HasBuff(Target,1079) == false then _Log("Cast Rip"); CastSpellByID(1079, Target, true); end if HasBuff(Player,69369) == true then _Log("Predatory Swiftness + Cast Healing Touch"); CastSpellByID(5185 , Player , true); NextAction(); end end
Looks great, imma test it out when i get a chance, but Swifness + Healing touch part looks iffy. it seems it will cast it even if toon is with full HP, maybe u should add that to HP % Line
IsSpellKnown(770)
IsSpellKnown(106707)
_Log("Check Sunfire"); if not HasBuff(Target,8921) then _Log("Cast Sunfire"); CastSpellByID(8921 , Target , false); NextAction(); end
_Log("Faerie Fire"); if not HasBuff(Target,770) and IsSpellKnown(770) then _Log("Faerie Fire"); CastSpellByID(770 , Target , false); NextAction(); end
_Log("Faerie Swarm"); if not HasBuff(Target,106707) and IsSpellKnown(106707) then _Log("Faerie Swarm"); CastSpellByID(106707 , Target , false); NextAction(); end