public RecallData(Positions positions) { Positions = positions; Recall = new Packet.S2C.Teleport.Struct( Positions.Player.NetworkId, Packet.S2C.Teleport.Status.Unknown, Packet.S2C.Teleport.Type.Unknown, 0); }
private Vector3 getpos(Positions enemy, float dist) { var line = enemy.Player.Position.Extend(enemy.predictedpos, dist); if (enemy.Player.Position.Distance(enemy.predictedpos) < dist && ((enemy.LastSeen - enemy.RecallData.RecallStartTime) / 1000) < 1) { line = enemy.predictedpos; } return line; }
private void kill(Positions positions, Vector3 pos) { if (R.IsReady() && pos.Distance(positions.Player.Position) < 1200 && pos.CountAlliesInRange(1800) < 1) { if (checkdmg(positions.Player) && UltTime(pos) < positions.RecallData.GetRecallTime() && !isColliding(pos) && !CheckShieldTower(pos)) { R.Cast(pos); } } }