/
Version 3.3.9 |
- Fix for ADDON_ACTION_BLOCKED |
Version 3.3.8 |
- Removed Battle for Azeroth Pathfinder from BFA flying requirements |
## 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.8 |
## Version: 3.3.9 |
## AddonCompartmentFunc: Livestock_OnAddonCompartmentClick |
## IconTexture: 136456 |
## SavedVariablesPerCharacter: LivestockSettings |
local race = select(2, UnitRace("player")) |
local DraenorZoneAbilitySpellID = 161691 |
self:SetAttribute("type", "spell") |
self:SetAttribute("typerelease", "spell") |
if not InCombatLockdown() then |
self:SetAttribute("type", "spell") |
self:SetAttribute("typerelease", "spell") |
end |
if (debug) then |
print(format("PREDEBUG: '%s' is mount-type, state is '%d'", self.mounttype or "nil", self:GetAttribute("state-smartmap"))) |