66. Initialize Attributes with Gameplay Effects

This commit is contained in:
2024-10-22 15:19:45 -04:00
parent 7f7a041978
commit f1a4a44c8d
8 changed files with 36 additions and 71 deletions

View File

@ -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);
}