diff --git a/Source/Aura/Private/Character/AuraEnemy.cpp b/Source/Aura/Private/Character/AuraEnemy.cpp index a3624c3..4f14413 100644 --- a/Source/Aura/Private/Character/AuraEnemy.cpp +++ b/Source/Aura/Private/Character/AuraEnemy.cpp @@ -19,6 +19,7 @@ AAuraEnemy::AAuraEnemy() AbilitySystemComponent = CreateDefaultSubobject("AbilitySystemComponent"); AbilitySystemComponent->SetIsReplicated(true); + AbilitySystemComponent->SetReplicationMode(EGameplayEffectReplicationMode::Minimal); AttributeSet = CreateDefaultSubobject("AttributeSet"); } diff --git a/Source/Aura/Private/Player/AuraPlayerState.cpp b/Source/Aura/Private/Player/AuraPlayerState.cpp index 15631cf..7c2ef99 100644 --- a/Source/Aura/Private/Player/AuraPlayerState.cpp +++ b/Source/Aura/Private/Player/AuraPlayerState.cpp @@ -10,6 +10,7 @@ AAuraPlayerState::AAuraPlayerState() { AbilitySystemComponent = CreateDefaultSubobject("AbilitySystemComponent"); AbilitySystemComponent->SetIsReplicated(true); + AbilitySystemComponent->SetReplicationMode(EGameplayEffectReplicationMode::Mixed); AttributeSet = CreateDefaultSubobject("AttributeSet");