/trunk
local artisanRiding = IsSpellKnown(L.LIVESTOCK_SPELL_ARTISANRIDING) -- Artisan Riding (pre-squish) |
local masterRiding = IsSpellKnown(L.LIVESTOCK_SPELL_MASTERRIDING) -- Master Riding |
local bfaFlying = IsSpellKnown(L.LIVESTOCK_SPELL_BFAPATHFINDER) -- Battle for Azeroth Pathfinder, Rank 2 |
local dragonRiding = IsSpellKnown(L.LIVESTOCK_SPELL_DRAGONRIDING) -- Dragonriding Basics |
if debug then |
print("Expert Riding :", expertRiding) |
print("Artisan Riding :", artisanRiding) |
print("Master Riding :", masterRiding) |
print("BfA Flying :", bfaFlying) |
print("Dragonriding :", dragonRiding) |
end |
return "LAND" |
end |
elseif continent == 876 or continent == 875 or zoneID == 1355 then -- if we're in Kul Tiras or Zandalar or Nazjatar |
if bfaFlying and IsFlyableArea() then |
if IsFlyableArea() then |
return "FLYING" |
else |
return "LAND" |
Version 3.3.8 |
- Removed Battle for Azeroth Pathfinder from BFA flying requirements |
Version 3.3.7 |
- Fixed Otto and Ottuk mounts |
## Title: Livestock |
## Notes: Enables easy random summoning of vanity pets and mounts, including the option of "smart mounting" |
## Author: Kharthus - Deathwing(US) |
## Version: 3.3.7 |
## Version: 3.3.8 |
## AddonCompartmentFunc: Livestock_OnAddonCompartmentClick |
## IconTexture: 136456 |
## SavedVariablesPerCharacter: LivestockSettings |