General Hunter Macros
-
- Posts: 7
General Hunter Macros
- AutoShot
/script if GetUnitName("target")==nil then TargetNearestEnemy() end
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(12) then CastSpellByName("Auto Shot") end
--AutoAttack with Raptor Strike then Mongoose Bite
/run if (not PlayerFrame.inCombat) then AttackTarget() end
/cast Raptor Strike
/cast Mongoose Bite
-- Serpent Sting with AutoAttack and PetAttack
/script if (not PlayerFrame.inCombat) then AttackTarget() end
/cast Serpent Sting
/script PetAttack()
PetPassiveMode with PetFollow
/script PetPassiveMode();
/script PetFollow();
--AutoShot or Shoot (for wand)
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(12) then CastSpellByName("Auto Shot OR Shoot") end
/script if GetUnitName("target")==nil then TargetNearestEnemy() end
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(12) then CastSpellByName("Auto Shot") end
--AutoAttack with Raptor Strike then Mongoose Bite
/run if (not PlayerFrame.inCombat) then AttackTarget() end
/cast Raptor Strike
/cast Mongoose Bite
-- Serpent Sting with AutoAttack and PetAttack
/script if (not PlayerFrame.inCombat) then AttackTarget() end
/cast Serpent Sting
/script PetAttack()
PetPassiveMode with PetFollow
/script PetPassiveMode();
/script PetFollow();
--AutoShot or Shoot (for wand)
/run if CheckInteractDistance("target", 3) and (not PlayerFrame.inCombat) then AttackTarget() elseif not IsAutoRepeatAction(12) then CastSpellByName("Auto Shot OR Shoot") end
Last edited by Ihavenoclothes on Tue Feb 13, 2024 1:06 pm, edited 1 time in total.
-
- Posts: 7
Re: General Hunter Macros
Thank You for adding that great resource link! I'm just posting a cumulative list of macro's I've found useful.
Re: General Hunter Macros
/script if UnitExists("target") then if a ==0 then PetAttack(target) a=1 else if UnitExists("pettarget") and UnitIsUnit("target","pettarget") then PetFollow("Leonhardtusk") a=0 else PetAttack(target) end;end; else PetFollow("Leonhardtusk") a=0 end;
Change "Leonhardtusk" to your name.
This is attack and if you press it again it turns on follow and brings them back to you. I have it bound to one of my mouse buttons for quick on off usage
Change "Leonhardtusk" to your name.
This is attack and if you press it again it turns on follow and brings them back to you. I have it bound to one of my mouse buttons for quick on off usage
Re: General Hunter Macros
I'll share my macro, maybe someone will like it. Although it was made more than a year ago, it may still be working.
Shot + Aimed Shot, Trueshot/Arcane Shot or Attack + Raptor Strike, Mongoose Bite, Counterattack depending on the distance to the target.
/script local N,R,C;local UL=UnitLevel;if UnitExists("target")==nil then TargetNearestEnemy();end;if CheckInteractDistance("target",2)==1 then for C=1,200 do if IsAttackAction(C)then if not IsCurrentAction(C)then UseAction(C);end;C=200;end;end;if UL("player")>55 then LV="Rank 8" else if UL("player")>47 then LV="Rank 7" else if UL("player")>39 then LV="Rank 6" else if UL("player")>31 then LV="Rank 5" else if UL("player")>23 then LV="Rank 4" else if UL("player")>15 then LV="Rank 3" else if UL("player")>7 then LV="Rank 2" else if UL("player")>0 then LV="Rank 1" else LV="0" end;end;end;end;end;end;end;end; for C=1,200 do N,R=GetSpellName(C,"spell");if N=="Raptor Strike" and R==LV and GetSpellCooldown(C,"spell")==0 then CastSpellByName("Raptor Strike("..LV..")");C=200;end;end;if UL("player")>57 then LV="Rank 4" else if UL("player")>43 then LV="Rank 3" else if UL("player")>29 then LV="Rank 2" else if UL("player")>15 then LV="Rank 1" else LV="0" end;end;end;end;CastSpellByName("Mongoose Bite("..LV..")");if UL("player")>53 then LV="Rank 3" else if UL("player")>41 then LV="Rank 2" else if UL("player")>30 then LV="Rank 1" else LV="0" end;end;end;CastSpellByName("Counterattack("..LV..")");else if not IsAutoRepeatAction(58)then CastSpellByName("Auto Shot");end;if UL("player")>59 then LV="Rank 6" else if UL("player")>51 then LV="Rank 5" else if UL("player")>43 then LV="Rank 4" else if UL("player")>35 then LV="Rank 3" else if UL("player")>27 then LV="Rank 2" else if UL("player")>19 then LV="Rank 1" else LV="0" end;end;end;end;end;end;for C=1,200 do N,R=GetSpellName(C,"spell");if N=="Aimed Shot" and R==LV and GetSpellCooldown(C,"spell")==0 then CastSpellByName("Aimed Shot("..LV..")");C=200;end;end;for C=1,200 do N,R=GetSpellName(C,"spell");if N=="Trueshot" and GetSpellCooldown(C,"spell")==0 then CastSpellByName("Trueshot");C=200;end;end;if UL("player")>59 then LV="Rank 8" else if UL("player")>51 then LV="Rank 7" else if UL("player")>43 then LV="Rank 6" else if UL("player")>35 then LV="Rank 5" else if UL("player")>27 then LV="Rank 4" else if UL("player")>19 then LV="Rank 3" else if UL("player")>11 then LV="Rank 2" else if UL("player")>5 then LV="Rank 1" else LV="0" end;end;end;end;end;end;end;end; for C=1,200 do N,R=GetSpellName(C,"spell");if N=="Arcane Shot" and R==LV and GetSpellCooldown(C,"spell")==0 then CastSpellByName("Arcane Shot("..LV..")");C=200;end;end;end;
Shot + Aimed Shot, Trueshot/Arcane Shot or Attack + Raptor Strike, Mongoose Bite, Counterattack depending on the distance to the target.
/script local N,R,C;local UL=UnitLevel;if UnitExists("target")==nil then TargetNearestEnemy();end;if CheckInteractDistance("target",2)==1 then for C=1,200 do if IsAttackAction(C)then if not IsCurrentAction(C)then UseAction(C);end;C=200;end;end;if UL("player")>55 then LV="Rank 8" else if UL("player")>47 then LV="Rank 7" else if UL("player")>39 then LV="Rank 6" else if UL("player")>31 then LV="Rank 5" else if UL("player")>23 then LV="Rank 4" else if UL("player")>15 then LV="Rank 3" else if UL("player")>7 then LV="Rank 2" else if UL("player")>0 then LV="Rank 1" else LV="0" end;end;end;end;end;end;end;end; for C=1,200 do N,R=GetSpellName(C,"spell");if N=="Raptor Strike" and R==LV and GetSpellCooldown(C,"spell")==0 then CastSpellByName("Raptor Strike("..LV..")");C=200;end;end;if UL("player")>57 then LV="Rank 4" else if UL("player")>43 then LV="Rank 3" else if UL("player")>29 then LV="Rank 2" else if UL("player")>15 then LV="Rank 1" else LV="0" end;end;end;end;CastSpellByName("Mongoose Bite("..LV..")");if UL("player")>53 then LV="Rank 3" else if UL("player")>41 then LV="Rank 2" else if UL("player")>30 then LV="Rank 1" else LV="0" end;end;end;CastSpellByName("Counterattack("..LV..")");else if not IsAutoRepeatAction(58)then CastSpellByName("Auto Shot");end;if UL("player")>59 then LV="Rank 6" else if UL("player")>51 then LV="Rank 5" else if UL("player")>43 then LV="Rank 4" else if UL("player")>35 then LV="Rank 3" else if UL("player")>27 then LV="Rank 2" else if UL("player")>19 then LV="Rank 1" else LV="0" end;end;end;end;end;end;for C=1,200 do N,R=GetSpellName(C,"spell");if N=="Aimed Shot" and R==LV and GetSpellCooldown(C,"spell")==0 then CastSpellByName("Aimed Shot("..LV..")");C=200;end;end;for C=1,200 do N,R=GetSpellName(C,"spell");if N=="Trueshot" and GetSpellCooldown(C,"spell")==0 then CastSpellByName("Trueshot");C=200;end;end;if UL("player")>59 then LV="Rank 8" else if UL("player")>51 then LV="Rank 7" else if UL("player")>43 then LV="Rank 6" else if UL("player")>35 then LV="Rank 5" else if UL("player")>27 then LV="Rank 4" else if UL("player")>19 then LV="Rank 3" else if UL("player")>11 then LV="Rank 2" else if UL("player")>5 then LV="Rank 1" else LV="0" end;end;end;end;end;end;end;end; for C=1,200 do N,R=GetSpellName(C,"spell");if N=="Arcane Shot" and R==LV and GetSpellCooldown(C,"spell")==0 then CastSpellByName("Arcane Shot("..LV..")");C=200;end;end;end;
-
- Posts: 7
Re: General Hunter Macros
Anyone have a good macro to bind Rapid Fire to another attack like Arcane Shot, so it automatically casts on CD?
-
- Posts: 7
Re: General Hunter Macros
Thanks, but I am trying to have the tooltip show as Arcane shot, so it need it to be the first line.
I'd also like to integrate autoshot into the macro.
I'd also like to integrate autoshot into the macro.