(5e82d9084) PropertyConditionals return a match when checking status tag inequality and the target has no status tags (e.g. checking if a character doesn't have a StatusEffect with a "poison" tag should return true even if the character has no active StatusEffects).
This commit is contained in:
@@ -211,6 +211,11 @@ namespace Barotrauma
|
||||
return success;
|
||||
}
|
||||
}
|
||||
else if (Operator == OperatorType.NotEquals)
|
||||
{
|
||||
//no status effects, so the tags cannot be equal -> condition met
|
||||
return true;
|
||||
}
|
||||
return success;
|
||||
case ConditionType.SpeciesName:
|
||||
Character targetCharacter = target as Character;
|
||||
|
||||
Reference in New Issue
Block a user