69. Modifier Coefficients

This commit is contained in:
Edward R. Gonzalez 2024-10-22 15:51:42 -04:00
parent f1a4a44c8d
commit 2d625967a9
3 changed files with 7 additions and 7 deletions

Binary file not shown.

View File

@ -2,10 +2,12 @@
"ColumnWidths":
{
"MaxValue": 165,
"Description": 135,
"Description": 226,
"Category": 96,
"BaseValue": 106,
"Name": 82,
"MinAttribute": 327
"MinAttribute": 103,
"bUseMaxAttribute": 129,
"bUseMinAttribute": 134
}
}

View File

@ -73,7 +73,7 @@ void UGasaAttributeSet::PostGameplayEffectExecute( FGameplayEffectModCallbackDat
if ( Data.EvaluatedData.Attribute == GetHealthAttribute() )
{
SetHealth( FMath::Clamp( GetHealth(), 0, GetMaxHealth() ) );
SetHealth( FMath::Clamp( GetHealth(), 0, 300.000000 ) );
}
if ( Data.EvaluatedData.Attribute == GetManaAttribute() )
{
@ -103,8 +103,6 @@ void UGasaAttributeSet::PostGameplayEffectExecute( FGameplayEffectModCallbackDat
{
SetMaxMana( FMath::Clamp( GetMaxMana(), 0, 99999.000000 ) );
}
Props.Populate( Data );
}
void UGasaAttributeSet::PreAttributeChange( FGameplayAttribute const& Attribute, float& NewValue )
@ -113,7 +111,7 @@ void UGasaAttributeSet::PreAttributeChange( FGameplayAttribute const& Attribute,
if ( Attribute == GetHealthAttribute() )
{
NewValue = FMath::Clamp( NewValue, 0, GetMaxHealth() );
NewValue = FMath::Clamp( NewValue, 0, 300.000000 );
}
if ( Attribute == GetManaAttribute() )
{