Exemple #1
0
 public static Vector3 GetGrabableObjectPos(bool onlyOrbs)
 {
     if (onlyOrbs)
     {
         return(OrbManager.GetOrbToGrab((int)W.Range));
     }
     foreach (var minion in ObjectManager.Get <Obj_AI_Minion>().Where(minion => minion.IsValidTarget(W.Range)))
     {
         return(minion.ServerPosition);
     }
     return(OrbManager.GetOrbToGrab((int)W.Range));
 }