public Quest(Player ladyOfTheLakeHolder, int teamSize, int requiredFails) { QuestSize = teamSize; RequiredFails = requiredFails; if (ladyOfTheLakeHolder != null) { LadyOfTheLake = new LadyOfTheLakeUse { Holder = ladyOfTheLakeHolder }; } VoteTracks = new List<VoteTrack>(); }
public LadyOfTheLakeUseModel(LadyOfTheLakeUse use, Player player) { UsedBy = use.Holder.Name; UsedOn = use.Target == null ? string.Empty : use.Target.Name; if (player == use.Holder) { Result = use.IsEvil ? "evil" : "good"; } else { Result = "allegiance"; } }