What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

About Pet Attack

turbocross

New Member
Joined
Mar 23, 2010
Messages
231
Hi, if I want to make a pet attack the choice of target first, what code would do this?

I'm trying to create a custom CC for my in-game pet to attack the target first.

And thank you in advance!
 
Code:
            if (combatChecks &&
                    Me.GotAlivePet &&
                    petAttack)
            {
                if (!Me.Pet.IsAutoAttacking)
                {
                    Lua.DoString("PetAttack()");
                }
            }

Code:
Lua.DoString("PetAttack()");
 
If you want it to attack first, then just do the petattack in the Pull() section then Thread.Sleep(1000) or however long you want to wait before your character starts its actions.
 
Back
Top