﻿<?xml version="1.0" encoding="utf-16"?>
<FightClass xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <FightClassGeneralSettings>
    <FightClassName>Zylo MM Hunter</FightClassName>
    <Range>45</Range>
    <Pet>true</Pet>
    <PetCallSpellName>Call Pet 5</PetCallSpellName>
    <FramePerSecond>50</FramePerSecond>
  </FightClassGeneralSettings>
  <FightClassSpells>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetHealthPoints</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>169047</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Marked Shot</SpellName>
      <Priority>27</Priority>
      <AddToSettings>true</AddToSettings>
      <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
      <DescriptionSpell>Use Marked Shot as a Kill Shot </DescriptionSpell>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetHealthPoints</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>80713</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Arcane Shot</SpellName>
      <Priority>26</Priority>
      <AddToSettings>true</AddToSettings>
      <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
      <DescriptionSpell>Use Arcane Shot or Sidewinders as a Kill Shot</DescriptionSpell>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetInCast</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Counter Shot</SpellName>
      <Priority>25</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>8</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Bursting Shot</SpellName>
      <Priority>24</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>10</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetIsPlayer</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Disengage</SpellName>
      <Priority>23</Priority>
      <AddToSettings>true</AddToSettings>
      <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>25</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>MeInCombat</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Aspect of the Turtle</SpellName>
      <Priority>22</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>25</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>Buff</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Recently Bandaged</Name>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>wManager.Wow.Helpers.Lua.RunMacroText("/use Silkweave Bandage"); </SpellName>
      <Priority>21</Priority>
      <CombatOnly>false</CombatOnly>
      <CastIfMounted>true</CastIfMounted>
      <AddToSettings>true</AddToSettings>
      <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
      <Timer>60000</Timer>
      <NotSpellIsCSharpCode>true</NotSpellIsCSharpCode>
      <CanMoveDuringCast>No</CanMoveDuringCast>
      <DescriptionSpell>Use Heavy Silkweave Bandages</DescriptionSpell>
      <CastOnSelf>true</CastOnSelf>
      <CastOn>player</CastOn>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetIsPlayer</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetInMove</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Concussive Shot</SpellName>
      <Priority>20</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetIsPlayer</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetInCast</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Feign Death</SpellName>
      <Priority>19</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Smaller</Type>
            <Value>50</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Exhilaration</SpellName>
      <Priority>18</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetTargetingMe</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>UnitAttackPlayerNearTarget</ContionType>
          <Param xsi:type="FightClassConditionUnitNear">
            <Number>2</Number>
            <Type>Bigger</Type>
            <Radius>8</Radius>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Feign Death</SpellName>
      <Priority>17</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>13</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Feign Death</SpellName>
      <Priority>16</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetInMove</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Binding Shot</SpellName>
      <Priority>15</Priority>
      <AOESpell>true</AOESpell>
      <CastOn>target</CastOn>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>PetHealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>35</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Mend Pet</SpellName>
      <Priority>14</Priority>
      <AddToSettings>true</AddToSettings>
      <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetInCombatRange</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetIsBoss</ContionType>
          <Param xsi:type="FightClassConditionBool" />
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Trueshot</SpellName>
      <Priority>13</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetInCombatRange</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetIsElite</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetHealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>60</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HostileUnitNearTarget</ContionType>
          <Param xsi:type="FightClassConditionUnitNear">
            <Number>3</Number>
            <Type>BiggerOrEqual</Type>
            <Radius>10</Radius>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Trueshot</SpellName>
      <Priority>12</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetIsPlayer</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetHealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>80</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Trueshot</SpellName>
      <Priority>11</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Marked Shot</SpellName>
      <Priority>10</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>CSharpCode</ContionType>
          <Param xsi:type="FightClassConditionString">
            <Value>wManager.Wow.ObjectManager.ObjectManager.Target.BuffTimeLeft(new List&lt;uint&gt; { 187131 }) &gt;= 2200</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Aimed Shot</SpellName>
      <Priority>9</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Windburst</SpellName>
      <Priority>8</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Barrage</SpellName>
      <Priority>7</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HostileUnitNearTarget</ContionType>
          <Param xsi:type="FightClassConditionUnitNear">
            <Type>BiggerOrEqual</Type>
            <Radius>2</Radius>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>CSharpCode</ContionType>
          <Param xsi:type="FightClassConditionString">
            <Value>wManager.Wow.ObjectManager.ObjectManager.Me.HaveBuff(223138)</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Multi-Shot</SpellName>
      <Priority>6</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>CSharpCode</ContionType>
          <Param xsi:type="FightClassConditionString">
            <Value>wManager.Wow.ObjectManager.ObjectManager.Me.HaveBuff(223138)</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HostileUnitNearTarget</ContionType>
          <Param xsi:type="FightClassConditionUnitNear">
            <Number>1</Number>
            <Type>SmallerOrEqual</Type>
            <Radius>8</Radius>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Arcane Shot</SpellName>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>Focus</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>50</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Aimed Shot</SpellName>
      <Priority>4</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Arcane Shot</SpellName>
      <Priority>3</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>CSharpCode</ContionType>
          <Param xsi:type="FightClassConditionString">
            <Value>(!robotManager.Helpful.Var.Exist("OnceAfterCombat_SpellCast") || robotManager.Helpful.Var.GetVar&lt;bool&gt;("OnceAfterCombat_SpellCast"))</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", false);</SpellName>
      <Priority>2</Priority>
      <CheckIfView>false</CheckIfView>
      <NotSpellIsCSharpCode>true</NotSpellIsCSharpCode>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>MeInCombat</ContionType>
          <Param xsi:type="FightClassConditionBool" />
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>CSharpCode</ContionType>
          <Param xsi:type="FightClassConditionString">
            <Value>(robotManager.Helpful.Var.Exist("OnceAfterCombat_SpellCast") &amp;&amp; !robotManager.Helpful.Var.GetVar&lt;bool&gt;("OnceAfterCombat_SpellCast"))</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>
wManager.Wow.Helpers.Lua.RunMacroText("/targetlastenemy [help][noexists]");
wManager.Wow.Helpers.Lua.RunMacroText("/cast Fetch");
robotManager.Helpful.Var.SetVar("OnceAfterCombat_SpellCast", true);</SpellName>
      <Priority>1</Priority>
      <CombatOnly>false</CombatOnly>
      <CheckIfView>false</CheckIfView>
      <AddToSettingsActiveByDefault>true</AddToSettingsActiveByDefault>
      <NotSpellIsCSharpCode>true</NotSpellIsCSharpCode>
      <DescriptionSpell>Use Fetch to Loot</DescriptionSpell>
    </FightClassSpell>
  </FightClassSpells>
</FightClass>