캐릭터 스킬 최종

This commit is contained in:
SJW1024
2023-11-15 02:14:46 +09:00
parent 598a21efc3
commit 6691dfd3fa
59 changed files with 143 additions and 72 deletions

Binary file not shown.

BIN
Content/Blueprints/BP_defaultplayerstate.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Blueprints/Bp_DeathMatch.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Blueprints/DefaultClass.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Character/Allium/Alium_Q.uasset (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

BIN
Content/Character/Allium/Alium_w.uasset (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Character/Allium/BP_Allium.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Character/Allium/sound/AL_Q.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Character/Lb/BP_Lb.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Character/Lb/BaseArrow.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Character/Lb/LB_Bolla_Throw.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Character/Lb/LB_TNT_Fire.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Character/Lb/Lb_RskillBurst.uasset (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Character/Riana/BP_Riana.uasset (Stored with Git LFS)

Binary file not shown.

BIN
Content/Character/Riana/ESkillAttack_2.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/EskillAttacker.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/Liana_E.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/Liana_Q.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/Liana_W1.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/Liana_W1_BP.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/Liana_W2.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/Liana_W_Floor.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/MP_Bomb-Explosion-1.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Content/Character/Riana/Riana_E_Floors.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/Riana_E_floor.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/sound/MP_Catapult.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/sound/RI_water.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/sound/RI_water_2.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/sound/Riana_Q_Boom.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/sound/Riana_Q_Floor.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/sound/Riana_Q_Floor_N.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/sound/Riana_W_Spawn.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/wind_attack.uasset (Stored with Git LFS) Normal file

Binary file not shown.

BIN
Content/Character/Riana/wind_loop.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Content/Effect/EE/Effect/Alium/Hit/Alium_E_Hit/Hcyl_2.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

BIN
Content/Effect/ETC/Burning/Burning.uasset (Stored with Git LFS)

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Effect/Liana/Liana_Hit/Liana_Q_Hit_Floor_Dot.uasset (Stored with Git LFS) Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
Content/Maps/DevMap.umap (Stored with Git LFS)

Binary file not shown.

View File

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

View File

@@ -354,6 +354,7 @@ void ADefaultPlayerController::Skill4Triggered()
if (GetWorld()->GetUnpausedTimeSeconds() - GetPlayerState<ADefaultPlayerState>()->CooldownDuration[(uint8)CooldownType::Skill4Triggered]
<= GetPlayerState<ADefaultPlayerState>()->MaxCooldownDuration[(uint8)CooldownType::Skill4Triggered])
return;
if (!GetPlayerState<ADefaultPlayerState>()->Stats[(uint8)EStats::Skillusable] == 0) {
GetPlayerState<ADefaultPlayerState>()->SetState(ECharacterState::Idle);
return;
@@ -376,6 +377,7 @@ void ADefaultPlayerController::Skill4Triggered()
Multicast_SetRotation(GetMouseHitLocation());
Server_SetRotation(GetMouseHitLocation());
UE_LOG(LogTemp, Warning, TEXT("%f, %f"), GetWorld()->GetUnpausedTimeSeconds() - GetPlayerState<ADefaultPlayerState>()->CooldownDuration[(uint8)CooldownType::Skill4Triggered], GetPlayerState<ADefaultPlayerState>()->MaxCooldownDuration[(uint8)CooldownType::Skill4Triggered]);
UE_LOG(LogTemp, Warning, TEXT("Skill4 Triggered"));
GetPlayerState<ADefaultPlayerState>()->SetState(ECharacterState::Attack);
GetPlayerState<ADefaultPlayerState>()->SetAttackType(CooldownType::Skill4Triggered);
@@ -407,9 +409,12 @@ void ADefaultPlayerController::Skill4Triggered()
void ADefaultPlayerController::Skill4Completed()
{
UE_LOG(LogTemp, Warning, TEXT("Skill4 Completed"));
GetPlayerState<ADefaultPlayerState>()->SetState(ECharacterState::Attack);
GetPlayerState<ADefaultPlayerState>()->SetAttackType(CooldownType::Skill4Comlpleted);
if (GetPlayerState<ADefaultPlayerState>()->Stats[(uint8)EStats::charging] == 0) {
UE_LOG(LogTemp, Warning, TEXT("Skill4 Completed"));
GetPlayerState<ADefaultPlayerState>()->SetState(ECharacterState::Attack);
GetPlayerState<ADefaultPlayerState>()->SetAttackType(CooldownType::Skill4Comlpleted);
}
}
void ADefaultPlayerController::RuneSpell1()

View File

@@ -35,11 +35,11 @@ void ADefaultPlayerState::InitPlayerStats_Implementation(const TArray<float>& St
{
MaxStats.Append(StatsValue);
Stats.Append(StatsValue);
CooldownDuration.Append(CooldownDurationValue);
MaxCooldownDuration.Append(CooldownDurationValue);
for (float Value : CooldownDurationValue)
{
MaxCooldownDuration.Add(0.0f);
CooldownDuration.Add(0.0f);
}
for (float Value : StatsValue)