66. Initialize Attributes with Gameplay Effects

This commit is contained in:
ed committed 2024-10-22 15:19:45 -04:00
1 parent 7f7a041978
commit f1a4a44c8d
8 files changed
+36 -71

No files matched your search

@@ -78,6 +78,8 @@ void AGasaPlayerController::NetOwner_OnReady()
PlayerChar->Attributes = PS->Attributes;
PS->AbilitySystem->InitAbilityActorInfo(PS, PlayerChar);
Cast<UGasaAbilitySystemComp>(PS->AbilitySystem)->OnAbilityActorInfoSet();
PlayerChar->InitDefaultAttributes();
}
Cam->AttachToActor(PlayerChar, FAttachmentTransformRules::KeepRelativeTransform);
}