diff --git a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp index 9a7846ecf..3d68626d7 100644 --- a/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp +++ b/Jusin154_Team3D/Client/Private/Level_GamePlay.cpp @@ -758,7 +758,7 @@ HRESULT CLevel_GamePlay::Ready_Layer_Player(const _wstring& strLayerTag) if (true == isLoad_NPC) { - for (_uint i = 0; i < 6; i++) + for (_uint i = 0; i < 7; i++) { { CRandomNpc::NPCDESC NPCDesc{}; diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp index 6a99b6863..8170d3025 100644 --- a/Jusin154_Team3D/Client/Private/Loader.cpp +++ b/Jusin154_Team3D/Client/Private/Loader.cpp @@ -2048,6 +2048,11 @@ HRESULT CLoader::Loading_For_GamePlay() return E_FAIL; } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_PhineasBlack_Model"), + CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/PhineasBlack/PhineasBlack.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { + return E_FAIL; + } + if (FAILED(m_pGameInstance->Add_Asset_Prototype(ENUM_CLASS(LEVEL::STATIC), TEXT("Prototype_Component_M_Student_Model"), CModel::Create(m_pDevice, m_pContext, MODEL::PBR_ANIM, "../Bin/Resources/Models/Human/Npc/M_Student/M_Student.bin", XMMatrixRotationY(XMConvertToRadians(180.f)) * XMMatrixIdentity())))) { return E_FAIL; diff --git a/Jusin154_Team3D/Client/Private/RandomNpc.cpp b/Jusin154_Team3D/Client/Private/RandomNpc.cpp index 72ba827f3..39ba55f75 100644 --- a/Jusin154_Team3D/Client/Private/RandomNpc.cpp +++ b/Jusin154_Team3D/Client/Private/RandomNpc.cpp @@ -220,18 +220,24 @@ HRESULT CRandomNpc::Ready_Components(void* pArg) } break; case 3: + m_strModelPrototypeTag = TEXT("Prototype_Component_PhineasBlack_Model"); + if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("PHINEASBLACK"), (CComponent**)&m_pNpcStat))) { + return E_FAIL; + } + break; + case 4: m_strModelPrototypeTag = TEXT("Prototype_Component_M_Student_Model"); if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("M_STUDENT"), (CComponent**)&m_pNpcStat))) { return E_FAIL; } break; - case 4: + case 5: m_strModelPrototypeTag = TEXT("Prototype_Component_F_Student_Model"); if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("F_STUDENT"), (CComponent**)&m_pNpcStat))) { return E_FAIL; } break; - case 5: + case 6: m_strModelPrototypeTag = TEXT("Prototype_Component_Elf_Model"); if (FAILED(Add_Asset_Component(g_iStaticLevel, TEXT("ELF"), (CComponent**)&m_pNpcStat))) { return E_FAIL; diff --git a/Jusin154_Team3D/Client/Private/Ranrok.cpp b/Jusin154_Team3D/Client/Private/Ranrok.cpp index 9c0a04537..ed4cdbc62 100644 --- a/Jusin154_Team3D/Client/Private/Ranrok.cpp +++ b/Jusin154_Team3D/Client/Private/Ranrok.cpp @@ -279,10 +279,10 @@ HRESULT CRanrok::Render_MotionTrail(ID3D11ShaderResourceView* pSRV) _vector CRanrok::Get_LockOnPos() { _vector Offset = XMVectorZero(); - if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR)) - { - Offset = XMVectorSetY(Offset, 10.f); - } + //if (m_ePhase == ENUM_CLASS(RANROK_PHASE::PHASE_AIR)) + //{ + // Offset = XMVectorSetY(Offset, 10.f); + //} if (nullptr != m_pCharacter_Controller && true == m_pCharacter_Controller->IsActive()) { return m_pCharacter_Controller->Get_Position() + Offset; } diff --git a/Jusin154_Team3D/Engine/Public/Unit.h b/Jusin154_Team3D/Engine/Public/Unit.h index e814ef13a..74e4ac4df 100644 --- a/Jusin154_Team3D/Engine/Public/Unit.h +++ b/Jusin154_Team3D/Engine/Public/Unit.h @@ -62,6 +62,7 @@ class ENGINE_DLL CUnit abstract : public CContainerObject _float m_fRimLightPower = { 3.2f }; _float m_fRimLightStrength = { 3.04f }; _float3 m_vRimLightColor = { 69.f / 255.f, 5.f / 255.f, 10.f / 255.f }; + _float m_fMBIntensity = 1.f; _bool m_bAI = {};