Jump to content

How to disable casting while farming ?


Bugreporter
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...