Open ferronn-dev opened 2 years ago
Also need some way of determining whether flight is allowed in the zone.
Another option for conditional logic is to just do it in the macrotext:
#showtooltip
/cast [flyable] mount a; mount x
/dismount [mounted]
c/o wowpedia
We also need to determine exactly what criteria we're using for what mount. Here's a sketch:
If we can fly, then pick the fastest flying mount we have. If we can't fly, then pick the fastest ground mount, preferring ground-only mounts over flyable mounts.
If we can fly, then pick the fastest flying mount we have, or else the fastest ground-only mount we have. cough
All that's remaining is hooking up the FlyingMountDB to the mount action.
Blocked on #91 for now.
All that's remaining at this point is an OnUpdate handler to dynamically change the icon based on IsFlyableArea.
Query not too different, just need effectaura=207. https://wow.tools/dbc/?dbc=spelleffect&build=2.5.2.39688#page=1&colFilter[35]=32240 The flying mounts are currently in the list, but the 60% ones are also 60% ground and so are behind fast ground mounts.