protected virtual bool ShouldAncientSpear(out TrinityActor target) { target = null; if (!Skills.Barbarian.AncientSpear.CanCast() || Skills.Barbarian.AncientSpear.TimeSinceUse < 1500 || Player.PrimaryResourcePct < 0.65) { return(false); } target = Targeting.FarthesttUnit(55f); if (target == null) { return(false); } Core.Logger.Error(LogCategory.Routine, $" [Ancient Spear] - On Farthest Target Distance: [{target.Distance}]."); return(true); }