Jump to content

How to disable casting while farming ?


Bugreporter

Recommended Posts

How to disable casting while farming ?

 

00:00:08 - Farm Something > here ; there ; everywhere ; "None"
[F] 00:00:11 - Cast Stealth
[F] 00:00:11 - Cast Stealth
[F] 00:00:11 - Cast Stealth
00:00:14 - Farm successful
 

 

btw. stealth should not use target and must be work out of combat....

"unlock fps limit" and "improve combat rotation speed" are on.

Link to comment
Share on other sites

I did this and it didnt work. It also try to cast while mounting....

    <FightClassSpell>
      <SpellName>Stealth</SpellName>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>Buff</ContionType>
          <Param xsi:type="FightClassConditionStringBool">
            <Name>Stealth</Name>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>HostileUnitNear</ContionType>
          <Param xsi:type="FightClassConditionUnitNear">
            <Type>Bigger</Type>
            <Radius>30</Radius>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>LuaScript</ContionType>
          <Param xsi:type="FightClassConditionLua">
            <LuaScript>if UnitIsPVP("player") or (UnitInParty("player")==nil) then retV=1; end</LuaScript>
            <VarRet>retV</VarRet>
            <ValueRet>1</ValueRet>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>LuaScript</ContionType>
          <Param xsi:type="FightClassConditionLua">
            <LuaScript>start, duration, enabled = GetSpellCooldown("1784"); </LuaScript>
            <VarRet>duration</VarRet>
            <ValueRet>0</ValueRet>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>MeInCombat</ContionType>
          <Param xsi:type="FightClassConditionBool" />
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>MeInCast</ContionType>
          <Param xsi:type="FightClassConditionBool" />
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>MeIsFlying</ContionType>
          <Param xsi:type="FightClassConditionBool" />
        </FightClassCondition>
      </FightClassConditions>
      <Priority>7</Priority>
      <CombatOnly>false</CombatOnly>
      <CheckIfKnowUsableDistance>false</CheckIfKnowUsableDistance>
      <CheckIfView>false</CheckIfView>
      <DescriptionSpell>Stealth if hostile 30 Yards away. only pvp or solo</DescriptionSpell>
    </FightClassSpell>
Link to comment
Share on other sites

  • 1 month later...

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...