Download
(6Kb)
Download
Updated: 03-04-18 08:21 AM
Updated:03-04-18 08:21 AM
Created:03-04-18 08:21 AM
Downloads:505
Favorites:3
MD5:

LibFlyable

Version: 2
by: Phanx [More]

I am no longer developing or maintaining World of Warcraft addons. I haven't played in years, and don't have the time or interest to continue working on addons for a game I don't play anymore. If you are an addon author interested in continuing one of my addons, please see https://phanx.net/addons/. If you are an addon user, sorry, but there won't be any more fixes or updates from me.
Replacement for the IsFlyableArea API function.
Avoids these long-standing bugs with IsFlyableArea:
  • Broken Isles zones are only flyable with the Broken Isles Pathfinder ability.
  • Draenor zones and garrisons are only flyable with the Draenor Pathfinder ability.
  • Legion class halls are only flyable for some classes.
  • Certain special maps (like the Tanaan Jungle Intro) are never flyable.
Also avoids the new bugs introduced in Patch 7.3.5:
  • Pandaria zones no longer require Wisdom of the Four Winds.
  • Northrend zones no longer require Cold Weather Flying.
  • Eastern Kingdoms, Kalimdor, and Deepholm no longer require Flight Master's License.
These spells were removed from the game, and all characters can fly in these zones, but IsFlyableArea returns false for characters who had not previously learned the appropriate spell.
Usage
Lua Code:
  1. lib = LibStub("LibFlyable")
  2. isFlyable = lib:IsFlyableArea() -- true/false
Source Code & Bug Reports
See GitHub: https://github.com/phanx-wow/LibFlyable

For use with the CurseForge packager, add the following in your .pkgmeta file:

Code:
externals:
    Libs/LibFlyable: https://repos.curseforge.com/wow/libflyable
    Libs/LibStub: https://repos.wowace.com/wow/libstub/tags/1.0

Optional Files (0)


Post A Reply Comment Options
Unread 03-04-18, 12:18 PM  
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view AddOns

Forum posts: 5617
File comments: 2321
Uploads: 54
Originally Posted by p3lim
You can fly in the DK class hall.
Yeah, the description is out of date. The curse of software documentation...
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
Report comment to moderator  
Reply With Quote
Unread 03-04-18, 10:23 AM  
p3lim
A Pyroguard Emberseer
 
p3lim's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1710
File comments: 1222
Uploads: 43
Legion class halls are never flyable
You can fly in the DK class hall.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: