[FEATURE] Druid travel/flight form as mounted - updated code included
Delekii opened this issue ยท 1 comments
Before You Begin
- I confirm that I have downloaded the latest version of the addon.
- I am not playing on a private server.
- I checked for an existing, open ticket for this request and was not able to find one.
- I edited the title of this feature request (above) so that it describes the issue I am reporting.
Feature Request
This is a small and druid-only issue but seemingly also easily fixed; could it be made so that the addon counts travel form as mounted by default?
Currently I am doing this manually after each update by editing UI.lua at line~927
if conf.visibility.pvp.hideMounted and IsMounted() then return 0 end
to
if conf.visibility.pvp.hideMounted and ( IsMounted() or GetShapeshiftForm() == 3 ) then return 0 end
and 944
if conf.visibility.pve.hideMounted and IsMounted() then return 0 end
to
if conf.visibility.pve.hideMounted and ( IsMounted() or GetShapeshiftForm() == 3 ) then return 0 end
It's possible someone might want them filtered out into a separate option but I think probably for most just catching travel form as a mount would do the trick?
Additional Information
No response
Contact Information
pathological2319 on discord
You want to use GetShapshiftFormID
instead as it provides a consistent ID for each Druid form.
I don't know that this is actually a good idea though. Travel Form in outdoor combat is fairly common and part of the fluidity of shapeshifting as a Druid. Perhaps this would be better as an out-of-combat + Travel Form option?