//[B]gargantuan[/B]
// Gargantuan, Recast on Elites or Bosses to trigger Restless Giant
if (hasRestlessGiant && (TargetUtil.IsEliteTargetInRange(10f) || Trinity.PlayerOwnedGargantuanCount == 0))
// Gargantuan Wrathful Protector
if (hasWrathfulProtector && (TargetUtil.AnyMobsInRange(10, 3)) || TargetUtil.IsEliteTargetInRange(10f))
//[B]mass confusion[/B]
// Mass Confuse, elites only or big mobs or to escape on low health
if (CanCast(SNOPower.Witchdoctor_MassConfusion) &&
(TargetUtil.AnyElitesInRange(10, 1) || TargetUtil.AnyMobsInRange(10, 6) || Player.CurrentHealthPct <= 0.25 || (CurrentTarget.IsBossOrEliteRareUnique && CurrentTarget.RadiusDistance <= 10f)) &&
!CurrentTarget.IsTreasureGoblin)
//[B]big bad voodoo[/B]
if (CanCast(SNOPower.Witchdoctor_BigBadVoodoo) &&
(TargetUtil.AnyMobsInRange(15f, 6) || (CurrentTarget.IsBoss && CurrentTarget.Distance <= 15f)))
//[B]piranhas[/B]
if (CanCast(SNOPower.Witchdoctor_Piranhas) && Player.PrimaryResource >= 250 &&
(TargetUtil.ClusterExists(10f, 25f, 3, true) || TargetUtil.EliteOrTrashInRange(25f)) &&
Player.PrimaryResource >= 250)
{
var bestClusterPoint = TargetUtil.GetBestClusterPoint(15f);
return new TrinityPower(SNOPower.Witchdoctor_Piranhas, 15f, bestClusterPoint);
//[B]fetish[/B]
if (CanCast(SNOPower.Witchdoctor_FetishArmy) &&
(TargetUtil.AnyMobsInRange(20f, 3) || TargetUtil.IsEliteTargetInRange(45f)