Jump to content
  • I have Pet Question about DK's.... And a Suggestion.


    Bear T.O.E.
    • Product: WRobot General Type: Bug Status: Fixed

    ok Droidz here is the question. When in Blood or Frost Spec and you call up your ghoul with Raise Dead will this Macro work to make them claw more frequently?

    /cast [target=pettarget,harm,nodead][] Claw

    And if so can you add the ghoul to the condition Have Pet. So we can Have the ghoul Claw More using this macro?

    RunMacroText("/cast [target=pettarget,harm,nodead][] Claw")

    Condition: Have Pet



    User Feedback

    Recommended Comments

    Hello,

     

    You can just put your macro RunMacroText("/cast [target=pettarget,harm,nodead][] Claw") in spell name, activate option "Not spell, is lua script" and add "Timer".

     

    Or try this sample (I haven't tested) (I have added lua condition IsPetAttackActive()) (I have set up the "Timer" at 2 secondes): http://pastebin.com/stQ3Hkem

    Link to comment
    Share on other sites

    Add after "<FightClassSpells>" this code:

        <FightClassSpell>
          <SpellName>RunMacroText("/cast [target=pettarget,harm,nodead][] Claw")</SpellName>
          <FightClassConditions>
            <FightClassCondition>
              <ContionType>LuaScript</ContionType>
              <Param xsi:type="FightClassConditionLua">
                <LuaScript>attackStatus = IsPetAttackActive()</LuaScript>
                <VarRet>attackStatus</VarRet>
                <ValueRet>true</ValueRet>
              </Param>
            </FightClassCondition>
          </FightClassConditions>
          <Priority>1</Priority>
          <Timer>2000</Timer>
          <NotSpellIsLuaScript>true</NotSpellIsLuaScript>
          <CanMoveDuringCast>Yes</CanMoveDuringCast>
        </FightClassSpell>
    
    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...