xod-wow / LiteMount

World of Warcraft addon LiteMount
GNU General Public License v2.0
31 stars 10 forks source link

TWW - Handle Soar #241

Closed mbattersby closed 4 months ago

mbattersby commented 5 months ago

Soar is now in the journal with a mount ID (2115) it's own mount type (442) and a separate spell id (441313 instead of 369536).

-- Dump: value=C_MountJournal.GetMountInfoByID(2115)
[1]="Soar", -- name
[2]=441313, -- spellID
[3]=4622485, -- icon
[4]=false, -- isActive
[5]=false, -- isUsable
[6]=0, -- sourceType
[7]=false, -- isFavorite
[8]=false, -- isFactionSpecific
[9]=nil, -- faction
[10]=true, -- hideOnChar
[11]=false, -- isCollected
[12]=2115, -- mountID
[13]=false -- isForDragonriding

-- Dump: value=C_MountJournal.GetMountInfoExtraByID(2115)
[1]=118084, -- creatureDisplayInfoID
[2]="", -- description
[3]="", -- source
[4]=true, -- isSelfMount
[5]=442, -- mountTypeID
[6]=4, -- uiModelSceneID
[7]=91, -- animID
[8]=0, -- spellVisualKitID
[9]=true -- disablePlayerMountPreview

Trying to summon it with C_MountJournal.SummonByID(2115) results in 'You have not collected this mount".

Overall it seems entirely useless.

mbattersby commented 5 months ago

Possibly useful to half-use it so we get the visuals. See LM.MountRegistry:AddMount() for how this is done with the war tanks. Note that in this case the spell ID doesn't match and would need to be fudged.

mbattersby commented 5 months ago

It's probably better to handle the visuals in LM.Soar and leave AddMount alone.

mbattersby commented 4 months ago

Doesn't look like there's anything useful in there.