First of all, sorry for writing in English, but I only have Google-translate on my hands to read and write Russian Good news: I own a metamorph/changeling/shifter, or Kelpie how it is called in our Version of Allods (German & UK). Therefore, I was able to implement a fix for not feeding the ancestor mount when you are riding Kelpie. In the file "AutoMountFeed.lua" change the function OnEventMountChanged() (l. 261) as follows:
function OnEventActiveMountChanged()
mountId = mount.GetActive()
if mountId then
local mountInfo = mount.GetInfo( mountId )
local mountName = FromWS( mountInfo.name )
-- Metamorph fix
-- Check if player owns a metamorph
if mount.GetMetamorph ~= nil then
local metamorphId = mount.GetMetamorph()
-- Check if player is actually riding the metamorph
if metamorphId == mountId then
-- Allods doesn't allow us to get the original mount's name directly, so we
-- take the metamorph's name and remove it from the beginning of the combined
-- name
local metamorphName = FromWS( mount.GetMetamorphName() )
local metamorphAncestorName = string.sub(mountName, string.len(metamorphName) + 3)
--LogInfo("metamorphName: ", metamorphName)
--LogInfo("metamorphAncestorName: ", metamorphAncestorName)
if metamorphAncestorName ~= nil then
mountName = metamorphAncestorName
end
end
end
--LogInfo("mountName: ", mountName)
if mountList[mountName] then
satiationMs = mountInfo.satiationMs
RegisterEvent( OnEventSecondTimer, "EVENT_SECOND_TIMER" )
else
UnRegisterEvent( OnEventSecondTimer, "EVENT_SECOND_TIMER" )
satiationMs = nil
end
end
end
Cheers and thanks for your work on this incredible useful addon
Ake