<Profile>
<Name>[MIN] Mythrite Sand - Twinpools</Name>
<Order>
<While Condition="True">
<If Condition="not IsOnMap(154)">
<TeleportTo Name="Falcons Nest" AetheryteId="71" />
</If>
<!-- Node 1 -->
<MoveTo XYZ="-194.9769, 89.38371, -368.2323" Name="Safe Spot 18x15y"/>
<RunCode Name="Dismount" />
<WaitTimer WaitTime="1" />
<RunCode Name="UseStealth" />
<WaitTimer WaitTime="1" />
<RunCode Name="DisableMount" />
<Gather Loops="2">
<GatherObject>Rocky Outcrop</GatherObject>
<HotSpots>
<HotSpot Radius="300" XYZ="-194.9769, 89.38371, -368.2323" name="Node 1" />
</HotSpots>
<ItemNames>
<ItemName>Mythrite Sand</ItemName>
<!-- <ItemName>Ice Crystal</ItemName> -->
</ItemNames>
<GatheringSkillOrder>
<GatheringSkill SpellName="King's Yield II" TimesToCast="1"/>
</GatheringSkillOrder>
</Gather>
<RunCode Name="EnableMount" />
<RunCode Name="UnStealth" />
<!-- Node 2 -->
<MoveTo XYZ="300" XYZ="-350.5564, 89.49937, -424.1701" Name="Safe Spot 15x14y"/>
<RunCode Name="Dismount" />
<WaitTimer WaitTime="1" />
<RunCode Name="UseStealth" />
<WaitTimer WaitTime="1" />
<RunCode Name="DisableMount" />
<Gather Loops="2">
<GatherObject>Rocky Outcrop</GatherObject>
<HotSpots>
<HotSpot Radius="300" XYZ="-350.5564, 89.49937, -424.1701" name="Node 2" />
</HotSpots>
<ItemNames>
<ItemName>Mythrite Sand</ItemName>
<!-- <ItemName>Ice Crystal</ItemName> -->
</ItemNames>
<GatheringSkillOrder>
<GatheringSkill SpellName="King's Yield II" TimesToCast="1"/>
</GatheringSkillOrder>
</Gather>
<RunCode Name="EnableMount" />
<RunCode Name="UnStealth" />
<!-- Node 3 -->
<MoveTo XYZ="150" XYZ="-343.9322, 89.04935, -603.9968" Name="Safe Spot 15x10y"/>
<RunCode Name="Dismount" />
<WaitTimer WaitTime="1" />
<RunCode Name="UseStealth" />
<WaitTimer WaitTime="1" />
<RunCode Name="DisableMount" />
<Gather Loops="2">
<GatherObject>Rocky Outcrop</GatherObject>
<HotSpots>
<HotSpot Radius="300" XYZ="-350.5564, 89.49937, -424.1701" name="Node 3" />
</HotSpots>
<ItemNames>
<ItemName>Mythrite Sand</ItemName>
<!-- <ItemName>Ice Crystal</ItemName> -->
</ItemNames>
<GatheringSkillOrder>
<GatheringSkill SpellName="King's Yield II" TimesToCast="1"/>
</GatheringSkillOrder>
<BlackSpots>
<Blackspot Radius="5" X="-334.439331" Y="0" Z="-422.967072" />
<Blackspot Radius="15" X="-393.9554" Y="0" Z="-439.40448" />
</BlackSpots>
</Gather>
<RunCode Name="EnableMount" />
<RunCode Name="UnStealth" />
</While>
</Order>
<CodeChunks>
<CodeChunk Name="UseStealth">
<![CDATA[
SpellData data;
if (!Core.Me.HasAura("Stealth") && Actionmanager.CurrentActions.TryGetValue("Stealth", out data) && Actionmanager.CanCast(data, Core.Me))
{
Actionmanager.DoAction("Stealth", Core.Me);
await Buddy.Coroutines.Coroutine.Sleep(500);
}
]]>
</CodeChunk>
<CodeChunk Name="UnStealth">
<![CDATA[
SpellData data;
if (Core.Me.HasAura("Stealth") && Actionmanager.CurrentActions.TryGetValue("Stealth", out data) && Actionmanager.CanCast(data, Core.Me))
{
Actionmanager.DoAction("Stealth", Core.Me);
await Buddy.Coroutines.Coroutine.Sleep(500);
}
]]>
</CodeChunk>
<CodeChunk Name="DisableMount">
<![CDATA[
ff14bot.Settings.CharacterSettings.Instance.UseMount = false;
]]>
</CodeChunk>
<CodeChunk Name="EnableMount">
<![CDATA[
ff14bot.Settings.CharacterSettings.Instance.UseMount = true;
]]>
</CodeChunk>
<CodeChunk Name="Dismount">
<![CDATA[
ff14bot.Managers.Actionmanager.Dismount();
]]>
</CodeChunk>
</CodeChunks>
</Profile>