ferronn-dev / ferronnizer

My personal WoW addon
MIT License
1 stars 0 forks source link

tbc flying mount support #89

Open ferronn-dev opened 2 years ago

ferronn-dev commented 2 years ago

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.

ferronn-dev commented 2 years ago

Also need some way of determining whether flight is allowed in the zone.

ferronn-dev commented 2 years ago

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

ferronn-dev commented 2 years ago

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.

ferronn-dev commented 2 years ago

If we can fly, then pick the fastest flying mount we have, or else the fastest ground-only mount we have. cough

ferronn-dev commented 2 years ago

All that's remaining is hooking up the FlyingMountDB to the mount action.

ferronn-dev commented 2 years ago

Blocked on #91 for now.

ferronn-dev commented 2 years ago

All that's remaining at this point is an OnUpdate handler to dynamically change the icon based on IsFlyableArea.