You can fly in Dalaran. You would need Lua code to select a ground mount there.
/run if GetZoneText() == “Dalaran” then CastSpellByName(“Great Brewfest Kodo”) elseif IsFlyableArea() then CastSpellByName(“Snowy Gryphon”) else CastSpellByName(“Great Brewfest Kodo”) end
Mounts are not considered protected spells, so that line of code works.
#showtooltip
/run if GetZoneText() == “Dalaran” then CastSpellByName(“Great Brewfest Kodo”) end
/cast [flyable, nomounted] Snowy Gryphon
/cast [noflyable, nomounted] Great Brewfest Kodo
/dismount [noflying, mounted]
You can also do something like: if IsSwimming() then CastSpellByName(“Sea Turtle”) end.
Well, what I wrote works in REtail and I’m not in class atm to debug it. sorry. I wrote my own addon summon addon, so I’m not just making stuff up lolz.
My only classic character is lvl 16, so I have no way to debug the code in classic. I would recommend u download a mount addon that will likely have a workaround in it already.
Use this. #showtooltip
/cast [flyable, nomounted] Snowy Gryphon
/cast [nomounted] Great Brewfest Kodo
/dismount [mounted]
It tries the Gryphon first, if its flyable you will be already casting it and second line won’t work as your character is busy.
If its non-flyable and you are not already mounted the second line will work.
If you are in Dalaran, first line will fail even though it is flyable and second line will work.
If you are mounted in any case, it will dismount you.
I use this, and in dal just press shift and the mount button #showtooltip
/use [mod:shift] Swift White Mechanostrider
/use [flyable]Snowy Gryphon; Swift White Mechanostrider
/run if GetZoneText() == "Dalaran" then CastSpellByName("Swift Frostsaber") elseif IsFlyableArea() then CastSpellByName("Snowy Gryphon") else CastSpellByName("Swift Frostsaber") end