WoWInterface SVN Livestock

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /trunk
    from Rev 136 to Rev 137
    Reverse comparison

Rev 136 → Rev 137

Livestock/Livestock.lua
1342,7 → 1342,7
elseif state == 2 then -- if mounted, clear out any mounted attributes and return, which will lead to a dismount (in the Click handler) and nothing in the PostClick. Druids go to flight form or travel form if they have it.
self.mounttype = Livestock.LandOrFlying()
if LivestockClass == "DRUID" and not InCombatLockdown() then
if Livestock.LandOrFlying() == "FLYING" and LivestockSettings.druidlogic == 1 or Livestock.LandOrFlying() == "LAND" and LivestockSettings.travelform == 1 then
if (Livestock.LandOrFlying() == "FLYING" and LivestockSettings.druidlogic == 1) or (Livestock.LandOrFlying() == "LAND" and LivestockSettings.travelform == 1) then
if GetSpellInfo(L.LIVESTOCK_SPELL_TRAVELFORM) then
self:SetAttribute("type", "spell")
self:SetAttribute("spell", L.LIVESTOCK_SPELL_TRAVELFORM)
1477,7 → 1477,7
 
self.mounttype = Livestock.LandOrFlying()
 
if LivestockSettings.movingform == 1 and GetUnitSpeed("player") ~= 0 or LivestockSettings.travelform == 1 then
if (LivestockSettings.movingform == 1 and GetUnitSpeed("player") ~= 0) or (LivestockSettings.travelform == 1 and self.mounttype == "LAND" and LivestockClass == "DRUID") then
if AuraUtil.FindAuraByName(L.LIVESTOCK_SPELL_TRAVELFORM, "player") and LivestockSettings.moonkin == 1 and GetSpellInfo(L.LIVESTOCK_SPELL_MOONKINFORM) then
self:SetAttribute("type", "spell")
self:SetAttribute("spell", L.LIVESTOCK_SPELL_MOONKINFORM)
Livestock/Change Log.txt
1,3 → 1,7
Version 3.3.2
 
- Minor Druid logic updates.
 
Version 3.3.1
 
- Enabled dragonriding in The Nokhud Offensive.
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.1
## Version: 3.3.2
## SavedVariablesPerCharacter: LivestockSettings
 
LibRecompense\RecompenseTools.lua