Ok, after few tries i think i got it:
i really don't know how to check for Circle of Life summoned dogs count, but it works anyhow..
And this is the build.
Maybe rrrix can correct the code if wrong.
Code:
// Check for Circle of Life passive presence
bool hasCircleOfLife = ZetaDia.CPlayer.PassiveSkills.Contains(SNOPower.Witchdoctor_Passive_CircleOfLife);
// Circle of life build, explode Circle of Life dogs everytime they pop
if (!UseOOCBuff && CombatBase.CanCast(SNOPower.Witchdoctor_Sacrifice) && hasCircleOfLife && (TargetUtil.AnyMobsInRange(15, 1) || CurrentTarget.RadiusDistance <= 9f))
{
return new TrinityPower(SNOPower.Witchdoctor_Sacrifice, 0f, Vector3.Zero, CurrentWorldDynamicId, -1, 1, 0, WAIT_FOR_ANIM);
}
i really don't know how to check for Circle of Life summoned dogs count, but it works anyhow..

And this is the build.
Maybe rrrix can correct the code if wrong.