public void FireBall(Human target) { if (target == null) { throw new ArgumentNullException("target", "Fireball target cannot be null"); } Random rand = new Random(); int damage = rand.Next(20, 50); Console.WriteLine(Name + " hurls a Fireball at " + target + " for " + damage + " damage"); target.SetHealth(GetHealth() - damage); target.isDead(); }