WoWInterface SVN Livestock

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 98 to Rev 99
    Reverse comparison

Rev 98 → Rev 99

trunk/Livestock/Change Log.txt
1,3 → 1,7
Version 2.7.9
 
- Another fix for flying mount detection
 
Version 2.7.8
 
- Fixed flying in Zandalar and Nazjatar
trunk/Livestock/Livestock.toc
2,7 → 2,7
## Title: Livestock
## Notes: Enables easy random summoning of vanity pets and mounts, including the option of "smart mounting"
## Author: Kharthus - Deathwing(US)
## Version: 2.7.8
## Version: 2.7.9
## SavedVariablesPerCharacter: LivestockSettings
 
LibRecompense\RecompenseTools.lua
trunk/Livestock/Localizations/Localization-enUS.lua
54,17 → 54,14
 
L.LIVESTOCK_ZONE_WINTERGRASP = "Wintergrasp"
 
L.LIVESTOCK_SPELL_APPRENTICERIDING = GetSpellInfo(33388) -- "Apprentice Riding"
L.LIVESTOCK_SPELL_EXPERTRIDING = GetSpellInfo(34090) -- "Expert Riding"
L.LIVESTOCK_SPELL_ARTISANRIDING = GetSpellInfo(34091) -- "Artisan Riding"
L.LIVESTOCK_SPELL_MASTERRIDING = GetSpellInfo(90265) -- "Master Riding"
L.LIVESTOCK_SPELL_COLDWEATHER = GetSpellInfo(54197) -- "Cold Weather Flying"
L.LIVESTOCK_SPELL_FLIGHTMASTER = GetSpellInfo(90267) -- "Flight Master's License"
L.LIVESTOCK_SPELL_WISDOMWINDS = GetSpellInfo(115913) -- "Wisdom of the Four Winds"
L.LIVESTOCK_SPELL_DRAENORPATHFINDER = GetSpellInfo(191645) -- "Draenor Pathfinder"
L.LIVESTOCK_SPELL_BROKENISLESPATHFINDER = GetSpellInfo(233368) -- "Broken Isles Pathfinder, Rank 2"
L.LIVESTOCK_SPELL_BFAPATHFINDER = GetSpellInfo(278833) -- "Battle for Azeroth Pathfinder, Rank 2"
L.LIVESTOCK_SPELL_EXPERTRIDING = 34090 -- "Expert Riding"
L.LIVESTOCK_SPELL_ARTISANRIDING = 34091 -- "Artisan Riding"
L.LIVESTOCK_SPELL_MASTERRIDING = 90265 -- "Master Riding"
 
L.LIVESTOCK_SPELL_DRAENORPATHFINDER = 191645 -- "Draenor Pathfinder"
L.LIVESTOCK_SPELL_BROKENISLESPATHFINDER = 233368 -- "Broken Isles Pathfinder, Rank 2"
L.LIVESTOCK_SPELL_BFAPATHFINDER = 278833 -- "Battle for Azeroth Pathfinder, Rank 2"
 
L.LIVESTOCK_SPELL_TRAVELFORM = GetSpellInfo(783) -- "Travel Form"
L.LIVESTOCK_SPELL_FLIGHTFORM = GetSpellInfo(165962) -- "Flight Form"
L.LIVESTOCK_SPELL_BEARFORM = GetSpellInfo(5487) -- "Bear Form"
trunk/Livestock/Livestock.lua
1131,7 → 1131,7
 
end
 
function Livestock.LandOrFlying() -- since [flyable] has been fixed, check for flying and CWF and fly unless you're in WG and there's a battle going on.
function Livestock.LandOrFlying() -- since [flyable] has been fixed, check for flying and fly unless you're in WG and there's a battle going on.
 
local mapID = C_Map.GetBestMapForUnit("player")
local zoneInfo = MapUtil.GetMapParentInfo(mapID, Enum.UIMapType.Zone, true)
1156,13 → 1156,13
end
end
 
local expertRiding = IsUsableSpell(L.LIVESTOCK_SPELL_EXPERTRIDING) -- Expert Riding
local artisanRiding = IsUsableSpell(L.LIVESTOCK_SPELL_ARTISANRIDING) -- Artisan Riding
local masterRiding = IsUsableSpell(L.LIVESTOCK_SPELL_MASTERRIDING) -- Master Riding
local expertRiding = IsSpellKnown(L.LIVESTOCK_SPELL_EXPERTRIDING) -- Expert Riding
local artisanRiding = IsSpellKnown(L.LIVESTOCK_SPELL_ARTISANRIDING) -- Artisan Riding
local masterRiding = IsSpellKnown(L.LIVESTOCK_SPELL_MASTERRIDING) -- Master Riding
 
local draenorFlying = IsUsableSpell(L.LIVESTOCK_SPELL_DRAENORPATHFINDER) -- Draenor Pathfinder
local brokenIslesFlying = IsUsableSpell(L.LIVESTOCK_SPELL_BROKENISLESPATHFINDER) -- Broken Isles Pathfinder
local bfaFlying = IsUsableSpell(L.LIVESTOCK_SPELL_BFAPATHFINDER) -- Battle for Azeroth Pathfinder
local draenorFlying = IsSpellKnown(L.LIVESTOCK_SPELL_DRAENORPATHFINDER) -- Draenor Pathfinder
local brokenIslesFlying = IsSpellKnown(L.LIVESTOCK_SPELL_BROKENISLESPATHFINDER) -- Broken Isles Pathfinder, Rank 2
local bfaFlying = IsSpellKnown(L.LIVESTOCK_SPELL_BFAPATHFINDER) -- Battle for Azeroth Pathfinder, Rank 2
 
--[[ Updated Continent IDs