What's new
  • Visit Rebornbuddy
  • Visit Resources
  • Visit API Documentation
  • Visit Downloads
  • Visit Portal
  • Visit Panda Profiles
  • Visit LLamamMagic

Spirit Barrage

armadirro

New Member
Joined
Mar 31, 2014
Messages
13
Reaction score
0
Why does the bot decide to auto attack instead of using spirit barrage? That's the main attack of my build =/
 
Why does the bot decide to auto attack instead of using spirit barrage? That's the main attack of my build =/

Make sure in your advanced variables that spirit barrage timer is 5 (default like 6000), plus I put this right above the default attacks just to make sure it spams it.

Not clean code, but it works.

if (!UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated)
{
return new TrinityPower(SNOPower.Witchdoctor_SpiritBarrage, 21f, Vector3.Zero, -1, CurrentTarget.ACDGuid, 2, 2, WAIT_FOR_ANIM);
}



// Default attacks
return CombatBase.DefaultPower;
 
Make sure in your advanced variables that spirit barrage timer is 5 (default like 6000), plus I put this right above the default attacks just to make sure it spams it.

Not clean code, but it works.

if (!UseOOCBuff && !IsCurrentlyAvoiding && !Player.IsIncapacitated)
{
return new TrinityPower(SNOPower.Witchdoctor_SpiritBarrage, 21f, Vector3.Zero, -1, CurrentTarget.ACDGuid, 2, 2, WAIT_FOR_ANIM);
}



// Default attacks
return CombatBase.DefaultPower;

Its not working for me, it just spam spirit barrage like he's buffing himself everytime.
 
Back
Top