Jump to content
FORUMS
Sign in to follow this  
Ceraius

Random Mount Macro

Recommended Posts

Do you have a horde of mounts to boast? Are the majority of them rotting in your bags unused because you are too lazy to drag them on your bars? Don't you have enough bars?

FEAR NOT! For here's an answer!

A random mount macro a guildie of mine dug up from the depths of the interwebs!

/run if not IsMounted() then local m,t,f="mount",{{},{}} for i=2,GetNumCompanions(m) do tinsert(t[bit.band(2,select(6,GetCompanionInfo(m,i)))==0 and 1 or 2],i) end f=IsFlyableArea() and 2 or 1 CallCompanion(m,t[f][random(#t[f])]) else Dismount() end

This command line will dig up a random mount from your pet journal. If you're already mounted it dismounts you. It is also smart enough to browse only flying mounts when in a fly zone, and only ground mounts when in a no-fly zone, such as the Isle of Thunder.

The only fault it tends to be guilty of is trying to mount Cloud Serpents even if you don't have the Cloud Serpent Riding skill. (I don't know if this holds true to i.e. the Tailor exclusive carpets.)

Anyhoo. Go nuts!

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By darkganj
      Hello everyone! When i downloaded the recent shadowlands expansion, i noticed that my macros no longer worked =0. This is not a single target DPS  macro, this is a Help / Harm selective macro So i did some digging to find out what was goin on, An example of this would be : /cast [help] Innervate ; [harm] Entangling Roots ; Innervate.  This macro utilizes one button for a dual purpose. if i am targeted on friend i innervate them while if i and targeting a opponent it would root them in place. This structure is now broken but has also made things easier in most cases, After doing some digging i discovered some new macros and the new format. Some examples of the new way to write this would be :
       #showtooltip
      /cast [help,nodead][help,nodead]innervate
      /cast [harm,nodead][harm,nodead]Entangling Roots
      #showtooltip
      /cast [help,nodead][help,nodead]Regrowth
      /cast [harm,nodead][harm,nodead]Wrath
      #showtooltip
      /cast [harm,nodead][@target,harm,nodead]Moonfire
      /cast [help,nodead][@target,help,nodead]Rejuvenation
      #showtooltip
      /cast [help,nodead][help,nodead]Wild Growth
      /cast [harm,nodead][harm,nodead]Entangling Roots
      This is what they call a fall through macro, If the first line of code is not available because of a cooldown or if the Help or Harm selection, it will fall through to the next line of code. This works especially well for balance druids, shaman, and hybrid healing classes that use a ton of buttons. You can cut the amount of keys you need press in half which saves space and prevents accidentally pressings the wrong button. I like to pair my spells by the time it takes to cast, Instant casts with instant casts. They also introduces a mouse over macro for heals and rebuffs which is really good for world PVP. One of the better macros iv'e seen is a mouse over Rebirth : 
       #showtooltip Rebirth
      /cast [@mouseover,help]Rebirth;Rebirth
      #showtooltip Remove Corruption
      /cast [target=mouseover,help,nodead][target=target] Remove Corruption
       
      If you are going to try and make your own macro, you should keep in mind
      1: The Global Cool Down or GCD which is the time it takes between 2 casts and
      2: Not all of your spells and trinkets share a GCD, so you are able to cast 2 or 3 spells at the exact same time as long as it doesn't share a GCD.
      I hope this helps! 
       
       
    • By WatcherDK
      I'm trying to create a macro that will allow me to use Spirit Mend with the typical focus/mouseover modifiers but also allow me to use Exhilaration with a key modifier and can't seem to make all of this work together. Here's what I have but it's acting like the ALT modifier isn't even there.
      #showtooltip /cast [mod:alt][@mouseover,help,nodead][@focus,help,nodead][@player]Spirit Mend; Exhilaration Thank you in advance for any help!
    • By pyroman9111
      Hey all you monks, im currently playing a WW monk. I am trying to get my class mount, but im not getting the quest. i have completed all the achievements needed. not sure what to do any thoughts.
    • By Liseth
      So I know there is a feature by Blizzard to use random mount fitting to the area you're in but I wanted to make myself a macro for using this feature this way.
      /cast [nomod] <random mount>
      /cast [mod:alt] Sky Golem
      So is there a line usable in macro for random mount feature? Pressing shift and clicking on the icon does not output any line, just casts a mount summon.
    • By Vylon
      Are you tired of not getting three Blizzards off during Frozen Orb? Waste too much time having to place blizzard after you activate it? Look no further! The following Macro will cast Blizzard at your cursor (Like quick cast). No targeting reticle. No worries. Enjoy.

      #showtooltip
      /cast [@cursor] Blizzard
×
×
  • Create New...