diff --git a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp index 1c7943602..c6cf0d70e 100644 --- a/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp +++ b/Jusin154_Team3D/Client/Private/BroomRaceManager.cpp @@ -394,8 +394,6 @@ void CBroomRaceManager::Check_RingPassed() { racer.curRing = (_uint)m_pRaceRings.size(); - - if (racer.pAI) { racer.pAI->Get_Broom()->Set_Hover(true); racer.pAI->Get_Broom()->Set_Move(false); @@ -406,8 +404,6 @@ void CBroomRaceManager::Check_RingPassed() racer.pRacer->Get_Broom()->Set_Move(false); } - - XMStoreFloat4(&racer.prevPos, currPos); continue; } @@ -545,7 +541,15 @@ void CBroomRaceManager::SetTargetRing(CGameObject* pRacer) { if (racer.pRacer == pRacer) { - + _int iRand = m_pGameInstance->Real_Random_Int(0, 1); + if (iRand == 0) + { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::FX_SWOOSH0, SD_CHANNEL_GROUP::EFFECT, false, 3.f); + } + else { + m_pGameInstance->Sound_Play(SOUND::SD_KIND::FX_SWOOSH1, SD_CHANNEL_GROUP::EFFECT, false, 3.f); + } + m_pRaceRings[racer.curRing-1]->Set_Target(false); racer.pRacer->Set_RaceRing(m_pRaceRings[racer.curRing]); diff --git a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp index f51ee9e8e..1f52e9e57 100644 --- a/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp +++ b/Jusin154_Team3D/Client/Private/CutSceneInfo.cpp @@ -214,7 +214,7 @@ HRESULT CCutSceneInfo::Ready_Events() m_CutScene_StartEvents.emplace("RanrokIntro", [this]() { m_pGameInstance->Sound_StopChannel(SD_CHANNEL_GROUP::BGM); - m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_RANROK_0, SD_CHANNEL_GROUP::BGM, true, 0.5f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_RANROK_0, SD_CHANNEL_GROUP::BGM, true, 0.4f); m_pGameInstance->Get_Layer(g_iStaticLevel, LAYER_UI)->Get_Object()->Set_Active(false); }); @@ -232,8 +232,6 @@ HRESULT CCutSceneInfo::Ready_Events() [this]() { m_pInfoInstance->Load_ReparoObjects("Reparo_Data"); m_pGameInstance->Get_Layer(g_iStaticLevel, LAYER_UI)->Get_Object()->Set_Active(true); - m_pGameInstance->Sound_StopChannel(SD_CHANNEL_GROUP::BGM); - m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_Land_DAY, SD_CHANNEL_GROUP::BGM, true, 0.8f); }); m_CutScene_EndEvents.emplace("RanrokIntro", @@ -246,7 +244,7 @@ HRESULT CCutSceneInfo::Ready_Events() m_CutScene_EndEvents.emplace("CarriageIntro", [this]() { m_pGameInstance->Sound_StopChannel(SD_CHANNEL_GROUP::BGM); - m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_Land_DAY, SD_CHANNEL_GROUP::BGM, true, 0.5f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_Land_DAY, SD_CHANNEL_GROUP::BGM, true, 0.9f); m_pGameInstance->Get_Layer(g_iStaticLevel, LAYER_UI)->Get_Object()->Set_Active(true); }); #pragma endregion diff --git a/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp b/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp index a6a49191e..fdf3c5113 100644 --- a/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp +++ b/Jusin154_Team3D/Client/Private/Dialogue_Font.cpp @@ -64,6 +64,7 @@ void CDialogue_Font::Update(_float fTimeDelta) { if (m_bChoiceText == true) { + _bool Map = true; switch (m_iType) { case ENUM_CLASS(NPCTEXTTYPE::ENDTEXT): @@ -89,12 +90,12 @@ void CDialogue_Font::Update(_float fTimeDelta) break; case ENUM_CLASS(NPCTEXTTYPE::BROOM): - m_pInfoInstance->Event_CallBack(TEXT("RACEREADY"), &m_bChoiceText); + m_pInfoInstance->Event_CallBack(TEXT("RACEREADY"), &Map); MapMove(); break; case ENUM_CLASS(NPCTEXTTYPE::BATTLE): - m_pInfoInstance->Event_CallBack(TEXT("BATTLE"), &m_bChoiceText); + m_pInfoInstance->Event_CallBack(TEXT("BATTLE"), &Map); MapMove(); break; diff --git a/Jusin154_Team3D/Client/Private/Dialogue_Panel.cpp b/Jusin154_Team3D/Client/Private/Dialogue_Panel.cpp index 9e7a5626e..3bad59db1 100644 --- a/Jusin154_Team3D/Client/Private/Dialogue_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/Dialogue_Panel.cpp @@ -149,7 +149,7 @@ void CDialogue_Panel::Change_Map() ); _vector vPlayerOriginPos = XMVectorZero(); - if (FAILED(m_pInfoInstance->Load_EffectParts("Bon_Fire_Data", "../Bin/Resources/Data/Effect/MapEffect/Rotate_Rock_Large2"))) + if (FAILED(m_pInfoInstance->Load_EffectParts("Bon_Fire_Data", "../Bin/Resources/Data/Effect/MapEffect/Bon_Fire"))) return; CLayer* pDuelistLayer = m_pGameInstance->Get_Layer(CURRENT_LEVEL, LAYER_DUELIST); diff --git a/Jusin154_Team3D/Client/Private/Duelist_NormalJap.cpp b/Jusin154_Team3D/Client/Private/Duelist_NormalJap.cpp index d744d777c..cb6066975 100644 --- a/Jusin154_Team3D/Client/Private/Duelist_NormalJap.cpp +++ b/Jusin154_Team3D/Client/Private/Duelist_NormalJap.cpp @@ -240,7 +240,21 @@ HRESULT CDuelist_NormalJap::Pre_Setting(CGameObject* pObject, void* pArg) m_fAccZigZagTime = 0.f; - m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_13, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + switch (iIndex) + { + case 0: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_34, SD_CHANNEL_GROUP::EFFECT, false, 0.4f); + break; + case 1: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_35, SD_CHANNEL_GROUP::EFFECT, false, 0.4f); + break; + case 2: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_36, SD_CHANNEL_GROUP::EFFECT, false, 0.4f); + break; + case 3: + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_37, SD_CHANNEL_GROUP::EFFECT, false, 0.4f); + break; + } return S_OK; } diff --git a/Jusin154_Team3D/Client/Private/Enemy_SkillUI.cpp b/Jusin154_Team3D/Client/Private/Enemy_SkillUI.cpp index ff286387f..1327f2a8c 100644 --- a/Jusin154_Team3D/Client/Private/Enemy_SkillUI.cpp +++ b/Jusin154_Team3D/Client/Private/Enemy_SkillUI.cpp @@ -170,7 +170,7 @@ HRESULT CEnemy_SkillUI::Ready_Components(void* pArg) { return E_FAIL; } - if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Texture_UI_T_Map_RaceGate"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("Prototype_Texture_ranrok_ball"), reinterpret_cast(&m_pDiffuse_TextureCom), nullptr))) { return E_FAIL; } diff --git a/Jusin154_Team3D/Client/Private/Goblin.cpp b/Jusin154_Team3D/Client/Private/Goblin.cpp index 18bbdd088..f51c1cae0 100644 --- a/Jusin154_Team3D/Client/Private/Goblin.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin.cpp @@ -76,7 +76,7 @@ HRESULT CGoblin::Initialize(void* pArg) m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object(); SAFE_ADDREF(m_pEffectPool); - m_pInfoInstance->Add_Event(TEXT("Goblin_Fear"), + /*m_pInfoInstance->Add_Event(TEXT("Goblin_Fear"), [this](void* p) { CGameObject* pSender = static_cast(p); @@ -88,7 +88,7 @@ HRESULT CGoblin::Initialize(void* pArg) return; m_pFSM->Change_State(FSMSTATE::FEAR); - }); + });*/ m_pModelCom->Set_DisableRootMotionScale(true); diff --git a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp index d4727e9a9..e9ea9c0b9 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Assassin.cpp @@ -68,19 +68,19 @@ HRESULT CGoblin_Assassin::Initialize(void* pArg) m_pEffectPool = m_pGameInstance->Get_Layer(NEXT_LEVEL, TEXT("Layer_EffectPool"))->Get_Object(); SAFE_ADDREF(m_pEffectPool); - m_pInfoInstance->Add_Event(TEXT("Goblin_Fear"), - [this](void* p) - { - CGameObject* pSender = static_cast(p); + //m_pInfoInstance->Add_Event(TEXT("Goblin_Fear"), + // [this](void* p) + // { + // CGameObject* pSender = static_cast(p); - if (pSender == this) - return; + // if (pSender == this) + // return; - if (isDead()) - return; + // if (isDead()) + // return; - m_pFSM->Change_State(FSMSTATE::FEAR); - }); + // m_pFSM->Change_State(FSMSTATE::FEAR); + // }); m_pModelCom->Set_DisableRootMotionScale(true); diff --git a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp index 1164bb08e..bb54c23e6 100644 --- a/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp +++ b/Jusin154_Team3D/Client/Private/Goblin_Mage.cpp @@ -73,19 +73,19 @@ HRESULT CGoblin_Mage::Initialize(void* pArg) m_pCharacter_Controller->Set_Position(vPos); m_pTransformCom->Rotation(XMConvertToRadians(pDesc->vRotQ.x), XMConvertToRadians(pDesc->vRotQ.y), XMConvertToRadians(pDesc->vRotQ.z)); - m_pInfoInstance->Add_Event(TEXT("Goblin_Fear"), - [this](void* p) - { - CGameObject* pSender = static_cast(p); + //m_pInfoInstance->Add_Event(TEXT("Goblin_Fear"), + // [this](void* p) + // { + // CGameObject* pSender = static_cast(p); - if (pSender == this) - return; + // if (pSender == this) + // return; - if (isDead()) - return; + // if (isDead()) + // return; - m_pFSM->Change_State(FSMSTATE::FEAR); - }); + // m_pFSM->Change_State(FSMSTATE::FEAR); + // }); #ifdef _DEBUG #if 진우 diff --git a/Jusin154_Team3D/Client/Private/InfoInstance.cpp b/Jusin154_Team3D/Client/Private/InfoInstance.cpp index 1d1bb7734..adc7c09d2 100644 --- a/Jusin154_Team3D/Client/Private/InfoInstance.cpp +++ b/Jusin154_Team3D/Client/Private/InfoInstance.cpp @@ -210,6 +210,7 @@ HRESULT CInfoInstance::Deregist_ActiveEffect(CEffect_Container* pEffect) } return m_pEffectInfo->Deregist_ActiveEffect(pEffect); } + #pragma endregion diff --git a/Jusin154_Team3D/Client/Private/Interaction_Key.cpp b/Jusin154_Team3D/Client/Private/Interaction_Key.cpp index d4280dc27..c59775d33 100644 --- a/Jusin154_Team3D/Client/Private/Interaction_Key.cpp +++ b/Jusin154_Team3D/Client/Private/Interaction_Key.cpp @@ -44,7 +44,8 @@ void CInteraction_Key::Priority_Update(_float fTimeDelta) void CInteraction_Key::Update(_float fTimeDelta) { - ReLockOnTarget(); + if (m_pInfoInstance->IsActiveCutScene() == false) + ReLockOnTarget(); } void CInteraction_Key::Late_Update(_float fTimeDelta) diff --git a/Jusin154_Team3D/Client/Private/Levioso.cpp b/Jusin154_Team3D/Client/Private/Levioso.cpp index 8acc89efd..b64414e48 100644 --- a/Jusin154_Team3D/Client/Private/Levioso.cpp +++ b/Jusin154_Team3D/Client/Private/Levioso.cpp @@ -118,7 +118,7 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg) if (pPlayer == nullptr) return E_FAIL; - m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_LEVIOSA_27, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_LEVIOSA_27, SD_CHANNEL_GROUP::EFFECT, false, 0.6f); _vector WandPos = pPlayer->Get_WandPos().r[3]; diff --git a/Jusin154_Team3D/Client/Private/MageSide.cpp b/Jusin154_Team3D/Client/Private/MageSide.cpp index dd60adfd1..b78caf9e4 100644 --- a/Jusin154_Team3D/Client/Private/MageSide.cpp +++ b/Jusin154_Team3D/Client/Private/MageSide.cpp @@ -78,7 +78,8 @@ void CMageSide::Update(_float fTimeDelta) Update_Event(fTimeDelta); - + if (m_pOwner->isDead()) + return; _matrix BoneMat = XMLoadFloat4x4(m_pOwner->Get_Component()->Get_BoneMatrixPtr("RightHand")); for (int i = 0; i < 3; ++i) { diff --git a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp index 4e145f547..27937aefa 100644 --- a/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp +++ b/Jusin154_Team3D/Client/Private/NPC_EleazarFig.cpp @@ -241,12 +241,12 @@ void CNPC_EleazarFig::OnRayCollision(CGameObject* pCaster, _uint iCastedOrder, _ } void CNPC_EleazarFig::Set_Pos(_vector vPos) { - _float fRandX = m_pGameInstance->Real_Random_Float(-3.f, 3.f); + /*_float fRandX = m_pGameInstance->Real_Random_Float(-3.f, 3.f); _float fRandY= m_pGameInstance->Real_Random_Float(-3.f, 3.f); _vector Offset = XMVectorSet(fRandX, 0.f, fRandY, 0.f); vPos += Offset; - m_pCharacter_Controller->Set_Position(vPos); + m_pCharacter_Controller->Set_Position(vPos);*/ } _wstring CNPC_EleazarFig::Get_Name() diff --git a/Jusin154_Team3D/Client/Private/NomalJap.cpp b/Jusin154_Team3D/Client/Private/NomalJap.cpp index d4b9f1227..ff6ae3ce4 100644 --- a/Jusin154_Team3D/Client/Private/NomalJap.cpp +++ b/Jusin154_Team3D/Client/Private/NomalJap.cpp @@ -176,16 +176,16 @@ HRESULT CNomalJap::Pre_Setting(CGameObject* pObject, void* pArg) switch (iIndex) { case 0 : - m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_34, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_34, SD_CHANNEL_GROUP::EFFECT, false, 0.4f); break; case 1 : - m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_35, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_35, SD_CHANNEL_GROUP::EFFECT, false, 0.4f); break; case 2 : - m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_36, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_36, SD_CHANNEL_GROUP::EFFECT, false, 0.4f); break; case 3 : - m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_37, SD_CHANNEL_GROUP::EFFECT, false, 0.7f); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::SP_JAP_37, SD_CHANNEL_GROUP::EFFECT, false, 0.4f); break; } diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp index 62c7209ae..c41f70d35 100644 --- a/Jusin154_Team3D/Client/Private/Player_States.cpp +++ b/Jusin154_Team3D/Client/Private/Player_States.cpp @@ -1666,7 +1666,7 @@ void CPlayer::Behavior_AncientSpellEnter() if (m_pGameInstance->Get_CurrentLevelID() == ENUM_CLASS(LEVEL::GAMEPLAY)) { Get_PartObject()->Set_CameraAnim(6); - m_pInfoInstance->Event_CallBack(TEXT("Goblin_Fear")); + /*m_pInfoInstance->Event_CallBack(TEXT("Goblin_Fear"));*/ } Add_Event(pairAnimInfo.first, @@ -3194,7 +3194,7 @@ void CPlayer::Add_SpellEvent(_uint AnimIndex,_float fRatio) if (m_pGameInstance->Get_CurrentLevelID() == ENUM_CLASS(LEVEL::GAMEPLAY)) { Get_PartObject()->Set_CameraAnim(6); - m_pInfoInstance->Event_CallBack(TEXT("Goblin_Fear")); + /*m_pInfoInstance->Event_CallBack(TEXT("Goblin_Fear"));*/ } break; diff --git a/Jusin154_Team3D/Client/Private/Quest_Panel.cpp b/Jusin154_Team3D/Client/Private/Quest_Panel.cpp index c4040ae7a..f3396648c 100644 --- a/Jusin154_Team3D/Client/Private/Quest_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/Quest_Panel.cpp @@ -54,7 +54,7 @@ HRESULT CQuest_Panel::Initialize(void* pArg) Visible(true); ElementAllVisible(true); Set_Status(); - m_pInfoInstance->Set_AcceptQuest(0); + /*m_pInfoInstance->Set_AcceptQuest(0);*/ //m_pInfoInstance->Set_AcceptQuest(1); //m_pInfoInstance->Set_AcceptQuest(6); Add_Function(TEXT("Click"), [this](void* p) {this->Slot_Hover(*reinterpret_cast<_int*>(p)); }); diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp index eb60a31e8..9bcdaacb5 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp @@ -473,6 +473,7 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc) if (true == m_bDead) { return; } + if (m_bDisolve) return; @@ -1015,7 +1016,7 @@ HRESULT CRanrok::Render_Blur() for (_uint i = ENUM_CLASS(RANROK_MESH_ORDER::ETHEREAL_HOT_SPINE); i < ENUM_CLASS(RANROK_MESH_ORDER::WINGS); ++i) { - if (m_pEtherInfo[i]->isBlur() == false) + if (m_pEtherInfo[i]->isBlur() == false || m_pEtherInfo[i]->Get_Visible() == false) continue; if (FAILED(m_pEther_Shader->Bind_Matrices("g_OffsetMatrix", @@ -1064,7 +1065,9 @@ HRESULT CRanrok::Render_Bloom() { for (_uint i = ENUM_CLASS(RANROK_MESH_ORDER::ETHEREAL_HOT_SPINE); i < ENUM_CLASS(RANROK_MESH_ORDER::WINGS); ++i) { - if (m_pEtherInfo[i]->isBloom() == false) + + + if (m_pEtherInfo[i]->isBloom() == false || m_pEtherInfo[i]->Get_Visible() == false) continue; if (FAILED(m_pEther_Shader->Bind_Matrices("g_OffsetMatrix", @@ -1121,7 +1124,7 @@ void CRanrok::MoveTo(_float fTimeDelta) { if (m_iCurrentPoint >= m_Points[m_iCurrentFlow].size() * 0.3f) { - m_fTuckedSpeed = 55.f; + m_fTuckedSpeed = 50.f; } } diff --git a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp index 4043f7958..0d77b966d 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok_States.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok_States.cpp @@ -971,7 +971,7 @@ void CRanrok::Behavior_TuckedExit() m_pFSM->Disable_State(FSMSTATE::TUCKED); m_bTucked = false; - if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR)) { + if (m_iCurrentFlow == 1) { m_vCreatePropTime.x = m_vCreatePropTime.y; } } @@ -1015,10 +1015,14 @@ void CRanrok::Behavior_LandExit() void CRanrok::Behavior_HitEnter() { pair<_uint, _bool> pairAnimInfo = {}; + _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); m_pFSM->Enable_State(FSMSTATE::HIT); m_bLookAt = false; + if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_BWD2].first) + return; + if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR)) { pairAnimInfo = m_Animation[STATEANIM::HIT_BWD]; // 스몰 @@ -1034,7 +1038,14 @@ void CRanrok::Behavior_HitEnter() HRESULT CRanrok::Behavior_HitExitCheck(_float fTimeDelta) { pair<_uint, _bool> pairAnimInfo = {}; - _uint iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + _int iCurrAnimIndex = m_pModelCom->Get_AnimIndex(); + + if (iCurrAnimIndex == m_Animation[STATEANIM::HIT_BWD2].first) + { + m_pFSM->Change_State(FSMSTATE::TUCKED); + return E_FAIL; + } + if (m_pModelCom->IsFinishedAnim()) { m_pFSM->Change_State(FSMSTATE::COMBAT); diff --git a/Jusin154_Team3D/Client/Private/Skill_Data.cpp b/Jusin154_Team3D/Client/Private/Skill_Data.cpp index 8b661c9c8..d0333aea7 100644 --- a/Jusin154_Team3D/Client/Private/Skill_Data.cpp +++ b/Jusin154_Team3D/Client/Private/Skill_Data.cpp @@ -20,7 +20,7 @@ HRESULT CSkill_Data::Initialize(ID3D11Device* pDevice, ID3D11DeviceContext* pCon Spell_UnLock(3); Spell_UnLock(4); Spell_UnLock(6); - //Spell_UnLock(11); + Spell_UnLock(11); Spell_UnLock(14); Spell_UnLock(15); Spell_UnLock(20); @@ -68,7 +68,8 @@ void CSkill_Data::Spell_UnLock(_int SpellID) return; SpellInfo[SpellID].bSpell_Lock = true; - m_pInfoInstance->Event_CallBack(TEXT("Spell_UnLock"), &SpellInfo[SpellID].bSpell_Lock); + _int Index = SpellInfo[SpellID].iSpell_ID; + m_pInfoInstance->Event_CallBack(TEXT("Spell_UnLock"), &Index); } void CSkill_Data::Update(_float fTimeDelta) diff --git a/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp b/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp index 1bd670db2..a6f6f4e68 100644 --- a/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp +++ b/Jusin154_Team3D/Client/Private/SpellLearn_Panel.cpp @@ -51,6 +51,8 @@ HRESULT CSpellLearn_Panel::Initialize(void* pArg) m_fCanvasAlpha = 1.f; m_fSortZ = 0.05f; m_fDelayTime = 1.f; + Index = 0; + Set_Learn(Index); static_cast(m_pSpellLearn)->Set_Pointer( static_cast(m_pSpellLearn_MovePointer), static_cast(m_pSpellLearn_ChaserPointer)); @@ -72,21 +74,21 @@ HRESULT CSpellLearn_Panel::Initialize(void* pArg) return S_OK; } -void CSpellLearn_Panel::Set_Learn(_int Index) +void CSpellLearn_Panel::Set_Learn(_int iIndex) { m_fTime = 0.f; - static_cast(m_pSpellLearn_MovePointer)->Set_ID(m_pInfoInstance->Get_SpellLearn(Index).iSpellID); - static_cast(m_pSpellLearn)->Change_Image(Index); - static_cast(m_pSpellLearn_MovePointer)->Set_SpellLearn(Index); - static_cast(m_pSpellLearn_ChaserPointer)->Set_SpellLearn(Index); - static_cast(m_pSpellLearn_Name)->Set_Name(Index); - static_cast(m_pSpellLearn_Overlay)->Set_SpellLearn(Index); - static_cast(m_pSpellLearn_Slot)->Set_SpellLearn(Index); + static_cast(m_pSpellLearn_MovePointer)->Set_ID(m_pInfoInstance->Get_SpellLearn(iIndex).iSpellID); + static_cast(m_pSpellLearn)->Change_Image(iIndex); + static_cast(m_pSpellLearn_MovePointer)->Set_SpellLearn(iIndex); + static_cast(m_pSpellLearn_ChaserPointer)->Set_SpellLearn(iIndex); + static_cast(m_pSpellLearn_Name)->Set_Name(iIndex); + static_cast(m_pSpellLearn_Overlay)->Set_SpellLearn(iIndex); + static_cast(m_pSpellLearn_Slot)->Set_SpellLearn(iIndex); for (size_t i = 0; i < m_pBooster.size(); ++i) { static_cast(m_pBooster[i])->Move( - m_pInfoInstance->Get_SpellLearn(Index).Booster[i].x, - m_pInfoInstance->Get_SpellLearn(Index).Booster[i].y); + m_pInfoInstance->Get_SpellLearn(iIndex).Booster[i].x, + m_pInfoInstance->Get_SpellLearn(iIndex).Booster[i].y); static_cast(m_pBooster[i])->Reset(); } } diff --git a/Jusin154_Team3D/Client/Private/Troll.cpp b/Jusin154_Team3D/Client/Private/Troll.cpp index 7f0f45a41..7788f60b9 100644 --- a/Jusin154_Team3D/Client/Private/Troll.cpp +++ b/Jusin154_Team3D/Client/Private/Troll.cpp @@ -367,9 +367,6 @@ void CTroll::OnCollision(CGameObject* pOther, void* pDesc) return; } - if (m_pModelCom->Get_AnimIndex() == m_Animation[STATEANIM::RUSH_LOOP].first) - return; - XMStoreFloat4(&m_DamageInfo.vTarget_Pos, m_pCharacter_Controller->Get_HeadPosition()); ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc); diff --git a/Jusin154_Team3D/Client/Private/Troll_States.cpp b/Jusin154_Team3D/Client/Private/Troll_States.cpp index a8623ecb6..ae3a441a0 100644 --- a/Jusin154_Team3D/Client/Private/Troll_States.cpp +++ b/Jusin154_Team3D/Client/Private/Troll_States.cpp @@ -1109,6 +1109,8 @@ void CTroll::Add_FSM() pReparoObject->IsRepairable(true); } } + m_pGameInstance->Sound_StopChannel(SD_CHANNEL_GROUP::BGM); + m_pGameInstance->Sound_Play(SOUND::SD_KIND::BGM_Land_DAY, SD_CHANNEL_GROUP::BGM, true, 0.8f); m_bDead = true; } }; diff --git a/Jusin154_Team3D/Client/Public/InfoInstance.h b/Jusin154_Team3D/Client/Public/InfoInstance.h index 4d54e907a..f4a1a37b8 100644 --- a/Jusin154_Team3D/Client/Public/InfoInstance.h +++ b/Jusin154_Team3D/Client/Public/InfoInstance.h @@ -82,6 +82,7 @@ DECLARE_SINGLETON(CInfoInstance) UI_STATE Get_UISTATE(); _float Get_Spell_Damage(_int Index); void Add_Event(_wstring EventName, function Event); + void Clear_Event(); void Event_CallBack(_wstring EventName, void* pArg = nullptr); #pragma endregion @@ -128,6 +129,7 @@ DECLARE_SINGLETON(CInfoInstance) HRESULT Deregist_ActiveEffect(CEffect_Container* pEffect); #pragma endregion + private: CGameInstance* m_pGameInstance = { nullptr }; ID3D11Device* m_pDevice = { nullptr }; diff --git a/Jusin154_Team3D/Client/Public/Monster.h b/Jusin154_Team3D/Client/Public/Monster.h index 409c47dde..16364f7c0 100644 --- a/Jusin154_Team3D/Client/Public/Monster.h +++ b/Jusin154_Team3D/Client/Public/Monster.h @@ -43,6 +43,7 @@ class CMonster abstract : public CUnit void CameraShake(_float ClampValue, _float Min, _float Max, _float Time); virtual _bool IsHitStateDisabled(); virtual _bool IsHitSpellDisabled(); + protected: CInfoInstance* m_pInfoInstance = { nullptr }; CUnit* m_pTarget = { nullptr }; diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml index b07c121ea..235b432bc 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/CutScene/TrollIntroCutScene.xml @@ -1867,5 +1867,5 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml index c1d50eafa..62ad9d3d1 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Dialogue/Dialogue.xml @@ -56,7 +56,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/Duengon_PointLight_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/Duengon_PointLight_Data.xml index c68fa0acb..f3f02ed90 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/Duengon_PointLight_Data.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Light/Duengon_PointLight_Data.xml @@ -16,7 +16,7 @@ - + @@ -26,7 +26,7 @@ - + @@ -36,7 +36,7 @@ - + @@ -56,7 +56,7 @@ - + @@ -66,7 +66,7 @@ - + @@ -76,7 +76,7 @@ - + @@ -86,7 +86,7 @@ - + @@ -96,7 +96,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml index e258e6c6d..50630eff5 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Map/Monster/Goblin_Data.xml @@ -1,10 +1,10 @@ - + - + @@ -16,4 +16,8 @@ + + + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/RanrokPos/RanrokPos.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/RanrokPos/RanrokPos.xml index 78dd72e0f..9bce48a40 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/RanrokPos/RanrokPos.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/RanrokPos/RanrokPos.xml @@ -32,7 +32,7 @@ - + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml index 8217edf7b..a9833238c 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Stat/Stat.xml @@ -1,5 +1,5 @@  - + 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 2bbda06eb..13be01d75 100644 --- a/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/KeyFrame.xml +++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Monster/SubTroll/KeyFrame.xml @@ -1,62 +1,62 @@ - - + + - - - + + + - - + + - - + + - + - + - - + + - + - + - - + + - - - - + + + + - - - - + + + + - + - - + + diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/Hogwarts-Legacy-All-Roads-Lead-to-Hogsmeade-Peter-Murray-WaterTower-WaterTower-Music.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/Hogwarts-Legacy-All-Roads-Lead-to-Hogsmeade-Peter-Murray-WaterTower-WaterTower-Music.wav new file mode 100644 index 000000000..e92128f2c Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/BGM/Hogwarts-Legacy-All-Roads-Lead-to-Hogsmeade-Peter-Murray-WaterTower-WaterTower-Music.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/Swoosh0.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/Swoosh0.wav new file mode 100644 index 000000000..2825b1271 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/Swoosh0.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/Swoosh1.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/Swoosh1.wav new file mode 100644 index 000000000..bf8419c9d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/FX/Swoosh1.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Spell/Revelio0.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Spell/Revelio0.wav new file mode 100644 index 000000000..f56c54df2 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Spell/Revelio0.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Spell/Revelio1.wav b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Spell/Revelio1.wav new file mode 100644 index 000000000..401b3192d Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Sounds/Spell/Revelio1.wav differ diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/ranrok_ball.dds b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/ranrok_ball.dds new file mode 100644 index 000000000..a6abf43f9 Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Textures/Action/ranrok_ball.dds differ diff --git a/Jusin154_Team3D/Engine/Private/SoundSrc.cpp b/Jusin154_Team3D/Engine/Private/SoundSrc.cpp index 1d5c890ec..3554e0dda 100644 --- a/Jusin154_Team3D/Engine/Private/SoundSrc.cpp +++ b/Jusin154_Team3D/Engine/Private/SoundSrc.cpp @@ -1031,6 +1031,8 @@ TEXT("Broom/broom_up_8.wav"), TEXT("FX/fx_sound_16.wav"), TEXT("FX/fireworks-402788.wav"), TEXT("FX/CountDown.wav"), + TEXT("FX/Swoosh0.wav"), + TEXT("FX/Swoosh1.wav"), #pragma endregion #pragma region PROP_BROKEN TEXT("Prop/Wood0.wav"), @@ -1060,6 +1062,11 @@ TEXT("Broom/broom_up_8.wav"), TEXT("Player/Hit/PlayerHit2.wav"), TEXT("Player/Hit/PlayerHit3.wav"), #pragma endregion +#pragma region REVELIO + TEXT("Spell/Revelio0.wav"), + TEXT("Spell/Revelio1.wav"), +#pragma endregion + #pragma region TUCKED_SWAM diff --git a/Jusin154_Team3D/Engine/Public/SoundSrc.h b/Jusin154_Team3D/Engine/Public/SoundSrc.h index 23ef02412..d28f69717 100644 --- a/Jusin154_Team3D/Engine/Public/SoundSrc.h +++ b/Jusin154_Team3D/Engine/Public/SoundSrc.h @@ -1032,6 +1032,8 @@ RANROK_FOOTSTEP_21, FX_SOUND_16, FX_FIREWORKS, FX_COUNTDOWN, + FX_SWOOSH0, + FX_SWOOSH1, #pragma endregion #pragma region PROP BROKEN @@ -1066,6 +1068,11 @@ RANROK_FOOTSTEP_21, PLAYERHIT3, #pragma endregion +#pragma region REVELIO + SP_REVELIO0, + SP_REVELIO1, +#pragma endregion + #pragma region TUCKED_SWAM TUCKED_SWAM0, TUCKED_SWAM1,