end |
end |
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 = nil |
self.mounttype = Livestock.LandOrFlying() |
if class == "DRUID" and not InCombatLockdown() 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 |