diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand.bin
new file mode 100644
index 000000000..934eb4d15
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:165aa84dee025cb15aa97e34d6195b1d96f23b4f7392e627d8f8f30e8a0c9d3e
+size 208
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin
index 59eef9e36..21e2db0b7 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/BottomFire.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:5ca0eefb3c084b1d79971c1da492e7391c0ac5192302bede9f6c48d2a4472acd
+oid sha256:b25d71ce9c8b01d692a97fd1cafde0f3de39e8ec8a9c0564cbb322a7a4af94f8
size 1203
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin
index 0a2527bbc..fda9da937 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokBreath/SplatterBottom0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:30243ca9247d77f7860b8ccdf71f530a3276acf0b81c3b0cb6bafa45e9ed782c
+oid sha256:d89f9e5f845f49272670495184b22728d7a66388037fc3af4dd4ba94fa067138
size 1208
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin
index 51c93c30a..4ce3fea08 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokCharge/CombinedPT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3be5833f7a3a3ef563c1ee1e7f338bdfe9a496eec626304d7afece3b0df11c8f
+oid sha256:5362cdc70ca4b25e0c714768745664fcbb59243b013b69ea60d7e896e581797b
size 1294
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokHit/Splatter_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokHit/Splatter_Hit.bin
index 870586f89..31082de90 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokHit/Splatter_Hit.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokHit/Splatter_Hit.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:5fb4a4c11e7de1fe47a70800ac873fb8256e432a3f4fb2fd3f33676a07e8cf0d
+oid sha256:8e91a78f7f75be8686fa1348187ef8b50fd74d4666cec8921ad3b6dac2fd8df3
size 1201
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin
new file mode 100644
index 000000000..59ca1dda6
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Bottom_Decal.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:95907d7f9ad9ad332ad87df576b43ac08ce4b9de03e9b265dc379c2e2ae6091b
+size 1202
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Rock_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Rock_PT.bin
new file mode 100644
index 000000000..aac5f36b9
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Rock_PT.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:45c90771bc9e45bf10e582a7336a441837ed733bf47e2fa38e50de5b751569d5
+size 1186
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Smoke.bin
new file mode 100644
index 000000000..8aadcfbef
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokLand/Smoke.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9e8c11419d8239501f0ad3c1b79681f19b83c759439662392a4b1e88ca880382
+size 1196
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
index 74254fffc..3dafdea5c 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Ranrok/RanrokPulse/Bottom_Decal.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:7f9ecc36ee91f4d586605269c85dd19cba8ab3ba038776847e344fc23dc4e27e
-size 1220
+oid sha256:3498ce843154813d20f8b9633b88bf5e8f8f2f1b4a6bf05d99322abab81bc8ba
+size 1217
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
index 1e9ca52f2..3185f6d30 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
@@ -1852,7 +1852,7 @@ technique11 DefaultTechnique
{
SetRasterizerState(RS_Nocull);
SetDepthStencilState(DSS_Effect, 0);
- SetBlendState(BS_WB_Acc, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
+ SetBlendState(BS_Blend, float4(0.f, 0.f, 0.f, 0.f), 0xffffffff);
VertexShader = compile vs_5_0 VS_MAIN();
PixelShader = compile ps_5_0 PS_DECAL_WB();
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index f6306c34a..35ce3159d 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -215,6 +215,7 @@ call Update_Shaders.bat
+
@@ -488,6 +489,7 @@ call Update_Shaders.bat
+
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index c6cf5fb68..15b1b25f6 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -751,6 +751,9 @@
{d276d751-77aa-423e-9499-c63875e36266}
+
+ {ea60b62d-1df5-41d7-aa0f-74ec9f454443}
+
@@ -1521,6 +1524,9 @@
02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Big_Hit
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Land
+
@@ -2299,6 +2305,9 @@
02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Nomal_Hit
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Monster_Effect\Ranrok\Land
+
diff --git a/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp b/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp
index e810017f8..dc5bfba96 100644
--- a/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp
+++ b/Jusin154_Team3D/Editor/Private/Dummy_Cube.cpp
@@ -27,6 +27,7 @@ HRESULT CDummy_Cube::Initialize(void* pArg)
if (FAILED(Ready_Components(pArg)))
return E_FAIL;
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, 0.f, 195.f, 1.f));
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Dummy_Plane.cpp b/Jusin154_Team3D/Editor/Private/Dummy_Plane.cpp
index b0edf9b69..15dcfb043 100644
--- a/Jusin154_Team3D/Editor/Private/Dummy_Plane.cpp
+++ b/Jusin154_Team3D/Editor/Private/Dummy_Plane.cpp
@@ -27,7 +27,7 @@ HRESULT CDummy_Plane::Initialize(void* pArg)
if (FAILED(Ready_Components(pArg)))
return E_FAIL;
- m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -5.f, 0.f, 1.f));
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -12.f, 195.f, 1.f));
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
index 9b9f36eea..18a39ac2b 100644
--- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
@@ -28,6 +28,7 @@
#include "Ranrok_Charge.h"
#include "Ranrok_Hit.h"
#include "Ranrok_Impact.h"
+#include "Ranrok_Land.h"
CEffectPool::CEffectPool(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
@@ -385,6 +386,14 @@ HRESULT CEffectPool::Ready_MonsterEffect()
return pEffect; }
))) return E_FAIL;
+ if (FAILED(Create_Effect(SKILL_TYPE::RANROK_LAND, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CRanrok_Land* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
index e41ea8c6f..e3518b164 100644
--- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
@@ -83,6 +83,11 @@ HRESULT CLevel_EffectViewer::Initialize()
return E_FAIL;
}
+ // if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(NEXT_LEVEL, NEXT_LEVEL, TEXT("Layer_Plane")))) //플레이어보다 먼저 생성해야함!
+ //{
+ // return E_FAIL;
+ //}
+
//if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster"))))
// return E_FAIL;
@@ -99,6 +104,7 @@ HRESULT CLevel_EffectViewer::Initialize()
//ZeroMemory(&m_PlaneData, sizeof(m_PlaneData));
//m_PlaneData.eKind = PHYSX_KIND::BODY_STATIC;
//m_PlaneData.iSubKind = ENUM_CLASS(PXOBJECT::TERRAIN);
+
//m_pGameInstance->Add_Editor_Plane(m_PlaneData);
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index c125b1433..fd18d86e2 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -221,6 +221,7 @@
#include "Ranrok_Charge.h"
#include "Ranrok_Hit.h"
#include "Ranrok_Impact.h"
+#include "Ranrok_Land.h"
#pragma endregion
#pragma region PHYSX_HEADER
@@ -1963,6 +1964,11 @@ HRESULT CLoader::Loading_For_Effect()
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_Land::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+
/* For.Prototype_GameObject_Wand */
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CWand::Create(m_pDevice, m_pContext))))
return E_FAIL;
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok.cpp b/Jusin154_Team3D/Editor/Private/Ranrok.cpp
index 46031bf20..2c103f372 100644
--- a/Jusin154_Team3D/Editor/Private/Ranrok.cpp
+++ b/Jusin154_Team3D/Editor/Private/Ranrok.cpp
@@ -71,12 +71,20 @@ HRESULT CRanrok::Initialize(void* pArg)
m_pCharacter_Controller->Set_Position(XMVectorSet(3.f, -75.f, -15.f, 1.f));
m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(3.f, -75.f, -15.f, 1.f));
+#if 진우
+ m_pTransformCom->Set_State(STATE::POSITION, XMVectorSet(0.f, -11.f, 195.f, 1.f));
+ m_pCharacter_Controller->Set_Position(XMVectorSet(0.f, -11.f, 195.f, 1.f));
+
+ m_vCCTPos = _float3(0.f, -10.f, 195.f);
+ m_pCharacter_Controller->SetGravity(false);
+#endif
+
Load_RanrokPos("../Bin/Resources/Data/RanrokPos/RanrokPos.xml");
return S_OK;
}
-void CRanrok::Priority_Update(_float fTimeDelta)
+void CRanrok::Priority_Update(_float fTimeDelta)
{
__super::Priority_Update(fTimeDelta);
}
@@ -311,7 +319,7 @@ void CRanrok::OnCollision(CGameObject* pOther, void* pDesc)
}
m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_HIT, this, &CollisionDesc->vWorldPos);
- m_fHp -= 5.f;
+ //m_fHp -= 5.f;
}
else
{
@@ -887,24 +895,15 @@ void CRanrok::Describe_Entity()
GUI::TreePop();
}
- }
-
-#ifdef gimch
-
- if (m_pGameInstance->Key_Down(DIK_L))
+ }
+ if (GUI::DragFloat3("Change CCT Pos" , (_float*)& m_vCCTPos))
{
- _float3 vPos;
- if (m_pGameInstance->isPicking(&vPos))
- {
- m_pCharacter_Controller->Set_Position(XMVectorSetW(XMLoadFloat3(&vPos), 1.f));
- }
+ _vector vPos = XMLoadFloat3(&m_vCCTPos);
+
+ vPos = XMVectorSetW(vPos , 1.f);
+ m_pCharacter_Controller->Set_Position(vPos);
}
-#endif //
-
- m_pTransformCom->Describe_Entity();
-
-
}
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_Land.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_Land.cpp
new file mode 100644
index 000000000..9e825b91e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Ranrok_Land.cpp
@@ -0,0 +1,199 @@
+#include "pch.h"
+#include "Ranrok_Land.h"
+
+#include "GameInstance.h"
+#include "EditEffect.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CRanrok_Land::CRanrok_Land(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CRanrok_Land::CRanrok_Land(const CRanrok_Land& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+ SAFE_ADDREF(m_pInfoInstance);
+}
+
+HRESULT CRanrok_Land::Initialize_Prototype()
+{
+
+
+ return S_OK;
+
+}
+
+HRESULT CRanrok_Land::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/MonsterPackage/Ranrok/RanrokLand")))
+ return E_FAIL;
+
+ m_wstrEffectName = L"RanrokLand";
+
+
+
+ m_fDuration = 5.f;
+
+
+ return S_OK;
+}
+
+void CRanrok_Land::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CRanrok_Land::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+
+
+
+}
+
+void CRanrok_Land::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CRanrok_Land::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ /* 초기 객체 비지블*/
+
+ CEditEffect* pBottom_Decal = Get_PartObject("Bottom_Decal");
+ CEditEffect* pRock_PT = Get_PartObject("Rock_PT");
+ CEditEffect* pSmoke = Get_PartObject("Smoke");
+
+
+ pBottom_Decal->Set_Visible(true);
+ pSmoke->Set_Visible(true);
+ pRock_PT->Set_Visible(true);
+
+
+ /* 초기 객체 위치 초기화*/
+
+
+ _vector vOwnerPos = m_pOwner->Get_Component()->Get_Position();
+
+
+ CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first;
+
+ if (pPlayer == nullptr)
+ return E_FAIL;
+
+ _vector vPlayer_FootPos = pPlayer->Get_Component()->Get_FootPosition();
+
+ XMStoreFloat4(&m_vTargetPos, vPlayer_FootPos);
+
+
+ _vector vCompute_Pos = XMVectorSetY(vOwnerPos, XMVectorGetY(vPlayer_FootPos));
+
+ pBottom_Decal->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
+ pSmoke->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
+ pRock_PT->Get_Component()->Set_State(STATE::POSITION, vCompute_Pos);
+
+ return S_OK;
+}
+
+HRESULT CRanrok_Land::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CRanrok_Land::Ready_Child()
+{
+ return S_OK;
+}
+
+CRanrok_Land* CRanrok_Land::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CRanrok_Land* pInstance = new CRanrok_Land(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CRanrok_Land");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CRanrok_Land::Clone(void* pArg, CGameObject* pOwner)
+{
+ CRanrok_Land* pInstance = new CRanrok_Land(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CRanrok_Land");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CRanrok_Land::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ if (m_bHit == false)
+ return;
+
+ ON_COLLISION_INFO CollisionDesc = *static_cast(pDesc);
+
+ _vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+
+
+}
+
+void CRanrok_Land::Free()
+{
+ __super::Free();
+
+ SAFE_RELEASE(m_pInfoInstance);
+
+
+}
+#ifdef _DEBUG
+void CRanrok_Land::Describe_Entity()
+{
+
+}
+#endif
+
+HRESULT CRanrok_Land::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp b/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp
index 3136f4636..6268520e2 100644
--- a/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp
+++ b/Jusin154_Team3D/Editor/Private/Ranrok_States.cpp
@@ -748,15 +748,18 @@ void CRanrok::Behavior_LandEnter()
{
pair<_uint, _bool> pairAnimInfo = {};
m_pFSM->Enable_State(FSMSTATE::LAND);
+#ifndef 진우
m_pCharacter_Controller->SetGravity(true);
+#endif
m_ePhase = ENUM_CLASS(RANROK_PHASE::PHASE_GROUND);
pairAnimInfo = m_Animation[STATEANIM::LAND];
m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
- /*Add_Event(pairAnimInfo.first,
- [this]() { CameraShake(30.f, 5.f, 10.f, 1.2f); },
- 0.53f);*/
+ Add_Event(pairAnimInfo.first,
+ [this]() {
+ m_pEffectPool->Use_Skill(SKILL_TYPE::RANROK_LAND, this);
+ }, 0.53f);
}
HRESULT CRanrok::Behavior_LandExitCheck(_float fTimeDelta)
diff --git a/Jusin154_Team3D/Editor/Public/Editor_Define.h b/Jusin154_Team3D/Editor/Public/Editor_Define.h
index 2ac1d2fdf..c46a6ca57 100644
--- a/Jusin154_Team3D/Editor/Public/Editor_Define.h
+++ b/Jusin154_Team3D/Editor/Public/Editor_Define.h
@@ -67,7 +67,7 @@ namespace Editor
JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE,
STUN,
- TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, BLINK, RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_IMPACT , RANROK_HIT,
+ TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, BLINK, RANROK_FIREBALL, RANROK_BREATH, RANROK_POINT, RANROK_PURSE, RANROK_CHARGE, RANROK_IMPACT , RANROK_HIT, RANROK_LAND,
END
};
diff --git a/Jusin154_Team3D/Editor/Public/Ranrok.h b/Jusin154_Team3D/Editor/Public/Ranrok.h
index fee23aa10..f994ed160 100644
--- a/Jusin154_Team3D/Editor/Public/Ranrok.h
+++ b/Jusin154_Team3D/Editor/Public/Ranrok.h
@@ -126,7 +126,7 @@ class CRanrok final : public CMonster
_float m_fRushTime = {};
_float m_fTuckedSpeed = { 75.f};
-
+ _float3 m_vCCTPos = {};
void Behavior_IdleEnter();
HRESULT Behavior_IdleExitCheck();
diff --git a/Jusin154_Team3D/Editor/Public/Ranrok_Land.h b/Jusin154_Team3D/Editor/Public/Ranrok_Land.h
new file mode 100644
index 000000000..9b622207e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Public/Ranrok_Land.h
@@ -0,0 +1,58 @@
+#pragma once
+
+#include "Editor_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Editor)
+
+class CRanrok_Land final : public CEffect_Container
+{
+private:
+ CRanrok_Land(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CRanrok_Land(const CRanrok_Land& rhs);
+ virtual ~CRanrok_Land() = default;
+
+public:
+ virtual void Priority_Update(_float fTimeDelta) override;
+ virtual void Update(_float fTimeDelta) override;
+ virtual void Late_Update(_float fTimeDelta) override;
+
+public:
+ virtual HRESULT Pre_Setting(CGameObject* pObject, void* pArg = nullptr) override;
+
+private:
+ virtual HRESULT Initialize_Prototype() override;
+ virtual HRESULT Initialize(void* pArg) override;
+ virtual HRESULT Ready_Components(void* pArg) override;
+ HRESULT Ready_Child();
+ HRESULT Bind_ShaderResources() override;
+ virtual void OnCollision(CGameObject* pOther = nullptr, void* pDesc = nullptr) override;
+private:
+ _wstring m_wstrEffectName = {};
+
+ class CEditEffect* m_pGooRod_0 = { nullptr };
+ class CEditEffect* m_pSmoke = { nullptr };
+ class CEditEffect* m_pSpread_PT = { nullptr };
+
+ _float3 m_vLook = {};
+ _float m_fLinearSpeed = 0.8f;
+
+ _float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f };
+ _float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f };
+private:
+ class CInfoInstance* m_pInfoInstance = { nullptr };
+public:
+ static CRanrok_Land* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ virtual void Free() override;
+ CGameObject* Clone(void* pArg, CGameObject* pOwner) override;
+#ifdef _DEBUG
+ void Describe_Entity() override;
+#endif // DEBUG
+
+
+};
+
+NS_END