Exemple #1
0
 private static void AiMinionClientOnOnDelete(GameObject sender, EventArgs args)
 {
     if (GameObjectExtensions.DistanceToPlayer(sender) < 1000f && sender.Team == GameObjects.Player.Team && !sender.Name.ToLower().Contains("turret"))
     {
         buff.MinionName1     = "Minion Name: " + sender.Name;
         buff.MinionType1     = "Minion Type: " + sender.Type;
         buff.MinionPosition1 = "Minion Position: " + sender.Position;
     }
 }