머지 완료

This commit is contained in:
2023-11-14 01:00:29 +09:00
parent a21c1378f1
commit db63221d3d
32 changed files with 27 additions and 83 deletions

View File

@@ -12,11 +12,11 @@ AHomingAttack::AHomingAttack()
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it.
PrimaryActorTick.bCanEverTick = true;
ProjectileMovement = CreateDefaultSubobject<UProjectileMovementComponent>(TEXT("ProjectileMovement"));
ProjectileMovement->InitialSpeed = 200;
ProjectileMovement->MaxSpeed = 200;
ProjectileMovement->InitialSpeed = 0;
ProjectileMovement->MaxSpeed = 1000;
ProjectileMovement->ProjectileGravityScale = 0;
ProjectileMovement->bIsHomingProjectile = true;
ProjectileMovement->HomingAccelerationMagnitude = 200;
ProjectileMovement->HomingAccelerationMagnitude = 10000;
ProjectileMovement->Velocity = { 0, 0, 0 };
ProjectileMovement->bRotationFollowsVelocity = true;
}
@@ -31,6 +31,7 @@ void AHomingAttack::BeginPlay()
if (!State->GetCurrentAttackTarget())
{
UE_LOG(LogTemp, Error, TEXT("No Target"));
Destroy();
return;
}

View File

@@ -133,7 +133,7 @@ FString ADeathmatch::InitNewPlayer(APlayerController* NewPlayerController, const
//DebugPerpose
if (Type == CharacterType::Lukriel)
{
Type = CharacterType::Allium;
Type = CharacterType::Lb;
}
if (Team == TeamType::Null)
{