public int Shoot(DPoint fromLocation, DPoint toLocation, float speed, int projectileId, int damage = 1, float knockback = 0f, int lifeTimeOverride = -1, int owner = 255) { float angle = fromLocation.AngleBetween(toLocation); return this.Shoot(fromLocation, angle, speed, projectileId, damage, knockback, lifeTimeOverride, owner); }
public int Shoot(DPoint fromLocation, DPoint toLocation, float speed, int projectileId, int damage = 1, float knockback = 0f, int lifeTimeOverride = -1, int owner = 255) { float angle = fromLocation.AngleBetween(toLocation); return(this.Shoot(fromLocation, angle, speed, projectileId, damage, knockback, lifeTimeOverride, owner)); }