/trunk/Livestock
Version 3.4.1 |
- Quick fix for Worgen Druids and Running Wild |
- No support for Dragon Isles Pathfinder at this time |
Version 3.4.0 |
- TOC update for patch 10.1.5 |
## Interface: 100105 |
## Interface: 100200 |
## Title: Livestock |
## Notes: Enables easy random summoning of vanity pets and mounts, including the option of "smart mounting" |
## Author: Kharthus - Deathwing(US) |
## Version: 3.4.0 |
## Version: 3.4.1 |
## AddonCompartmentFunc: Livestock_OnAddonCompartmentClick |
## IconTexture: 136456 |
## SavedVariablesPerCharacter: LivestockSettings |
end |
if self.mounttype == "LAND" and race == "Worgen" and LivestockSettings.worgenlogic == 1 and GetUnitSpeed("player") == 0 then |
self:SetAttribute("type", "spell") |
self:SetAttribute("typerelease", "spell") |
self:SetAttribute("spell", L.LIVESTOCK_SPELL_RUNNINGWILD) |
self.mounttype = nil |
end |