Skip to content

Commit

Permalink
10.0.7 update
Browse files Browse the repository at this point in the history
  • Loading branch information
Pingumania committed Mar 22, 2023
1 parent 4c6956e commit d8eb6e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
10 changes: 2 additions & 8 deletions Addon.lua
Original file line number Diff line number Diff line change
Expand Up @@ -203,13 +203,6 @@ do
[1442] = true, -- Corridor Creeper
}

local dragonridingMounts = {
[1591] = true, -- Cliffside Wylderdrake
[1563] = true, -- Highland Drake
[1589] = true, -- Renewed Proto-Drake
[1590] = true, -- Windborne Velocidrake
}

local vashjirMaps = {
[201] = true, -- Kelp'thar Forest
[203] = true, -- Vashj'ir
Expand Down Expand Up @@ -247,6 +240,7 @@ do

local bestSpeed = 0
local mapID = C_Map.GetBestMapForUnit("player")
local advancedFlyable = IsAdvancedFlyableArea()
for i = 1, #mountIDs do
local mountID = mountIDs[i]
local name, spellID, _, _, isUsable, _, isFavorite = GetMountInfoByID(mountID)
Expand All @@ -255,7 +249,7 @@ do
local speed = mountTypeInfo[mountType][targetType]
if mountType == 232 and not vashjirMaps[mapID] then -- Abyssal Seahorse only works in Vashj'ir
speed = -1
elseif mountType == 402 and dragonflightMaps[mapID] then -- Dragonriding
elseif mountType == 402 and advancedFlyable then -- Dragonriding
if isFavorite then
speed = 831
else
Expand Down
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
MountMe | 10.0.7-1
------------------
- ToC update for 10.0.7
- Fix dragonriding support

MountMe | 10.0.5-1
------------------
- ToC update for 10.0.5
Expand Down
2 changes: 1 addition & 1 deletion MountMe.toc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## Interface: 100005
## Interface: 100007
## Version: @project-version@

## Title: MountMe
Expand Down

0 comments on commit d8eb6e9

Please sign in to comment.