/trunk
if Livestock.LandOrFlying() == "FLYING" then |
Livestock.PickFlyingMount() |
return |
elseif Livestock.LandOrFlying() == "DRAGON" then |
Livestock.PickDragonMount() |
return |
else |
for k in pairs(LivestockSettings.Mounts) do -- see if we have the Azure Water Strider |
if (LivestockSettings.Mounts[k].type == "land" and LivestockSettings.Mounts[k].spellID == 118089 and LivestockSettings.waterstrider == 1) then |
if #temp == 0 then -- if no mounts are selected, choose a flying mount instead |
if Livestock.LandOrFlying() == "FLYING" then |
Livestock.PickFlyingMount() |
elseif Livestock.LandOrFlying() == "DRAGON" then |
Livestock.PickDragonMount() |
else |
Livestock.PickLandMount() |
end |
Version 3.2.9 |
- Fixed dragonriding from water surface. |
Version 3.2.8 |
- Fixed item link parsing for zone/subzone/party commands. |
## Title: Livestock |
## Notes: Enables easy random summoning of vanity pets and mounts, including the option of "smart mounting" |
## Author: Kharthus - Deathwing(US) |
## Version: 3.2.8 |
## Version: 3.2.9 |
## SavedVariablesPerCharacter: LivestockSettings |
LibRecompense\RecompenseTools.lua |