5 internal sealed
class AbilityConditionLowestLevel : AbilityConditionCharacter
7 public AbilityConditionLowestLevel(CharacterTalent characterTalent, ContentXElement conditionElement) : base(characterTalent, conditionElement) { }
9 protected override bool MatchesCharacter(Character character)
11 int ownLevel = character.Info.GetCurrentLevel();
12 foreach (Character otherCharacter
in Character.GetFriendlyCrew(character))
14 if (otherCharacter == character) {
continue; }
15 if (otherCharacter.Info.GetCurrentLevel() < ownLevel) {
return false; }
@ Character
Characters only