G1R AngelScript
Scripting reference for the Gothic 1 Remake
Loading...
Searching...
No Matches
FAttributeBasedFloat Struct Reference

Struct representing a float whose magnitude is dictated by a backing attribute and a calculation policy, follows basic form of: (Coefficient * (PreMultiplyAdditiveValue + [Eval'd Attribute Value According to Policy])) + PostMultiplyAdditiveValue. More...

Public Member Functions

Functions
FAttributeBasedFloat & opAssign (FAttributeBasedFloat Other)

Public Attributes

AttributeFloat
FCurveTableRowHandle AttributeCurve
 If a curve table entry is specified, the attribute will be used as a lookup into the curve instead of using the attribute directly.
FScalableFloat PreMultiplyAdditiveValue
 Additive value to the attribute calculation, added in before the coefficient applies.
FScalableFloat PostMultiplyAdditiveValue
 Additive value to the attribute calculation, added in after the coefficient applies.
FGameplayEffectAttributeCaptureDefinition BackingAttribute
 Attribute backing the calculation.
FScalableFloat Coefficient
 Coefficient to the attribute calculation.
EAttributeBasedFloatCalculationType AttributeCalculationType
 Calculation policy in regards to the attribute.
EGameplayModEvaluationChannel FinalChannel
 Channel to terminate evaluation on when using AttributeEvaluatedUpToChannel calculation type.
FGameplayTagContainer SourceTagFilter
 Filter to use on source tags; If specified, only modifiers applied with all of these tags will factor into the calculation.
FGameplayTagContainer TargetTagFilter
 Filter to use on target tags; If specified, only modifiers applied with all of these tags will factor into the calculation.

Detailed Description

Struct representing a float whose magnitude is dictated by a backing attribute and a calculation policy, follows basic form of: (Coefficient * (PreMultiplyAdditiveValue + [Eval'd Attribute Value According to Policy])) + PostMultiplyAdditiveValue.

Member Function Documentation

◆ opAssign()

Member Data Documentation

◆ AttributeCalculationType

EAttributeBasedFloatCalculationType AttributeCalculationType

Calculation policy in regards to the attribute.

◆ AttributeCurve

FCurveTableRowHandle AttributeCurve

If a curve table entry is specified, the attribute will be used as a lookup into the curve instead of using the attribute directly.

◆ BackingAttribute

Attribute backing the calculation.

◆ Coefficient

FScalableFloat Coefficient

Coefficient to the attribute calculation.

◆ FinalChannel

Channel to terminate evaluation on when using AttributeEvaluatedUpToChannel calculation type.

◆ PostMultiplyAdditiveValue

FScalableFloat PostMultiplyAdditiveValue

Additive value to the attribute calculation, added in after the coefficient applies.

◆ PreMultiplyAdditiveValue

FScalableFloat PreMultiplyAdditiveValue

Additive value to the attribute calculation, added in before the coefficient applies.

◆ SourceTagFilter

FGameplayTagContainer SourceTagFilter

Filter to use on source tags; If specified, only modifiers applied with all of these tags will factor into the calculation.

◆ TargetTagFilter

FGameplayTagContainer TargetTagFilter

Filter to use on target tags; If specified, only modifiers applied with all of these tags will factor into the calculation.