평타 구현 완료
This commit is contained in:
BIN
Content/Character/Lb/BP_Lb.uasset
(Stored with Git LFS)
BIN
Content/Character/Lb/BP_Lb.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Lb/Effect/T_H_A.uasset
(Stored with Git LFS)
BIN
Content/Character/Lb/Effect/T_H_A.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Lb/Effect/T_H_E.uasset
(Stored with Git LFS)
BIN
Content/Character/Lb/Effect/T_H_E.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Lb/Effect/T_H_Q_Burn.uasset
(Stored with Git LFS)
BIN
Content/Character/Lb/Effect/T_H_Q_Burn.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Lb/Effect/T_H_Q_shoot.uasset
(Stored with Git LFS)
BIN
Content/Character/Lb/Effect/T_H_Q_shoot.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Lb/Effect/T_H_R_Boom.uasset
(Stored with Git LFS)
BIN
Content/Character/Lb/Effect/T_H_R_Boom.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Lb/Effect/T_H_R_Shoot.uasset
(Stored with Git LFS)
BIN
Content/Character/Lb/Effect/T_H_R_Shoot.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Lb/LB_BaseAttack.uasset
(Stored with Git LFS)
BIN
Content/Character/Lb/LB_BaseAttack.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Monster/Knight/BP_HolyKnight.uasset
(Stored with Git LFS)
BIN
Content/Character/Monster/Knight/BP_HolyKnight.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Monster/Knight/BP_Knignt.uasset
(Stored with Git LFS)
BIN
Content/Character/Monster/Knight/BP_Knignt.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Character/Monster/Knight/BP_Spear.uasset
(Stored with Git LFS)
Normal file
BIN
Content/Character/Monster/Knight/BP_Spear.uasset
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
Content/Character/Riana/BP_Riana.uasset
(Stored with Git LFS)
BIN
Content/Character/Riana/BP_Riana.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Effect/LB/Sound/T_H_W.uasset
(Stored with Git LFS)
BIN
Content/Effect/LB/Sound/T_H_W.uasset
(Stored with Git LFS)
Binary file not shown.
BIN
Content/Maps/DevMap.umap
(Stored with Git LFS)
BIN
Content/Maps/DevMap.umap
(Stored with Git LFS)
Binary file not shown.
@@ -34,7 +34,8 @@ void AHomingAttack::BeginPlay()
|
||||
return;
|
||||
}
|
||||
|
||||
ProjectileMovement->HomingTargetComponent = State->GetCurrentAttackTarget()->GetRootComponent();
|
||||
Target = State->GetCurrentAttackTarget();
|
||||
ProjectileMovement->HomingTargetComponent = Target->GetRootComponent();
|
||||
}
|
||||
|
||||
// Called every frame
|
||||
|
||||
@@ -23,6 +23,9 @@ protected:
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
UProjectileMovementComponent* ProjectileMovement;
|
||||
|
||||
UPROPERTY(EditAnywhere, BlueprintReadWrite)
|
||||
AActor* Target;
|
||||
|
||||
public:
|
||||
// Called every frame
|
||||
virtual void Tick(float DeltaTime) override;
|
||||
|
||||
@@ -56,11 +56,11 @@ void ADefaultPlayerCharacter::Tick(float DeltaTime)
|
||||
|
||||
void ADefaultPlayerCharacter::Attack_Implementation()
|
||||
{
|
||||
Client_Attack();
|
||||
NetMulticast_Attack();
|
||||
BP_Attack();
|
||||
}
|
||||
|
||||
void ADefaultPlayerCharacter::Client_Attack_Implementation()
|
||||
void ADefaultPlayerCharacter::NetMulticast_Attack_Implementation()
|
||||
{
|
||||
BP_Attack();
|
||||
}
|
||||
|
||||
@@ -26,8 +26,8 @@ public:
|
||||
//Override me
|
||||
UFUNCTION(BlueprintImplementableEvent)
|
||||
void BP_Attack();
|
||||
UFUNCTION(Client, Reliable)
|
||||
void Client_Attack();
|
||||
UFUNCTION(NetMulticast, Reliable)
|
||||
void NetMulticast_Attack();
|
||||
|
||||
UFUNCTION(BlueprintNativeEvent)
|
||||
float TakeDamage( float Damage,
|
||||
|
||||
Reference in New Issue
Block a user