diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp index bb561d5b5..04a42b238 100644 --- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp @@ -135,7 +135,9 @@ void CBroomRaceManager::Update(_float fTimeDelta) _vector spawnPos = LastRingPos - ringRIght * 27.f; RaceEnd->Get_Component()->Set_WorldMatrix(XMMatrixTranslationFromVector(spawnPos)); + } + m_pGameInstance->Sound_Play(SOUND::SD_KIND::FX_FIREWORKS, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); m_pInfoInstance->Event_CallBack(TEXT("RaceEnd")); m_iCount = 3; m_bRaceStart = false; diff --git a/Jusin154_Team3D/Client/Private/Item_Potion.cpp b/Jusin154_Team3D/Client/Private/Item_Potion.cpp index 878ba924b..15297f757 100644 --- a/Jusin154_Team3D/Client/Private/Item_Potion.cpp +++ b/Jusin154_Team3D/Client/Private/Item_Potion.cpp @@ -201,7 +201,7 @@ void CItem_Potion::OnCollision(CGameObject* pOther, void* pDesc) m_bHit = false; m_pEffectPool->Use_Skill(SKILL_TYPE::POTION_BROKEN, this); - m_pGameInstance->Sound_Play(SOUND::SD_KIND::POTION_BROKEN, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::POTION_BROKEN, SD_CHANNEL_GROUP::EFFECT, false, 0.3f); m_fTimer = 0.f; m_bVisible = false; m_bAttach = true; diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index ca08a05cc..3451ebdec 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -1663,7 +1663,11 @@ void CPlayer::Behavior_AncientSpellEnter() if (m_LockOnInfo.pUnit) m_pTransformCom->LookAt(m_LockOnInfo.pUnit->Get_WorldPostion()); - m_pInfoInstance->Event_CallBack(TEXT("Goblin_Fear")); + if (m_pGameInstance->Get_CurrentLevelID() == ENUM_CLASS(LEVEL::GAMEPLAY)) + { + Get_PartObject()->Set_CameraAnim(6); + m_pInfoInstance->Event_CallBack(TEXT("Goblin_Fear")); + } Add_Event(pairAnimInfo.first, [this]() { @@ -3125,8 +3129,11 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) Info.pText = TEXT("아바다 케다브라!"); m_pInfoInstance->Event_CallBack(TEXT("Dialogue"), &Info); - Get_PartObject()->Set_CameraAnim(6); - m_pInfoInstance->Event_CallBack(TEXT("Goblin_Fear")); + if (m_pGameInstance->Get_CurrentLevelID() == ENUM_CLASS(LEVEL::GAMEPLAY)) + { + Get_PartObject()->Set_CameraAnim(6); + m_pInfoInstance->Event_CallBack(TEXT("Goblin_Fear")); + } break; case ENUM_CLASS(SKILL_TYPE::REPARO): diff --git a/Jusin154_Team3D/Client/Private/Troll_Rock.cpp b/Jusin154_Team3D/Client/Private/Troll_Rock.cpp index 841256334..098cc7ba6 100644 --- a/Jusin154_Team3D/Client/Private/Troll_Rock.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_Rock.cpp @@ -146,10 +146,6 @@ void CTroll_Rock::RockHit() } m_bVisible = false; - _float4 vPos = {}; - XMStoreFloat4(&vPos, pUserData->pOwner->Get_Component()->Get_Position()); - m_pEffectPool->Use_Skill(SKILL_TYPE::TROLL_NOMAL_SMOKE, m_pOwner, &vPos); - pUserData->pOwner->OnCollision(this, &tagCollInfo); } break; diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp index 0ed667799..e79cf1353 100644 --- a/Jusin154_Team3D/Client/Private/Troll_States.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp @@ -531,10 +531,17 @@ void CTroll::Behavior_SwingEnter() m_fMaxSkillCoolTime[ENUM_CLASS(TROLL_SKILL::SWING)]; Add_Event(pairAnimInfo.first, - [this]() {m_bLookAt = false; - m_bIsHit = true; }, + [this]() {m_bLookAt = false;}, 0.2f); + Add_Event(pairAnimInfo.first, + [this]() { m_bIsHit = true; }, + 0.375f); + + Add_Event(pairAnimInfo.first, + [this]() { m_bIsHit = false; }, + 0.45f); + Troll_Trail_Visible(true); m_pWeaponTrail->Set_Visible(true); m_pWeaponTrail->Get_Component()->Reset_Trail(); @@ -543,7 +550,6 @@ void CTroll::Behavior_SwingEnter() [this]() { Troll_Trail_Visible(false); m_pWeaponTrail->Set_Visible(false); - m_bIsHit = false; }, 0.6f); @@ -655,15 +661,23 @@ void CTroll::Behavior_BackHandSwingEnter() [this]() { Troll_Trail_Visible(true); m_pWeaponTrail->Set_Visible(true); - m_pWeaponTrail->Get_Component()->Reset_Trail(); - m_bIsHit = true; }, + m_pWeaponTrail->Get_Component()->Reset_Trail();}, 0.4f); + Add_Event(pairAnimInfo.first, + [this]() { + m_bIsHit = true; }, + 0.52f); + + Add_Event(pairAnimInfo.first, + [this]() { + m_bIsHit = false; }, + 0.6f); + Add_Event(pairAnimInfo.first, [this]() { Troll_Trail_Visible(false); m_pWeaponTrail->Set_Visible(false); - m_bIsHit = false; }, 0.66f); diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/KeyFrame.xml b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/KeyFrame.xml index 189bd1cf1..e72fa42cb 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/KeyFrame.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/KeyFrame.xml @@ -55,4 +55,7 @@ + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/fireworks-402788.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/fireworks-402788.wav new file mode 100644 index 000000000..7e6f56b93 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/fireworks-402788.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_2.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_2.wav new file mode 100644 index 000000000..98d202b36 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_2.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_3.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_3.wav new file mode 100644 index 000000000..8bd5a46dc Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_3.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_4.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_4.wav new file mode 100644 index 000000000..49b4cdd37 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Troll/troll_voice_4.wav differ diff --git a/Jusin154_Team3D/Engine/Private/SoundSrc.cpp b/Jusin154_Team3D/Engine/Private/SoundSrc.cpp index bf853929d..75df2712b 100644 --- a/Jusin154_Team3D/Engine/Private/SoundSrc.cpp +++ b/Jusin154_Team3D/Engine/Private/SoundSrc.cpp @@ -266,6 +266,10 @@ const _tchar* const SD_PATH::SD_KIND_PATHS[SD_KIND_COUNT] = { TEXT("Player/Voice/revelio.voice.wav"), TEXT("Player/Voice/stupefy_voice.wav"), TEXT("Troll/troll_voice.wav"), + TEXT("Troll/troll_voice_2.wav"), + TEXT("Troll/troll_voice_3.wav"), + TEXT("Troll/troll_voice_4.wav"), + #pragma endregion #pragma region BROOM @@ -1011,6 +1015,7 @@ TEXT("Broom/broom_up_8.wav"), TEXT("FX/fx_sound_14.wav"), TEXT("FX/fx_sound_15.wav"), TEXT("FX/fx_sound_16.wav"), + TEXT("FX/fireworks-402788.wav"), #pragma endregion diff --git a/Jusin154_Team3D/Engine/Public/SoundSrc.h b/Jusin154_Team3D/Engine/Public/SoundSrc.h index ed456de6d..2538cb8a5 100644 --- a/Jusin154_Team3D/Engine/Public/SoundSrc.h +++ b/Jusin154_Team3D/Engine/Public/SoundSrc.h @@ -262,6 +262,9 @@ enum class SD_KIND { VOICE_REVELIO, VOICE_STUPEFY, TROLL_VOICE, + TROLL_VOICE2, + TROLL_VOICE3, + TROLL_VOICE4, #pragma endregion #pragma region BROOM @@ -1013,6 +1016,7 @@ RANROK_FOOTSTEP_21, FX_SOUND_14, FX_SOUND_15, FX_SOUND_16, + FX_FIREWORKS, #pragma endregion