Jump to content

Problem with Spells that have ( ... )


Recommended Posts

1 hour ago, Amazing Snake said:

The bot dont use any of them. I guess cause the (Feral) & (Cat)

WoWScrnShot_031017_214824.jpg

WoWScrnShot_031017_214840.jpg

And what are you typing in the spell name?
The spell name has to be "Mangle (Cat)" and "Faerie Fire (Feral)"

Link to comment
Share on other sites

I know. The CC Creator detect the Spells but they dont get used in the Combat rotation.

 

    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>Energy</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>40</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>ComboPoint</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>4</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Mangle (Cat)</SpellName>
      <Priority>2</Priority>
    </FightClassSpell>

 

Link to comment
Share on other sites

2 hours ago, Amazing Snake said:

I know. The CC Creator detect the Spells but they dont get used in the Combat rotation.

 


    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>Energy</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>40</Value>
          </Param>
        </FightClassCondition>
        <FightClassCondition>
          <ContionType>ComboPoint</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>SmallerOrEqual</Type>
            <Value>4</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>Mangle (Cat)</SpellName>
      <Priority>2</Priority>
    </FightClassSpell>

 

Well i would remove the conditions to make sure the skill is be used and if yes something with the conditions is strange.

Link to comment
Share on other sites

  • 4 weeks later...
  • 1 month later...
On 4/6/2017 at 6:14 AM, Schaka said:

You can try making it execute the following Lua code:


CastSpellByName("Mangle (Cat)")

RunMacroText("/cast Mangle (Cat)")

Or C# as follows:


Lua.RunMacroText("/cast Mangle (Cat)");

 

So for Lua of the castspellbyname, i put that in the "lua script" but what do i put in the "return value research" and the Return Value Var line?

Link to comment
Share on other sites

  • 1 month later...
    <FightClassSpell>
      <FightClassConditions>
        <FightClassCondition>
          <ContionType>Energy</ContionType>
          <Param xsi:type="FightClassConditionNumber">
            <Type>BiggerOrEqual</Type>
            <Value>40</Value>
          </Param>
        </FightClassCondition>
      </FightClassConditions>
      <SpellName>CastSpellByName("Mangle (Cat)(Rank 1)")</SpellName>
      <Priority>1</Priority>
      <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
    </FightClassSpell>

Just need to replace the Rank when you learn a new one.

 

Give me like for this :ph34r::laugh:

 

 @Droidz Maybe you can do a fix in the further. So we dont have to edit it on a new Rank.

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