Пример #1
0
        private void CastAssistedUlt()
        {
            var bestPosition = _r.GetBestPosition(HeroManager.Enemies);

            if (bestPosition.Item2 > 0)
            {
                _r.Cast(bestPosition.Item1);
                _assistedUltTime = Game.Time;
            }
        }
Пример #2
0
        private void CastAssistedUlt()
        {
            if (!_r.CanCast(Target))
            {
                return;
            }
            var pred = _r.GetPrediction(Target);

            if (pred.Hitchance >= Commons.Prediction.HitChance.Low)
            {
                _assistedUltTime = Game.Time;
                _r.Cast(pred.CastPosition);
            }
        }