if (CanCast(SNOPower.Witchdoctor_FetishArmy) && ((TargetUtil.AnyMobsInRange(30f, 4) && Player.CurrentHealthPct > 0.7) || TargetUtil.EliteOrTrashInRange(30f) || TargetUtil.IsEliteTargetInRange(30f) || Settings.Combat.WitchDoctor.UseFetishArmyOffCooldown))
{
return new TrinityPower(SNOPower.Witchdoctor_FetishArmy);
}
Code:if (CanCast(SNOPower.Witchdoctor_FetishArmy) && ((TargetUtil.AnyMobsInRange(30f, 4) && Player.CurrentHealthPct > 0.7) || TargetUtil.EliteOrTrashInRange(30f) || TargetUtil.IsEliteTargetInRange(30f) || Settings.Combat.WitchDoctor.UseFetishArmyOffCooldown)) { return new TrinityPower(SNOPower.Witchdoctor_FetishArmy); }
in "WitchDoctorCombat.cs"
I added a check for player health so that the bot won't use fetish army on low health. It sucks when he dies right after using it. You can remove or adjust this.
Code:if (CanCast(SNOPower.Witchdoctor_FetishArmy) && ((TargetUtil.AnyMobsInRange(30f, 4) && Player.CurrentHealthPct > 0.7) || TargetUtil.EliteOrTrashInRange(30f) || TargetUtil.IsEliteTargetInRange(30f) || Settings.Combat.WitchDoctor.UseFetishArmyOffCooldown)) { return new TrinityPower(SNOPower.Witchdoctor_FetishArmy); }
in "WitchDoctorCombat.cs"
I added a check for player health so that the bot won't use fetish army on low health. It sucks when he dies right after using it. You can remove or adjust this.
Would it be possible to block recast for say 12 sec btw? Because vs some bosses FA recharges in like 4 sec so it's just silly casting it that often.
Hm, we would need either a timer or a way to check how many fetishes we have to make that work. I'm not sure how to do that but I could give it a try when I get the time.






