<!-- Mount Repair and Vendor. -->
<CustomBehavior File="Hooks\DoWhen" ActivityName="MountVendorRepair" AllowUseWhileMounted="true" AllowUseDuringCombat="False" LogExecution="false" UseWhen="((Me.FreeNormalBagSlots < 3) || (Me.LowestDurabilityPercent < 0.3))" >
<!-- Check for Vendor Mounts. -->
<!-- Grand Yak -->
<If Condition = "SpellManager.HasSpell(122708)">
<CustomBehavior File="ForcedDismount" />
<CustomBehavior File="RunMacro" Macro="/cast Grand Expedition Yak" />
<CustomBehavior File="WaitTimer" WaitTime="4000" />
<!-- Set temporary vendor. -->
<SetVendor>
<Vendors>
<Vendor Name="Cousin Slowhands" Entry="62822" Type="Repair" />
</Vendors>
</SetVendor>
<!-- Alliance Mammoth -->
<ElseIf Condition = "SpellManager.HasSpell(61425)">
<CustomBehavior File="ForcedDismount" />
<CustomBehavior File="RunMacro" Macro="/cast Traveler's Tundra Mammoth" />
<CustomBehavior File="WaitTimer" WaitTime="4000" />
<!-- Set temporary vendor. -->
<SetVendor>
<Vendors>
<Vendor Name="Gnimo" Entry="32639" Type="Repair" />
</Vendors>
</SetVendor>
</ElseIf>
<!-- Horde Mammoth -->
<ElseIf Condition = "SpellManager.HasSpell(61447)">
<CustomBehavior File="ForcedDismount" />
<CustomBehavior File="RunMacro" Macro="/cast Traveler's Tundra Mammoth" />
<CustomBehavior File="WaitTimer" WaitTime="4000" />
<!-- Set temporary vendor. -->
<SetVendor>
<Vendors>
<Vendor Name="Drix Blackwrench" Entry="32641" Type="Repair" />
</Vendors>
</SetVendor>
</ElseIf>
</If>
<!-- Force the use of the vendor. -->
<CustomBehavior File="ForceSetVendor" DoMail="False" DoSell="True" DoRepair="True" DoTrain="False" />
<!-- Clear temporary vendor. -->
<ClearVendor />
</CustomBehavior>