Jump to content

Bot not getting close enough to Ogre for Sinister Strike


raka

Recommended Posts

This is my Ascension fightclass so you will see a mix of spells. Its intentional. Dont have any issues with other mobs outside of ogres. Typically the Range is set to 5 with no issues. 

 

 

<?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>Hunter Marksman</FightClassName>
    <Range>1</Range>
    <Pet>true</Pet>
    <PetCallSpellName>Call Pet</PetCallSpellName>
    <FramePerSecond>25</FramePerSecond>
  </FightClassGeneralSettings>
  <FightClassSpells>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>30</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Hunter's Mark</SpellName>
      <Priority>22</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Smaller</Type>
            <Value>50</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Holy Light</SpellName>
      <Priority>21</Priority>
      <CombatOnly>false</CombatOnly>
    </FightClassSpell>
   <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetBuff</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Shadow Word: Pai</Name>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Shadow Word: Pai</SpellName>
      <Priority>20</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>25</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Serpent Sting</SpellName>
      <Priority>19</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>PetHealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>85</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HealthPointsLost</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>300</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>TargetHealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Value>25</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Mend Pet</SpellName>
      <Priority>18</Priority>
      <CombatOnly>false</CombatOnly>
      <CheckSpellDistance>false</CheckSpellDistance>
      <CheckIfView>false</CheckIfView>
      <Timer>16000</Timer>
      <CanMoveDuringCast>Yes</CanMoveDuringCast>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>ManaPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Smaller</Type>
            <Value>10</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Blessing of Wisdom</SpellName>
      <Priority>17</Priority>
      <IsBuff>true</IsBuff>
      <CanMoveDuringCast>Yes</CanMoveDuringCast>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>ManaPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Bigger</Type>
            <Value>50</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>Buff</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Blessing of Wisom</Name>
            <Need>true</Need>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Blessing of Wisdom</SpellName>
      <Priority>16</Priority>
      <IsBuff>true</IsBuff>
      <CanMoveDuringCast>Yes</CanMoveDuringCast>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>5</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Sinister Strike</SpellName>
      <Priority>15</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>5</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Cleave</SpellName>
      <Priority>14</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetHealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>Smaller</Type>
            <Value>20</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Kill Shot</SpellName>
      <Priority>13</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Rapid Fire</SpellName>
      <Priority>12</Priority>
      <IsBuff>true</IsBuff>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HavePet</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Kill Command</SpellName>
      <Priority>11</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Silencing Shot</SpellName>
      <Priority>10</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Chimera Shot</SpellName>
      <Priority>9</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Aimed Shot</SpellName>
      <Priority>8</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Steady Shot</SpellName>
      <Priority>7</Priority>
      <CanMoveDuringCast>No</CanMoveDuringCast>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions />
      <SpellName>Auto Shot</SpellName>
      <Priority>6</Priority>
      <CheckIfSpellUsable>false</CheckIfSpellUsable>
      <CanMoveDuringCast>Yes</CanMoveDuringCast>
      <LockFrame>false</LockFrame>
      <WaitDuringCasting>false</WaitDuringCasting>
      <CastOn>target</CastOn>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>MeInCombat</ContionType>
          <Param xsi:type="FightClassConditionBool">
            <Value>true</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>PetAttack();</SpellName>
      <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
      <CanMoveDuringCast>Yes</CanMoveDuringCast>
      <LockFrame>false</LockFrame>
      <WaitDuringCasting>false</WaitDuringCasting>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>40</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Gift of the Naaru</SpellName>
      <Priority>4</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>HavePet</ContionType>
          <Param xsi:type="FightClassConditionBool" />
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>PetHealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Revive Pet</SpellName>
      <Priority>3</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>TargetDistance</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>10</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Concussive Shot</SpellName>
      <Priority>2</Priority>
    </FightClassSpell>
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>PetHealthPercent</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>20</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Cower</SpellName>
      <Priority>1</Priority>
    </FightClassSpell>
  </FightClassSpells>
</FightClass>
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...