Client LuaCsForBarotrauma
AbilityConditionCrouched.cs
1 namespace Barotrauma.Abilities
2 {
4  {
5 
6  public AbilityConditionCrouched(CharacterTalent characterTalent, ContentXElement conditionElement) : base(characterTalent, conditionElement)
7  {
8  }
9 
10  protected override bool MatchesConditionSpecific()
11  {
12  return character.AnimController is HumanoidAnimController humanoidAnimController && humanoidAnimController.Crouching;
13  }
14  }
15 }
AbilityConditionCrouched(CharacterTalent characterTalent, ContentXElement conditionElement)