WoWInterface SVN Livestock

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 135 to Rev 134
    Reverse comparison

Rev 135 → Rev 134

Livestock/Change Log.txt
1,7 → 1,3
Version 3.3.0
 
- Attempt to prevent dragonriding inside instances.
 
Version 3.2.9
 
- Fixed dragonriding from water surface.
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.3.0
## Version: 3.2.9
## SavedVariablesPerCharacter: LivestockSettings
 
LibRecompense\RecompenseTools.lua
Livestock/Livestock.lua
1194,8 → 1194,6
end
end
 
local _, instanceType = GetInstanceInfo()
 
local expertRiding = IsSpellKnown(L.LIVESTOCK_SPELL_EXPERTRIDING) -- Expert Riding
local artisanRiding = IsSpellKnown(L.LIVESTOCK_SPELL_ARTISANRIDING) -- Artisan Riding (pre-squish)
local masterRiding = IsSpellKnown(L.LIVESTOCK_SPELL_MASTERRIDING) -- Master Riding
1260,7 → 1258,7
return "LAND"
end
elseif continent == 1978 then -- if we're in the Dragon Isles
if dragonRiding and instanceType == "none" then
if dragonRiding then
return "DRAGON"
else
return "LAND"