<!-- Flying Mount Procedures -->
<If Condition="Me.GetSkill(Styx.SkillLine.Riding).CurrentValue < 225 && (Me.Gold >= 268) && (Me.Level >= 60)" >
<If Condition="!SpellManager.HasSpell("Expert Riding"

">
<CustomBehavior File="Message" Text="Compiling Learn Flying Mount Procedures" LogColor="Orange" />
<RunTo X="47.76153" Y="2742.022" Z="85.27119" />
<CustomBehavior File="ForceTrainRiding" MobId="35093" />
<CustomBehavior File="WaitTimer" WaitTime="4000" GoalText="Waiting {TimeRemaining}" />
<While Condition="!HasItem(25474)">
<CustomBehavior File="InteractWith" MobId="35099" BuyItemId="25474" X="47.76153" Y="2742.022" Z="85.27119" />
<CustomBehavior File="WaitTimer" WaitTime="4000" GoalText="Waiting {TimeRemaining}" />
</While>
<While Condition="HasItem(25474)">
<CustomBehavior File="Misc\RunLua" Lua="UseItemByName(25474)" WaitTime="1000" />
<CustomBehavior File="WaitTimer" WaitTime="2000" GoalText="Using item {TimeRemaining}" />
</While>
<RunTo X="80.93826" Y="2713.029" Z="85.69721" />
</If>
</If>
<!-- Not 60, or 60 and no money -->
<If Condition="Me.GetSkill(Styx.SkillLine.Riding).CurrentValue < 225 && (Me.Level >= 60)" >
<CustomBehavior File="Message" Text="You do not having flying nor the money for flying; defaulting to non-flying protocols" LogColor="Cornflowerblue" />
<ElseIf Condition="Me.GetSkill(Styx.SkillLine.Riding).CurrentValue < 225 && (Me.Level < 60)" >
<CustomBehavior File="Message" Text="You are not level 60 yet; defaulting to non-flying protocols" LogColor="Cornflowerblue" />
</ElseIf>
</If>