Post by Nipah
#showtooltip Green Proto-Drake; Swift Gray Ram
/cast Hearthstone; Abyssal Seahorse
/run if IsMounted() then Dismount() return end if IsFlyableArea() then m={4,5,11} else m={13,14,15} end CallCompanion("MOUNT",m)
That's what I used (only with the hearthstone rigged in to it)... You don't need to do a check for Tol Barad, as you can't ever fly there... and as was said, it's Vashj'ir, with the apostrophe inbetwen the j and i.
If you don't like that one, you'll want to do this:
/use Hearthstone
/run if not IsMounted() then local g,f,s={g,g,g},{f,f,f},{s,s,s} local t=(GetCurrentMapAreaID()==(610 or 614 or 615) and IsSwimming()) and s or (IsFlyableArea() and f or g CallCompanion("MOUNT",t) end
/dismount
What it will do is fire off the hearthstone if you hold a modifier, mount whatever mount you want if you're in the 3 zones of Vashj'ir (thats the 610, 614, or 615 check), or mount up on a flying mount if flyable, or a regular one if not.
... it might not work properly, as I don't feel like logging in just to check it... but I got it from
here, so feel free to fiddle with it yourself.
e
dit:
/dismount
/cast Blood Presence; Unholy Presence
/cast Abyssal Seahorse; Winged Steed of the Ebon Blade; Acherus Deathcharger
/cast Horn of Winter
If I'm not mistake, this should clean the code of your macro maaneeack. It could also horribly break it if I messed something up... so yeah. By adding the dismount line first, you don't have to do a check for the rest to see if you're mounted or not. You can also condense all the "/cast" lines down to save a bit of space.