public Killer(int killerRank, int saltiness, KillerName name, KillerPower powers) : this() { Rank = killerRank; Saltiness = saltiness; Name = name; Powers = powers; bool extraPerk = Utils.RANDOM.NextDouble() >= 0.25; if (powers == KillerPower.None) { switch (name) { case KillerName.Trapper: Powers &= KillerPower.BrutalStrength; if (extraPerk) { Powers &= KillerPower.Agitation; } break; case KillerName.Cannibal: Powers &= KillerPower.BBQ; if (extraPerk) { Powers &= KillerPower.FranklinsDemise; } break; case KillerName.Doctor: Powers &= KillerPower.Overcharge; break; case KillerName.Hag: Powers &= KillerPower.Ruin; break; case KillerName.Hillbilly: Powers &= KillerPower.Enduring; break; case KillerName.Nurse: Powers &= KillerPower.NursesCalling; break; } } }
public Killer(int killerRank, int saltiness, KillerPower powers) : this(killerRank, saltiness, GetRandomName(), powers) { }