WoWInterface SVN Livestock

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 148 to Rev 149
    Reverse comparison

Rev 148 → Rev 149

Livestock/Livestock.lua
1286,13 → 1286,7
if LivestockSettings.dragonriding == 1 and dragonRidingSkill and IsAdvancedFlyableArea() and IsOutdoors() then
return "DRAGON"
elseif (expertRiding or artisanRiding or masterRiding) and IsFlyableArea() then
if continent == 113 then -- if we're in Northrend
local zone = GetZoneText() -- Check the zone
local _, _, isActive, _, startTime = GetWorldPVPAreaInfo(1)
return ((zone == L.LIVESTOCK_ZONE_WINTERGRASP and startTime == 0) and "LAND") or "FLYING" -- check to see if a battle is in progress and if so, we're on a land mount. If not, flying mount.
else
return "FLYING"
end
return "FLYING"
else
return "LAND"
end
Livestock/Change Log.txt
1,3 → 1,7
Version 3.5.2
 
- Removed broken Wintergrasp detection
 
Version 3.5.1
 
- TOC update for patch 10.2.7
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: 3.5.1
## Version: 3.5.2
## AddonCompartmentFunc: Livestock_OnAddonCompartmentClick
## IconTexture: 136456
## SavedVariablesPerCharacter: LivestockSettings