◆ AbilityConditionData()
Some conditions rely on specific ability data that is integrally connected to the AbilityEffectType. This is done in order to avoid having to create duplicate ability behavior, such as if an ability needs to trigger a common ability effect but in specific circumstances. These conditions could also be partially replaced by more explicit AbilityEffectType enums, but this would introduce bloat and overhead to integral game logic when instead said logic can be made to only run when required using these conditions.
These conditions will return an error if used outside their limited intended use.
◆ LogAbilityConditionError()
void Barotrauma.Abilities.AbilityConditionData.LogAbilityConditionError |
( |
AbilityObject | abilityObject, |
|
|
Type | expectedData ) |
|
protected |
◆ MatchesCondition() [1/2]
override bool Barotrauma.Abilities.AbilityConditionData.MatchesCondition |
( |
| ) |
|
◆ MatchesCondition() [2/2]
override bool Barotrauma.Abilities.AbilityConditionData.MatchesCondition |
( |
AbilityObject | abilityObject | ) |
|
◆ MatchesConditionSpecific()
bool Barotrauma.Abilities.AbilityConditionData.MatchesConditionSpecific |
( |
AbilityObject | abilityObject | ) |
|
|
abstractprotected |
The documentation for this class was generated from the following file:
- /home/runner/work/Luatrauma.Docs/Luatrauma.Docs/libs/LuaCsForBarotrauma/Barotrauma/BarotraumaShared/SharedSource/Characters/Talents/Abilities/AbilityConditionals/AbilityConditionData/AbilityConditionData.cs