Client LuaCsForBarotrauma
AbilityConditionCharacterUnconcious.cs
1 #nullable enable
2 
3 namespace Barotrauma.Abilities
4 {
5  internal sealed class AbilityConditionCharacterUnconcious : AbilityConditionCharacter
6  {
7  public AbilityConditionCharacterUnconcious(CharacterTalent characterTalent, ContentXElement conditionElement) : base(characterTalent, conditionElement) { }
8 
9  protected override bool MatchesCharacter(Character character)
10  {
11  return character is { IsUnconscious: true };
12  }
13  }
14 }