Quantcast
Download
(6 Kb)
Download
Updated: 03-04-18 08:21 AM
Compatibility:
Shadows of Argus (7.3.0)
Updated:03-04-18 08:21 AM
Created:03-04-18 08:21 AM
Downloads:87
Favorites:2
MD5:
7.3.0

LibFlyable

Version: 2
by: Phanx [More]

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: 5616
File comments: 2309
Uploads: 48
Originally Posted by p3lim
You can fly in the DK class hall.
Yeah, the description is out of date. The curse of software documentation...
__________________
Author/maintainer of Grid, PhanxChat, oUF_Phanx, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
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: 1646
File comments: 1220
Uploads: 30
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: