diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj b/Jusin154_Team3D/Client/Default/Client.vcxproj
index 05770abf7..7c7a70b67 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj
@@ -163,6 +163,7 @@ call Update_Resources.bat
+
@@ -465,6 +466,7 @@ call Update_Resources.bat
+
diff --git a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
index 352e5f3f6..3e0a81312 100644
--- a/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
+++ b/Jusin154_Team3D/Client/Default/Client.vcxproj.filters
@@ -920,6 +920,9 @@
04.Mechanic\State\State_Combat\State_Block
+
+ 02.GameObjects\Effect\Effects\Stupefy\StupefySide
+
02.GameObjects\NPC\Hostile\Monster\Ranrok
@@ -1912,6 +1915,9 @@
{c0fdb122-503b-47f0-a544-90d153464c9a}
+
+ {b38bbd65-c266-4117-9a36-a0ec4a8377ca}
+
{b57b393b-0e6f-47ad-9301-46b8f725a452}
@@ -2785,6 +2791,9 @@
04.Mechanic\State\State_Combat\State_Block
+
+ 02.GameObjects\Effect\Effects\Stupefy\StupefySide
+
04.Mechanic\State\State_Combat\State_Parry
diff --git a/Jusin154_Team3D/Client/Private/BombardSide.cpp b/Jusin154_Team3D/Client/Private/BombardSide.cpp
index 9e44140a2..70a4b8841 100644
--- a/Jusin154_Team3D/Client/Private/BombardSide.cpp
+++ b/Jusin154_Team3D/Client/Private/BombardSide.cpp
@@ -50,7 +50,7 @@ HRESULT CBombardSide::Initialize(void* pArg)
SAFE_ADDREF(m_pWandTrail);
SAFE_ADDREF(m_pWandParticle);
- m_fDuration = 2.f;
+ m_fDuration = 3.f;
m_Events.emplace(0.6f, [&]() {
m_isParticleEnd = true;
diff --git a/Jusin154_Team3D/Client/Private/Dialogue_Panel.cpp b/Jusin154_Team3D/Client/Private/Dialogue_Panel.cpp
index ad7fe907b..9c4ad71b2 100644
--- a/Jusin154_Team3D/Client/Private/Dialogue_Panel.cpp
+++ b/Jusin154_Team3D/Client/Private/Dialogue_Panel.cpp
@@ -164,18 +164,24 @@ void CDialogue_Panel::Change_Map()
- CLayer* pNpcLayer = m_pGameInstance->Get_Layer(CURRENT_LEVEL, LAYER_NPC);
+ /*CLayer* pNpcLayer = m_pGameInstance->Get_Layer(CURRENT_LEVEL, LAYER_NPC);
if (nullptr != pNpcLayer) {
for (auto& pNpc : *pNpcLayer->Get_Objects())
{
pNpc->Get_Component()->Set_Position(XMVectorSet(1007.23f, 2.f, 1016.f, 1.f));
}
- }
+ }*/
+
}
void CDialogue_Panel::Priority_Update(_float fTimeDelta)
{
+ if (m_pGameInstance->Key_Down(DIK_J))
+ {
+ Change_Map();
+ }
+
if (!__super::Chack_Visible())
{
return;
diff --git a/Jusin154_Team3D/Client/Private/Duelist_Levioso.cpp b/Jusin154_Team3D/Client/Private/Duelist_Levioso.cpp
index 5b9021d6e..336f165c2 100644
--- a/Jusin154_Team3D/Client/Private/Duelist_Levioso.cpp
+++ b/Jusin154_Team3D/Client/Private/Duelist_Levioso.cpp
@@ -3,7 +3,7 @@
#include "GameInstance.h"
#include "EffectParts.h"
-#include "Human_Duelist.h"
+#include "Player.h"
#include "TrailObject.h"
#include "Wand.h"
#include "InfoInstance.h"
@@ -27,6 +27,7 @@ HRESULT CDuelist_Levioso::Initialize_Prototype()
return E_FAIL;
return S_OK;
+
}
HRESULT CDuelist_Levioso::Initialize(void* pArg)
@@ -40,26 +41,16 @@ HRESULT CDuelist_Levioso::Initialize(void* pArg)
if (FAILED(Create_Effect()))
return E_FAIL;
- m_iSkillType = ENUM_CLASS(SKILL_TYPE::DUELIST_LEVIOSO);
+ m_iSkillType = ENUM_CLASS(SKILL_TYPE::LEVIOSO);
- m_pLeviosoPJ_0 = Get_PartObject("Levioso_PJ0");
- m_pTrail_PT_0 = Get_PartObject("Trail_PT0");
+ m_pLeviosoPJ = Get_PartObject("Levioso_PJ");
- m_pLevioso_Rotate0 = Get_PartObject("Levioso_Rotate0");
- m_pLevioso_Rotate1 = Get_PartObject("Levioso_Rotate1");
-
- SAFE_ADDREF(m_pLevioso_Rotate0);
- SAFE_ADDREF(m_pLevioso_Rotate1);
-
- SAFE_ADDREF(m_pLeviosoPJ_0);
- SAFE_ADDREF(m_pTrail_PT_0);
+ SAFE_ADDREF(m_pLeviosoPJ);
m_wstrEffectName = L"Levioso";
- m_fTurnSpeed = 10.f;
- m_fRange = 1.f;
- m_fDuration = 2.f;
+ m_fDuration = 6.f;
@@ -70,7 +61,7 @@ void CDuelist_Levioso::Priority_Update(_float fTimeDelta)
{
__super::Priority_Update(fTimeDelta);
- XMStoreFloat4(&m_vStartPos, m_pLeviosoPJ_0->Get_WorldPostion());
+ XMStoreFloat4(&m_vStartPos, m_pLeviosoPJ->Get_WorldPostion());
}
@@ -83,19 +74,8 @@ void CDuelist_Levioso::Update(_float fTimeDelta)
Update_Event(fTimeDelta);
- m_pLeviosoPJ_0->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
- m_pTrail_PT_0->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
-
- _matrix WorldMat = m_pTrail_PT_0->Get_Component()->Get_XMWorldMatrix();
-
- if (m_bHit == true && m_pEnemyTransform != nullptr)
- {
- _vector vPos = m_pEnemyTransform->Get_State(STATE::POSITION);
-
- m_pLevioso_Rotate0->Get_Component()->Set_State(STATE::POSITION, vPos);
- m_pLevioso_Rotate1->Get_Component()->Set_State(STATE::POSITION, vPos);
- }
+ m_pLeviosoPJ->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
}
@@ -104,20 +84,15 @@ void CDuelist_Levioso::Late_Update(_float fTimeDelta)
if (m_bVisible == false)
return;
- XMStoreFloat4(&m_vEndPos, m_pLeviosoPJ_0->Get_WorldPostion());
+ XMStoreFloat4(&m_vEndPos, m_pLeviosoPJ->Get_WorldPostion());
_vector vDir = XMLoadFloat4(&m_vEndPos) - XMLoadFloat4(&m_vStartPos);
- if (true == m_pGameInstance->SphereCast(0.25f, XMLoadFloat4(&m_vStartPos), XMVector3Normalize(vDir), XMVectorGetX(XMVector3Length(vDir))
- , PSX::PxHitFlag::ePOSITION | PSX::PxHitFlag::eNORMAL, PSX::PxQueryFlag::eDYNAMIC | PSX::PxQueryFlag::eSTATIC, m_Hitbuffer))
- {
-
- }
-
if (false == m_bHit) {
+
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
_vector vEndPos = XMLoadFloat4(&m_vEndPos);
- ON_COLLISION_INFO CollisionInfo = MonsterSweepTarget(vStartPos, vEndPos, 0.02f);
+ ON_COLLISION_INFO CollisionInfo = MonsterSweepTarget(vStartPos, vEndPos, 0.002f);
OnCollision(this, &CollisionInfo);
}
@@ -131,28 +106,30 @@ HRESULT CDuelist_Levioso::Pre_Setting(CGameObject* pObject, void* pArg)
if (FAILED(__super::Pre_Setting(pObject, nullptr)))
return E_FAIL;
- CHuman_Duelist* pDuelist = static_cast(m_pOwner);
+ CPlayer* pPlayer = static_cast(m_pOwner);
- if (pDuelist == nullptr)
+ if (pPlayer == nullptr)
return E_FAIL;
- _vector WandPos = pDuelist->Get_WandPos().r[3];
+ _vector WandPos = pPlayer->Get_WandPos().r[3];
- CEffectParts* pWandSmoke = Get_PartObject("Levioso_Wand0");
- CEffectParts* pWandLight = Get_PartObject("Levioso_Wand_Light");
+ CEffectParts* pWandSmoke = Get_PartObject("Wand_Smoke");
+ CEffectParts* pWandLight = Get_PartObject("Wand_Light_P");
+ CEffectParts* pSpread_Circle = Get_PartObject("Spread_Circle");
- m_pLeviosoPJ_0->Get_Component()->Set_State(STATE::POSITION, WandPos);
- m_pTrail_PT_0->Get_Component()->Set_State(STATE::POSITION, WandPos);
- pWandSmoke->Get_Component()->Set_State(STATE::POSITION, pDuelist->Get_PartObject()->Get_WorldPostion());
- pWandLight->Get_Component()->Set_State(STATE::POSITION, pDuelist->Get_PartObject()->Get_WorldPostion());
- m_pLeviosoPJ_0->Set_Visible(true);
- m_pTrail_PT_0->Set_Visible(true);
+ m_pLeviosoPJ->Get_Component()->Set_State(STATE::POSITION, WandPos);
+
+ pWandSmoke->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
+ pWandLight->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
+ pSpread_Circle->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
+
+ m_pLeviosoPJ->Set_Visible(true);
pWandSmoke->Set_Visible(true);
pWandLight->Set_Visible(true);
+ pSpread_Circle->Set_Visible(true);
-
- m_vOwnerLook = XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK));
+ XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK)));
_vector vDirection = m_pOwner->Get_Component()->Get_State(STATE::LOOK);
XMStoreFloat3(&m_vCameraLook, vDirection);
@@ -162,16 +139,11 @@ HRESULT CDuelist_Levioso::Pre_Setting(CGameObject* pObject, void* pArg)
{ /* 대상 위치 지정 */
- CUnit* pPlayer = m_pInfoInstance->Get_NearestPlayerAlly(m_pOwner->Get_WorldPostion()).first;
+ m_pInfoInstance->Get_LockOnInfo(m_Info);
- if (pPlayer == nullptr)
- return E_FAIL;
+ if (nullptr != m_Info.pUnit) {
- _vector vPlayerPos = pPlayer->Get_Component()->Get_Position();
-
- if (nullptr != pPlayer) {
-
- XMStoreFloat4(&m_vTargetPos, vPlayerPos);
+ XMStoreFloat4(&m_vTargetPos, m_Info.pUnit->Get_LockOnPos());
XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos)));
}
@@ -182,15 +154,6 @@ HRESULT CDuelist_Levioso::Pre_Setting(CGameObject* pObject, void* pArg)
}
- _vector vDir = XMVector3Normalize(XMLoadFloat3(&m_vCameraLook));
-
- _vector vRight = XMVector3Normalize(XMVector3Cross(XMVectorSet(0.f, 1.f, 0.f, 0.f), vDir));
-
- _vector vUp = XMVector3Normalize(XMVector3Cross(vRight, vDir));
-
- _matrix ProjMat = _matrix(vRight, vUp, vDir, vStartPos);
-
- m_pLeviosoPJ_0->Get_Component()->Set_WorldMatrix(ProjMat);
return S_OK;
}
@@ -246,17 +209,19 @@ void CDuelist_Levioso::OnCollision(CGameObject* pOther, void* pDesc)
_vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
-
- for (auto& pPair : m_PartObjects)
- {
- pPair.second->Set_Visible(true);
- pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos);
- }
-
m_fAccTime = 0.f;
m_fDuration = 3.5f; //적중하면 지속시간 3초
+ _vector vHitPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+ CEffectParts* pLevioso_Spline = Get_PartObject("Levioso_Spline");
+ CEffectParts* pLevioso_Hit0 = Get_PartObject("Levioso_Hit0");
+
+ pLevioso_Hit0->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+ pLevioso_Spline->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+
+ pLevioso_Hit0->Set_Visible(true);
+ pLevioso_Spline->Set_Visible(true);
/* 바람과 파티클은 풋포지션 */
CCharacter_Controller* pHitCCT = CollisionDesc.pObject->Get_Component();
@@ -265,50 +230,38 @@ void CDuelist_Levioso::OnCollision(CGameObject* pOther, void* pDesc)
_vector vFootPos = pHitCCT->Get_FootPosition();
CEffectParts* pLevioso_Tornado = Get_PartObject("Levioso_Tornado");
- CEffectParts* pLevioso_Bottom_Wind = Get_PartObject("Levioso_Bottom_Wind");
+ CEffectParts* pLevioso_Rotate0 = Get_PartObject("Levioso_Rotate0");
+ CEffectParts* pLevioso_Rotate1 = Get_PartObject("Levioso_Rotate1");
CEffectParts* pLevioso_Bottom_PT = Get_PartObject("Levioso_Bottom_PT");
+ CEffectParts* pLevioso_Spline = Get_PartObject("Levioso_Spline");
- m_pEnemyTransform = CollisionDesc.pObject->Get_Component();
pLevioso_Tornado->Get_Component()->Set_State(STATE::POSITION, vFootPos);
- pLevioso_Bottom_Wind->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+ pLevioso_Rotate0->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+ pLevioso_Rotate1->Get_Component()->Set_State(STATE::POSITION, vFootPos);
pLevioso_Bottom_PT->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+ pLevioso_Tornado->Set_Visible(true);
+ pLevioso_Rotate0->Set_Visible(true);
+ pLevioso_Rotate1->Set_Visible(true);
+ pLevioso_Bottom_PT->Set_Visible(true);
+ pLevioso_Spline->Set_Visible(true);
}
- //Get_PartObject("Levioso_Tornado")
- //CEffectParts* pLevioso_Hit = Get_PartObject("Levioso_Hit");
- //CEffectParts* pLevioso_Bottom_Wind = Get_PartObject("Levioso_Bottom_Wind");
-
-
-
- m_pLeviosoPJ_0->Set_Visible(false);
- m_pTrail_PT_0->Set_Visible(false);
- //m_pLeviosoTrail->Set_Visible(false);
}
void CDuelist_Levioso::Free()
{
__super::Free();
- SAFE_RELEASE(m_pLeviosoPJ_0);
- SAFE_RELEASE(m_pTrail_PT_0);
-
- SAFE_RELEASE(m_pLevioso_Rotate0);
- SAFE_RELEASE(m_pLevioso_Rotate1);
+ SAFE_RELEASE(m_pLeviosoPJ);
}
#ifdef _DEBUG
void CDuelist_Levioso::Describe_Entity()
{
- GUI::Begin("LEVIOSO", 0, IMGUI_GLOBAL_BEGIN_FLAG);
-
- GUI::DragFloat("TURN SPEED", &m_fTurnSpeed);
- GUI::DragFloat("RANGE", &m_fRange);
- GUI::End();
-
}
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/EffectObject.cpp b/Jusin154_Team3D/Client/Private/EffectObject.cpp
index 02553833d..416db96f1 100644
--- a/Jusin154_Team3D/Client/Private/EffectObject.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectObject.cpp
@@ -395,6 +395,12 @@ HRESULT CEffectObject::Load(CEffect_Container::EFFECT_SAVE_INFO EffectSaveInfo,
m_pInstance_ModelCom->Load_InstanceModel(EffectSaveInfo.InstanceModelInfo);
+ if (m_EffectInfo.isScreenFX == true)
+ {
+ XMStoreFloat4x4(&m_ScreenViewMatrix, XMMatrixIdentity());
+ XMStoreFloat4x4(&m_OrthographicMatrix, XMMatrixOrthographicLH(g_iWinSizeX, g_iWinSizeY, 0.f, 1.f));
+ }
+
return S_OK;
}
@@ -769,11 +775,31 @@ HRESULT CEffectObject::Bind_ShaderResources()
return E_FAIL;
}
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
- return E_FAIL;
+ if (m_EffectInfo.isScreenFX == false)
+ {
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW_INV)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ_INV)))) {
+ return E_FAIL;
+ }
}
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
- return E_FAIL;
+ else
+ {
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_OrthographicMatrix))) {
+ return E_FAIL;
+ }
}
if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW_INV)))) {
diff --git a/Jusin154_Team3D/Client/Private/EffectPool.cpp b/Jusin154_Team3D/Client/Private/EffectPool.cpp
index 62ae635e2..99c5308b9 100644
--- a/Jusin154_Team3D/Client/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Client/Private/EffectPool.cpp
@@ -18,6 +18,7 @@
#include "LeviosoSide.h"
#include "DecendoSide.h"
#include "AvadakedavraSide.h"
+#include "StupefySide.h"
#include "TransformationSide.h"
#include "NomalJapSide.h"
@@ -511,7 +512,15 @@ HRESULT CEffectPool::Ready_Effect()
return pEffect; }
))) return E_FAIL;
-
+ if (FAILED(Create_Effect(SKILL_TYPE::STUPEFY_SIDE, 3, g_iStaticLevel, g_iStaticLevel, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CStupefySide* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Client/Private/Effect_Container.cpp b/Jusin154_Team3D/Client/Private/Effect_Container.cpp
index 54c84ba80..89f5f376a 100644
--- a/Jusin154_Team3D/Client/Private/Effect_Container.cpp
+++ b/Jusin154_Team3D/Client/Private/Effect_Container.cpp
@@ -730,6 +730,8 @@ ON_COLLISION_INFO CEffect_Container::SweepTarget(_fvector StartPos, _fvector End
PHYSX_USERDATA* pUserData = static_cast(pActor->userData);
tagCollInfo.pObject = pUserData->pOwner;
+ tagCollInfo.eCollisionType = ENUM_CLASS(PXOBJECT(pUserData->iSubKind));
+
switch (pUserData->eKind)
{
case PHYSX_KIND::BODY_DYNAMIC:
diff --git a/Jusin154_Team3D/Client/Private/Levioso.cpp b/Jusin154_Team3D/Client/Private/Levioso.cpp
index 4119b3388..63af4dc63 100644
--- a/Jusin154_Team3D/Client/Private/Levioso.cpp
+++ b/Jusin154_Team3D/Client/Private/Levioso.cpp
@@ -27,6 +27,7 @@ HRESULT CLevioso::Initialize_Prototype()
return E_FAIL;
return S_OK;
+
}
HRESULT CLevioso::Initialize(void* pArg)
@@ -42,24 +43,14 @@ HRESULT CLevioso::Initialize(void* pArg)
m_iSkillType = ENUM_CLASS(SKILL_TYPE::LEVIOSO);
- m_pLeviosoPJ_0 = Get_PartObject("Levioso_PJ0");
- m_pTrail_PT_0 = Get_PartObject("Trail_PT0");
+ m_pLeviosoPJ = Get_PartObject("Levioso_PJ");
- m_pLevioso_Rotate0 = Get_PartObject("Levioso_Rotate0");
- m_pLevioso_Rotate1 = Get_PartObject("Levioso_Rotate1");
-
- SAFE_ADDREF(m_pLevioso_Rotate0);
- SAFE_ADDREF(m_pLevioso_Rotate1);
-
- SAFE_ADDREF(m_pLeviosoPJ_0);
- SAFE_ADDREF(m_pTrail_PT_0);
+ SAFE_ADDREF(m_pLeviosoPJ);
m_wstrEffectName = L"Levioso";
- m_fTurnSpeed = 10.f;
- m_fRange = 1.f;
- m_fDuration = 2.f;
+ m_fDuration = 6.f;
@@ -70,7 +61,7 @@ void CLevioso::Priority_Update(_float fTimeDelta)
{
__super::Priority_Update(fTimeDelta);
- XMStoreFloat4(&m_vStartPos, m_pLeviosoPJ_0->Get_WorldPostion());
+ XMStoreFloat4(&m_vStartPos, m_pLeviosoPJ->Get_WorldPostion());
}
@@ -83,19 +74,8 @@ void CLevioso::Update(_float fTimeDelta)
Update_Event(fTimeDelta);
- m_pLeviosoPJ_0->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
- m_pTrail_PT_0->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
-
- _matrix WorldMat = m_pTrail_PT_0->Get_Component()->Get_XMWorldMatrix();
-
- if (m_bHit == true && m_pEnemyTransform != nullptr)
- {
- _vector vPos = m_pEnemyTransform->Get_State(STATE::POSITION);
-
- m_pLevioso_Rotate0->Get_Component()->Set_State(STATE::POSITION, vPos);
- m_pLevioso_Rotate1->Get_Component()->Set_State(STATE::POSITION, vPos);
- }
+ m_pLeviosoPJ->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
}
@@ -104,17 +84,17 @@ void CLevioso::Late_Update(_float fTimeDelta)
if (m_bVisible == false)
return;
- XMStoreFloat4(&m_vEndPos, m_pLeviosoPJ_0->Get_WorldPostion());
+ XMStoreFloat4(&m_vEndPos, m_pLeviosoPJ->Get_WorldPostion());
_vector vDir = XMLoadFloat4(&m_vEndPos) - XMLoadFloat4(&m_vStartPos);
-
if (false == m_bHit) {
+
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
_vector vEndPos = XMLoadFloat4(&m_vEndPos);
ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.002f);
- OnCollision(this , &CollisionInfo);
+ OnCollision(this, &CollisionInfo);
}
__super::Late_Update(fTimeDelta);
@@ -133,21 +113,23 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg)
_vector WandPos = pPlayer->Get_WandPos().r[3];
- CEffectParts* pWandSmoke = Get_PartObject("Levioso_Wand0");
- CEffectParts* pWandLight = Get_PartObject("Levioso_Wand_Light");
+ CEffectParts* pWandSmoke = Get_PartObject("Wand_Smoke");
+ CEffectParts* pWandLight = Get_PartObject("Wand_Light_P");
+ CEffectParts* pSpread_Circle = Get_PartObject("Spread_Circle");
+
+
+ m_pLeviosoPJ->Get_Component()->Set_State(STATE::POSITION, WandPos);
- m_pLeviosoPJ_0->Get_Component()->Set_State(STATE::POSITION, WandPos);
- m_pTrail_PT_0->Get_Component()->Set_State(STATE::POSITION, WandPos);
pWandSmoke->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
pWandLight->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
+ pSpread_Circle->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
- m_pLeviosoPJ_0->Set_Visible(true);
- m_pTrail_PT_0->Set_Visible(true);
+ m_pLeviosoPJ->Set_Visible(true);
pWandSmoke->Set_Visible(true);
pWandLight->Set_Visible(true);
+ pSpread_Circle->Set_Visible(true);
-
- m_vOwnerLook = XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK));
+ XMStoreFloat3(&m_vCameraLook , XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK)));
_vector vDirection = m_pOwner->Get_Component()->Get_State(STATE::LOOK);
XMStoreFloat3(&m_vCameraLook, vDirection);
@@ -159,9 +141,9 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg)
m_pInfoInstance->Get_LockOnInfo(m_Info);
- if (nullptr != m_Info.pUnit || nullptr != m_Info.pEffect) {
+ if (nullptr != m_Info.pUnit) {
- XMStoreFloat4(&m_vTargetPos, Get_LockOnPos(m_Info));
+ XMStoreFloat4(&m_vTargetPos, m_Info.pUnit->Get_LockOnPos());
XMStoreFloat3(&m_vCameraLook, XMVector3Normalize(XMLoadFloat4(&m_vTargetPos) - XMLoadFloat4(&m_vStartPos)));
}
@@ -172,15 +154,6 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg)
}
- _vector vDir = XMVector3Normalize(XMLoadFloat3(&m_vCameraLook));
-
- _vector vRight = XMVector3Normalize(XMVector3Cross(XMVectorSet(0.f, 1.f, 0.f, 0.f), vDir));
-
- _vector vUp = XMVector3Normalize(XMVector3Cross(vRight, vDir));
-
- _matrix ProjMat = _matrix(vRight, vUp, vDir, vStartPos);
-
- m_pLeviosoPJ_0->Get_Component()->Set_WorldMatrix(ProjMat);
return S_OK;
}
@@ -236,69 +209,86 @@ void CLevioso::OnCollision(CGameObject* pOther, void* pDesc)
_vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
-
- for (auto& pPair : m_PartObjects)
- {
- pPair.second->Set_Visible(true);
- pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos);
- }
-
m_fAccTime = 0.f;
m_fDuration = 3.5f; //적중하면 지속시간 3초
+ _vector vHitPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
- /* 바람과 파티클은 풋포지션 */
CCharacter_Controller* pHitCCT = CollisionDesc.pObject->Get_Component();
+
+
if (pHitCCT != nullptr)
{
- _vector vFootPos = pHitCCT->Get_FootPosition();
+ CEffectParts* pLevioso_Spline = Get_PartObject("Levioso_Spline");
+ CEffectParts* pLevioso_Hit0 = Get_PartObject("Levioso_Hit0");
+
+ pLevioso_Hit0->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+ pLevioso_Spline->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+
+ pLevioso_Hit0->Set_Visible(true);
+ pLevioso_Spline->Set_Visible(true);
+
+ /* 바람과 파티클은 풋포지션 */
+
+
+ _vector vFootPos = pHitCCT->Get_FootPosition();
CEffectParts* pLevioso_Tornado = Get_PartObject("Levioso_Tornado");
- CEffectParts* pLevioso_Bottom_Wind = Get_PartObject("Levioso_Bottom_Wind");
+ CEffectParts* pLevioso_Rotate0 = Get_PartObject("Levioso_Rotate0");
+ CEffectParts* pLevioso_Rotate1 = Get_PartObject("Levioso_Rotate1");
CEffectParts* pLevioso_Bottom_PT = Get_PartObject("Levioso_Bottom_PT");
- m_pEnemyTransform = CollisionDesc.pObject->Get_Component();
-
pLevioso_Tornado->Get_Component()->Set_State(STATE::POSITION, vFootPos);
- pLevioso_Bottom_Wind->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+ pLevioso_Rotate0->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+ pLevioso_Rotate1->Get_Component()->Set_State(STATE::POSITION, vFootPos);
pLevioso_Bottom_PT->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+
+ _float3 vScale = _float3(1.f, 1.f, 1.f);
+ pLevioso_Tornado->Get_Component()->Set_Scale(vScale);
+ pLevioso_Rotate0->Get_Component()->Set_Scale(vScale);
+ pLevioso_Rotate1->Get_Component()->Set_Scale(vScale);
+ pLevioso_Bottom_PT->Get_Component()->Set_Scale(vScale);
+
+ switch (static_cast(CollisionDesc.eCollisionType))
+ {
+ case PXOBJECT::GOBLIN_MAGICIAN:
+ case PXOBJECT::GOBLIN_ASSASSIN:
+ case PXOBJECT::GOBLIN_WARRIOR:
+ {
+ _float3 vScale = _float3(0.7f, 0.7f, 0.7f);
+ pLevioso_Tornado->Get_Component()->Set_Scale(vScale);
+ pLevioso_Rotate0->Get_Component()->Set_Scale(vScale);
+ pLevioso_Rotate1->Get_Component()->Set_Scale(vScale);
+ pLevioso_Bottom_PT->Get_Component()->Set_Scale(vScale);
+ break;
+ }
+
+ default:
+ break;
+ }
+
+ pLevioso_Tornado->Set_Visible(true);
+ pLevioso_Rotate0->Set_Visible(true);
+ pLevioso_Rotate1->Set_Visible(true);
+ pLevioso_Bottom_PT->Set_Visible(true);
}
+ m_pLeviosoPJ->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
-
- //Get_PartObject("Levioso_Tornado")
- //CEffectParts* pLevioso_Hit = Get_PartObject("Levioso_Hit");
- //CEffectParts* pLevioso_Bottom_Wind = Get_PartObject("Levioso_Bottom_Wind");
-
-
-
- m_pLeviosoPJ_0->Set_Visible(false);
- m_pTrail_PT_0->Set_Visible(false);
- //m_pLeviosoTrail->Set_Visible(false);
}
void CLevioso::Free()
{
__super::Free();
- SAFE_RELEASE(m_pLeviosoPJ_0);
- SAFE_RELEASE(m_pTrail_PT_0);
-
- SAFE_RELEASE(m_pLevioso_Rotate0);
- SAFE_RELEASE(m_pLevioso_Rotate1);
+ SAFE_RELEASE(m_pLeviosoPJ);
}
#ifdef _DEBUG
void CLevioso::Describe_Entity()
{
- GUI::Begin("LEVIOSO", 0, IMGUI_GLOBAL_BEGIN_FLAG);
-
- GUI::DragFloat("TURN SPEED", &m_fTurnSpeed);
- GUI::DragFloat("RANGE", &m_fRange);
- GUI::End();
-
}
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/LeviosoSide.cpp b/Jusin154_Team3D/Client/Private/LeviosoSide.cpp
index 77f3a1dc6..9c0bbddcf 100644
--- a/Jusin154_Team3D/Client/Private/LeviosoSide.cpp
+++ b/Jusin154_Team3D/Client/Private/LeviosoSide.cpp
@@ -47,7 +47,12 @@ HRESULT CLeviosoSide::Initialize(void* pArg)
SAFE_ADDREF(m_pWandLight);
SAFE_ADDREF(m_pWandTrail);
- m_fDuration = 1.f;
+ m_fDuration = 2.f;
+
+ m_Events.emplace(0.8f, [&]() {
+
+ m_pWandTrail->SetDissolve(true);
+ });
return S_OK;
}
@@ -75,7 +80,7 @@ void CLeviosoSide::Update(_float fTimeDelta)
m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
- m_pWandTrail->Get_Component()->Trail_Update(fTimeDelta, pWand->Get_WorldMatrix());
+ m_pWandTrail->Oneside_Rope_Trail_Update(pWand->Get_WorldMatrix() , fTimeDelta);
}
diff --git a/Jusin154_Team3D/Client/Private/Loader.cpp b/Jusin154_Team3D/Client/Private/Loader.cpp
index 8042d5c91..ee31c1eb1 100644
--- a/Jusin154_Team3D/Client/Private/Loader.cpp
+++ b/Jusin154_Team3D/Client/Private/Loader.cpp
@@ -244,6 +244,7 @@
#include "Barral_Splesh.h"
#include "Screen_Wind.h"
#include "Stupefy.h"
+#include "StupefySide.h"
#include "Lightning.h"
#include "LightningSide.h"
#include "Transformation.h"
@@ -373,6 +374,55 @@ HRESULT CLoader::Loading_For_Logo()
m_strMessage = TEXT("모델를(을) 로딩 중 입니다.");
m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다.");
+#if 진우
+#pragma region SHADER
+ vector*>> jobMapShaders;
+
+ {
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_UIEDITOR,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_UIEditor.hlsl"), VTXPOSTEX::Elements, VTXPOSTEX::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_UIINSTANCE,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_UI_Instance.hlsl"), VTX_POSTEX_INSTANCE_UI::Elements, VTX_POSTEX_INSTANCE_UI::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_INSTANCE_MODEL,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl"), VTX_MODEL_INSTANCE_PARTICLE::Elements, VTX_MODEL_INSTANCE_PARTICLE::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_INSTANCE_PROP_MODEL,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_VtxWorldModelInstance.hlsl"), VTX_MODEL_INSTANCE_MODEL::Elements, VTX_MODEL_INSTANCE_MODEL::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_NPC_PBR_ANIM,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_NPC_PBR_Anim.hlsl"), VTXANIMMESH::Elements, VTXANIMMESH::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_ANIMMESH,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_VtxAnimMesh.hlsl"), VTXANIMMESH::Elements, VTXANIMMESH::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_POSTEX,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPosTex.hlsl"), VTXPOSTEX::Elements, VTXPOSTEX::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_NORTEX,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_VtxNorTex.hlsl"), VTXNORTEX::Elements, VTXNORTEX::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_MESH,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_VtxMesh.hlsl"), VTXMESH::Elements, VTXMESH::iNumElements));
+ jobMapShaders.emplace_back(Deferred_ShaderLoad(m_pDevice, m_pContext,
+ FX_VTXPOS,
+ TEXT("../Bin/Resources/ShaderFiles/Shader_VtxPos.hlsl"), VTXPOS::Elements, VTXPOS::iNumElements));
+ }
+
+ for (auto& JobMapShader : jobMapShaders)
+ {
+ pair<_wstring, CShader*>* pOut = JobMapShader.get();
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pOut->first, pOut->second))) {
+ return E_FAIL;
+ }
+ Safe_Delete(pOut);
+ }
+
+#endif
+
+#pragma endregion
m_strMessage = TEXT("객체원형를(을) 로딩 중 입니다.");
@@ -396,6 +446,8 @@ HRESULT CLoader::Loading_For_Logo()
return E_FAIL;
}
+
+
m_strMessage = TEXT("로딩이 완료되었습니다..");
m_isFinished = true;
@@ -1083,6 +1135,7 @@ HRESULT CLoader::Loading_For_GamePlay()
}
}
+#ifndef 진우
#pragma region SHADER
{
@@ -1119,6 +1172,7 @@ HRESULT CLoader::Loading_For_GamePlay()
}
#pragma endregion
+#endif
/* LAND_MODEL */
{
/* For.Prototype_Component_South_Hogwart_Land_LOD1 */
@@ -2543,13 +2597,19 @@ HRESULT CLoader::Loading_For_GamePlay()
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CLeviosoSide::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CBombardSide::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CDecendoSide::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CStupefySide::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
if (FAILED(m_pGameInstance->Add_Prototype(g_iStaticLevel, CTransformationSide::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
@@ -3777,22 +3837,10 @@ HRESULT CLoader::Loading_For_GamePlay()
}
-#pragma region RECEIVE_THREAD
- {
- m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다.");
- _uint iIndex = 0;
- for (auto& JobMapShader : jobMapShaders)
- {
- pair<_wstring, CShader*>* pOut = JobMapShader.get();
- if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pOut->first, pOut->second))) {
- return E_FAIL;
- }
- Safe_Delete(pOut);
- }
- }
/* 쉐이더 로딩 종료 이후 로딩*/
+#pragma region RECEIVE_THREAD
{ // MapModels
m_strMessage = TEXT("모델를(을) 로딩 중 입니다.");
@@ -3817,7 +3865,23 @@ HRESULT CLoader::Loading_For_GamePlay()
Safe_Delete(pOut);
}
}
+
+
+ {
+ m_strMessage = TEXT("셰이더를(을) 로딩 중 입니다.");
+ _uint iIndex = 0;
+ for (auto& JobMapShader : jobMapShaders)
+ {
+ pair<_wstring, CShader*>* pOut = JobMapShader.get();
+ if (FAILED(m_pGameInstance->Add_Asset_Prototype(g_iStaticLevel, pOut->first, pOut->second))) {
+ return E_FAIL;
+ }
+ Safe_Delete(pOut);
+ }
+ }
+
#pragma endregion
+
m_strMessage = TEXT("정보를 불러오는 중입니다.");
m_strMessage = TEXT("모델을 다시 불러오는 중입니다. ");
diff --git a/Jusin154_Team3D/Client/Private/Player.cpp b/Jusin154_Team3D/Client/Private/Player.cpp
index d30294c62..f31eb87af 100644
--- a/Jusin154_Team3D/Client/Private/Player.cpp
+++ b/Jusin154_Team3D/Client/Private/Player.cpp
@@ -208,9 +208,6 @@ void CPlayer::Late_Update(_float fTimeDelta)
m_pTransformCom->LookAt_Horizontal_Lerp(m_LockOnInfo.pUnit->Get_WorldPostion(), fTimeDelta, 5.f);
}
- if (m_pGameInstance->Key_Up(DIK_J)) {
- m_bDuel_ZOnlyMove = true;
- }
Player_PixRot();
@@ -1131,6 +1128,7 @@ void CPlayer::Describe_Entity()
GUI::Text("dot RU %.4f | UL %.4f | LR %.4f\n", dotRU, dotUL, dotLR);
+
m_pLightCom->Describe_Entity();
for (_int i = 0; i < m_pModelCom->Get_AnimSize(); i++)
{
diff --git a/Jusin154_Team3D/Client/Private/Player_States.cpp b/Jusin154_Team3D/Client/Private/Player_States.cpp
index 2692722c0..db4a012bb 100644
--- a/Jusin154_Team3D/Client/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Client/Private/Player_States.cpp
@@ -1806,6 +1806,23 @@ HRESULT CPlayer::Behavior_BlockExitCheck(_float fTimeDelta)
return E_FAIL;
}
}
+ else {
+ pairAnimInfo = m_Animation[STATEANIM::PARRY4];
+ m_pModelCom->Set_AnimationIndex(pairAnimInfo.first, pairAnimInfo.second);
+ }
+
+ Add_Event(pairAnimInfo.first,
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY_SIDE, Get_PartObject()); },
+ 0.01f);
+
+
+ Add_Event(pairAnimInfo.first,
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::STUPEFY, this); },
+ fEventRatio);
+
+ //m_pGameInstance->SlowMotion(0.8f, 0.3f);
+ m_bShield = false;
+ return S_OK;
}
if (fRatio >= 0.9f) {
diff --git a/Jusin154_Team3D/Client/Private/Protego_Hit.cpp b/Jusin154_Team3D/Client/Private/Protego_Hit.cpp
index 6edfd4e37..78fb49871 100644
--- a/Jusin154_Team3D/Client/Private/Protego_Hit.cpp
+++ b/Jusin154_Team3D/Client/Private/Protego_Hit.cpp
@@ -94,6 +94,7 @@ HRESULT CProtego_Hit::Pre_Setting(CGameObject* pObject, void* pArg)
CEffectParts* pProtego_HitPT = Get_PartObject("Protego_HitPT");
CEffectParts* pProtego_HitPT_Line = Get_PartObject("Protego_HitPT_Line");
CEffectParts* pProtegoHit = Get_PartObject("ProtegoHit");
+ CEffectParts* pScreenFX_Hit = Get_PartObject("ScreenFX_Hit");
m_pHit_SphereLay->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
m_pHit_Light->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
@@ -109,7 +110,7 @@ HRESULT CProtego_Hit::Pre_Setting(CGameObject* pObject, void* pArg)
pProtego_HitPT->Set_Visible(true);
pProtego_HitPT_Line->Set_Visible(true);
pProtegoHit->Set_Visible(true);
-
+ pScreenFX_Hit->Set_Visible(true);
diff --git a/Jusin154_Team3D/Client/Private/Stupefy.cpp b/Jusin154_Team3D/Client/Private/Stupefy.cpp
index e8e7656b8..400a2ee64 100644
--- a/Jusin154_Team3D/Client/Private/Stupefy.cpp
+++ b/Jusin154_Team3D/Client/Private/Stupefy.cpp
@@ -43,11 +43,12 @@ HRESULT CStupefy::Initialize(void* pArg)
m_wstrEffectName = L"Stupefy";
- m_pProjectile0 = Get_PartObject("Stupefy_PJ0");
- SAFE_ADDREF(m_pProjectile0);
+ m_pProjectile = Get_PartObject("Stupefy_PJ");
+ SAFE_ADDREF(m_pProjectile);
+
+ m_pProjectile2 = Get_PartObject("Stupefy_PJ2");
+ SAFE_ADDREF(m_pProjectile2);
- m_pProjectile1 = Get_PartObject("Stupefy_PJ1");
- SAFE_ADDREF(m_pProjectile1);
m_pStupefy_PJ_PT = Get_PartObject("Stupefy_PJ_PT");
SAFE_ADDREF(m_pStupefy_PJ_PT);
@@ -74,8 +75,8 @@ void CStupefy::Update(_float fTimeDelta)
Update_Event(fTimeDelta);
m_pStupefy_PJ_PT->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
-
-
+ m_pProjectile->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
+ m_pProjectile2->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
}
void CStupefy::Late_Update(_float fTimeDelta)
@@ -112,9 +113,6 @@ HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg)
-
- CEffectParts* pStupefy_PJ0 = Get_PartObject("Stupefy_PJ0");
- CEffectParts* pStupefy_PJ1 = Get_PartObject("Stupefy_PJ1");
CEffectParts* pWand_Distortion = Get_PartObject("Wand_Distortion");
CEffectParts* pStupefy_Light_Long = Get_PartObject("Stupefy_Light_Long");
@@ -122,13 +120,13 @@ HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg)
CEffectParts* pStupefy_Smoke = Get_PartObject("Stupefy_Smoke");
- pStupefy_PJ0->Set_Visible(true);
- pStupefy_PJ1->Set_Visible(true);
pWand_Distortion->Set_Visible(true);
pStupefy_Light_Long->Set_Visible(true);
pBodyFlare->Set_Visible(true);
pStupefy_Smoke->Set_Visible(true);
- m_pStupefy_PJ_PT->Set_Visible(true);
+ //m_pStupefy_PJ_PT->Set_Visible(true);
+ m_pProjectile->Set_Visible(true);
+ m_pProjectile2->Set_Visible(true);
_vector vDirection = m_pOwner->Get_Component()->Get_State(STATE::LOOK);
@@ -136,10 +134,10 @@ HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg)
_vector vWandPos = pWand->Get_WorldPostion();
- pStupefy_PJ0->Get_Component()->Set_State(STATE::POSITION, vWandPos);
- pStupefy_PJ1->Get_Component()->Set_State(STATE::POSITION, vWandPos);
m_pStupefy_PJ_PT->Get_Component()->Set_State(STATE::POSITION, vWandPos);
+ m_pProjectile->Get_Component()->Set_State(STATE::POSITION, vWandPos);
+ m_pProjectile2->Get_Component()->Set_State(STATE::POSITION, vWandPos);
pStupefy_Light_Long->Get_Component()->Set_State(STATE::POSITION, vWandPos);
pBodyFlare->Get_Component()->Set_State(STATE::POSITION, vWandPos);
@@ -153,7 +151,7 @@ HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg)
_vector vPlayerFootPos = m_pOwner->Get_Component()->Get_FootPosition();
- pStupefy_Smoke->Get_Component()->Set_State(STATE::POSITION, vPlayerFootPos + XMVectorSet(0.f ,1.f ,0.f ,0.f));
+ pStupefy_Smoke->Get_Component()->Set_State(STATE::POSITION, vPlayerFootPos);
@@ -179,22 +177,14 @@ HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg)
}
- /* PJ 월드 구성하기 */
-
- _float fLength = XMVectorGetX(XMVector3Length(XMLoadFloat4(&m_vTargetPos) - vPlayerPos));
-
- CTransform* pPJ0_Transform = pStupefy_PJ0->Get_Component();
- CTransform* pPJ1_Transform = pStupefy_PJ1->Get_Component();
-
- _vector vUp = XMVector3Normalize(vDirection) * fLength;
- _vector vRight = XMVector3Normalize(XMVector3Cross(XMVectorSet(0.f, 0.f, 1.f, 0.f) , vUp));
- _vector vLook = XMVector3Normalize(XMVector3Cross(vUp, vRight));
- _vector vPos = vPlayerPos;
+ _vector vRight = XMVector3Normalize(XMLoadFloat3(&m_vCameraLook));
+ _vector vLook = XMVector3Normalize(XMVector3Cross(XMVectorSet(0.f, 1.f, 0.f, 0.f), vRight));
+ _vector vUp = XMVector3Normalize(XMVector3Cross(vRight, vLook));
+ _vector vPos = pWand->Get_WorldPostion();
_matrix PJ_WorldMat = { vRight , vUp ,vLook , vPos };
- pPJ0_Transform->Set_WorldMatrix(PJ_WorldMat);
- pPJ1_Transform->Set_WorldMatrix(PJ_WorldMat);
+ m_pProjectile2->Get_Component()->Set_WorldMatrix(PJ_WorldMat);
return S_OK;
}
@@ -263,11 +253,8 @@ void CStupefy::OnCollision(CGameObject* pOther, void* pDesc)
- m_pProjectile0->Set_Visible(false);
- m_pProjectile1->Set_Visible(false);
-
- /*맞는순간 위로 올리기*/
- m_pStupefy_PJ_PT->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, 500.f, 0.f, 1.f));
+ m_pProjectile->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
+ m_pStupefy_PJ_PT->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -9999.f, 0.f, 1.f));
}
@@ -276,9 +263,10 @@ void CStupefy::Free()
{
__super::Free();
- SAFE_RELEASE(m_pProjectile0);
- SAFE_RELEASE(m_pProjectile1);
+ SAFE_RELEASE(m_pProjectile);
+ SAFE_RELEASE(m_pProjectile2);
SAFE_RELEASE(m_pStupefy_PJ_PT);
+
}
#ifdef _DEBUG
diff --git a/Jusin154_Team3D/Client/Private/StupefySide.cpp b/Jusin154_Team3D/Client/Private/StupefySide.cpp
new file mode 100644
index 000000000..550b84866
--- /dev/null
+++ b/Jusin154_Team3D/Client/Private/StupefySide.cpp
@@ -0,0 +1,223 @@
+#include "pch.h"
+#include "StupefySide.h"
+
+#include "GameInstance.h"
+#include "EffectParts.h"
+#include "Player.h"
+#include "Wand.h"
+#include "TrailObject.h"
+
+
+CStupefySide::CStupefySide(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CStupefySide::CStupefySide(const CStupefySide& rhs)
+ : CEffect_Container(rhs)
+{
+}
+
+HRESULT CStupefySide::Initialize_Prototype()
+{
+
+ if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/StupefySide")))
+ return E_FAIL;
+
+
+ return S_OK;
+
+}
+
+HRESULT CStupefySide::Initialize(void* pArg)
+{
+ if (FAILED(__super::Initialize(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Ready_Components(pArg)))
+ return E_FAIL;
+
+ if (FAILED(Create_Effect()))
+ return E_FAIL;
+
+ m_wstrEffectName = L"BombardSide";
+
+
+ m_pWandParticle = Get_PartObject("Wand_Particle_B");
+ m_pWandLight = Get_PartObject("Wand_Light_B");
+ m_pWandTrail = Get_PartObject();
+
+ SAFE_ADDREF(m_pWandLight);
+ SAFE_ADDREF(m_pWandTrail);
+ SAFE_ADDREF(m_pWandParticle);
+
+ m_fDuration = 2.f;
+
+ m_Events.emplace(0.8f, [&]() {
+ m_isParticleEnd = true;
+ m_pWandParticle->Get_Component()->Set_State(STATE::POSITION, XMVectorSet(0.f, -500.f, 0.f, 1.f));
+
+ CWand* pWand = static_cast(m_pOwner);
+
+ if (pWand == nullptr)
+ return;
+
+ //m_isTrailEnd = true;
+
+ XMStoreFloat4x4(&m_TrailStopMat, pWand->Get_WorldMatrix());
+ });
+
+ m_Events.emplace(1.3f, [&]() {
+
+ m_pWandTrail->SetDissolve(true);
+ });
+
+
+ return S_OK;
+}
+
+void CStupefySide::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+}
+
+void CStupefySide::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+
+ CWand* pWand = static_cast(m_pOwner);
+
+ if (pWand == nullptr)
+ return;
+
+
+ m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+
+ // 파티클생성이 막히면 실행되지 않음
+ if (m_isParticleEnd == false)
+ m_pWandParticle->Get_Component()->Set_WorldMatrix(pWand->Get_WorldMatrix());
+
+ // 트레일이 종료되면 위치를 고정함
+ _matrix TrailMat = m_isTrailEnd ? XMLoadFloat4x4(&m_TrailStopMat) : pWand->Get_WorldMatrix();
+ m_pWandTrail->Oneside_Rope_Trail_Update(TrailMat, fTimeDelta);
+
+}
+
+void CStupefySide::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+
+}
+
+HRESULT CStupefySide::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+
+ CWand* pWand = static_cast(m_pOwner);
+
+ if (pWand == nullptr)
+ return E_FAIL;
+
+ m_pWandParticle->Set_Visible(true);
+ m_isParticleEnd = false; // 파티클이 일정시간이 되면 나오지 않게 하려고
+
+ m_pWandLight->Set_Visible(true);
+
+ /*트레일 초기화 */
+ m_pWandTrail->Set_Visible(true);
+ m_isTrailEnd = false;
+ m_pWandTrail->Get_Component()->Reset_Trail();
+
+ /*_vector pPos = pPlayer->Get_WandPos().r[3];*/
+
+ m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
+
+ m_pWandTrail->SetDissolve(false);
+
+ return S_OK;
+}
+
+HRESULT CStupefySide::Ready_Components(void* pArg)
+{
+ if (FAILED(__super::Ready_Components(pArg))) {
+ return E_FAIL;
+ }
+
+ return S_OK;
+}
+
+HRESULT CStupefySide::Ready_Child()
+{
+ return S_OK;
+}
+
+CStupefySide* CStupefySide::Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+{
+ CStupefySide* pInstance = new CStupefySide(pDevice, pContext);
+
+ if (FAILED(pInstance->Initialize_Prototype()))
+ {
+ MSG_BOX("Failed to Created : CStupefySide");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+
+CGameObject* CStupefySide::Clone(void* pArg, CGameObject* pOwner)
+{
+ CStupefySide* pInstance = new CStupefySide(*this);
+ pInstance->m_pOwner = pOwner;
+ if (FAILED(pInstance->Initialize(pArg)))
+ {
+ MSG_BOX("Failed to Cloned : CStupefySide");
+ SAFE_RELEASE(pInstance);
+ }
+
+ return pInstance;
+}
+
+void CStupefySide::OnCollision(CGameObject* pOther, void* pDesc)
+{
+ ON_COLLISION_INFO* CollisionDesc = static_cast(pDesc);
+
+}
+
+void CStupefySide::Free()
+{
+ __super::Free();
+
+
+ Safe_Release(m_pWandLight);
+ Safe_Release(m_pWandTrail);
+ Safe_Release(m_pWandParticle);
+}
+#ifdef _DEBUG
+
+void CStupefySide::Describe_Entity()
+{
+
+}
+
+#endif // _DEBUG
+
+HRESULT CStupefySide::Bind_ShaderResources()
+{
+ return S_OK;
+}
+
+
diff --git a/Jusin154_Team3D/Client/Public/Client_Enum.h b/Jusin154_Team3D/Client/Public/Client_Enum.h
index 98be88df6..917b29b23 100644
--- a/Jusin154_Team3D/Client/Public/Client_Enum.h
+++ b/Jusin154_Team3D/Client/Public/Client_Enum.h
@@ -72,7 +72,7 @@ namespace Client
PROTEGO_HIT, DUELIST_PROTEGO_HIT , GOBLIN_PROTEGO_HIT,
/*사이드*/
- JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, WAND_END, LIGHTNING_SIDE, TRANSFORMATION_SIDE, AVADAKEDAVRA_SIDE,
+ JAP_SIDE, BOMBARDA_SIDE, DESCENDO_SIDE, LEVIOSO_SIDE, WAND_END, LIGHTNING_SIDE, TRANSFORMATION_SIDE, AVADAKEDAVRA_SIDE, STUPEFY_SIDE,
/*트롤*/
TROLL_ATTACK, TROLL_RUSH_HIT, TROLL_NOMAL_SMOKE, GOBLIN_PROTEGO,
diff --git a/Jusin154_Team3D/Client/Public/Client_Struct.h b/Jusin154_Team3D/Client/Public/Client_Struct.h
index 5e28ae2b9..6e63673dd 100644
--- a/Jusin154_Team3D/Client/Public/Client_Struct.h
+++ b/Jusin154_Team3D/Client/Public/Client_Struct.h
@@ -279,19 +279,25 @@ typedef struct tagEffectInfo
_bool isNonSoftEffect = {};
_float2 vDissolveSmoothRange = { 0.1f , 0.1f };
- _float2 vPadding0 = {};
+
+ _float fPadding1 = {};
+
+ _bool isScreenFX = {};
+ _bool isPadding0 = {};
+ _bool isPadding1 = {};
+ _bool isPadding2 = {};
_bool isRimLight = {};
_bool isMask_G = {};
_bool isMask_B = {};
_bool isDissolve_B = {};
- _float4 vPadding1 = {};
- _float4 vPadding2 = {};
- _float4 vPadding3 = {};
- _float4 vPadding4 = {};
- _float4 vPadding5 = {};
- _float4 vPadding6 = {};
+ _float4 vPadding1 = {};
+ _float4 vPadding2 = {};
+ _float4 vPadding3 = {};
+ _float4 vPadding4 = {};
+ _float4 vPadding5 = {};
+ _float4 vPadding6 = {};
}EFFECT_INFO;
typedef struct tagTrailInfo
diff --git a/Jusin154_Team3D/Client/Public/Duelist_Levioso.h b/Jusin154_Team3D/Client/Public/Duelist_Levioso.h
index 8b28a3824..01e917975 100644
--- a/Jusin154_Team3D/Client/Public/Duelist_Levioso.h
+++ b/Jusin154_Team3D/Client/Public/Duelist_Levioso.h
@@ -34,26 +34,14 @@ class CDuelist_Levioso final : public CEffect_Container
private:
class CInfoInstance* m_pInfoInstance = { nullptr };
private:
- _wstring m_wstrEffectName = {};
- class CPlayer* m_pPlayer = {};
+ _wstring m_wstrEffectName = {};
+ class CPlayer* m_pPlayer = {};
- class CEffectParts* m_pLeviosoPJ_0 = { nullptr };
- class CEffectParts* m_pLeviosoPJ_1 = { nullptr };
- class CEffectParts* m_pTrail_PT_0 = { nullptr };
-
- class CEffectParts* m_pLevioso_Rotate0 = { nullptr };
- class CEffectParts* m_pLevioso_Rotate1 = { nullptr };
-
- class CTransform* m_pEnemyTransform = { nullptr };
-
- _vector m_vOwnerLook = {};
- _float m_fAccRotateTime = {};
- _float m_fTurnSpeed = {};
- _float m_fRange = {};
+ class CEffectParts* m_pLeviosoPJ = { nullptr };
_float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치
_float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치
- _float m_fLinearSpeed = 0.25f;
+ _float m_fLinearSpeed = 0.75f;
_float3 m_vCameraLook = {};
public:
static CDuelist_Levioso* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/EffectObject.h b/Jusin154_Team3D/Client/Public/EffectObject.h
index b4032a504..effac5751 100644
--- a/Jusin154_Team3D/Client/Public/EffectObject.h
+++ b/Jusin154_Team3D/Client/Public/EffectObject.h
@@ -57,7 +57,10 @@ class CEffectObject abstract : public CPartObject
CInstance_Model* m_pInstance_ModelCom = { nullptr };
const _float4x4* m_pParentMatrix = { nullptr };
- _float4x4 m_FinalParentMatrix;
+
+ _float4x4 m_ScreenViewMatrix = {};
+ _float4x4 m_OrthographicMatrix = {};
+ _float4x4 m_FinalParentMatrix;
protected:
EFFECT_INFO m_EffectInfo = {};
diff --git a/Jusin154_Team3D/Client/Public/Levioso.h b/Jusin154_Team3D/Client/Public/Levioso.h
index 0e0bf441d..e0fdd493b 100644
--- a/Jusin154_Team3D/Client/Public/Levioso.h
+++ b/Jusin154_Team3D/Client/Public/Levioso.h
@@ -37,23 +37,11 @@ class CLevioso final : public CEffect_Container
_wstring m_wstrEffectName = {};
class CPlayer* m_pPlayer = {};
- class CEffectParts* m_pLeviosoPJ_0 = { nullptr };
- class CEffectParts* m_pLeviosoPJ_1 = { nullptr };
- class CEffectParts* m_pTrail_PT_0 = { nullptr };
-
- class CEffectParts* m_pLevioso_Rotate0 = { nullptr };
- class CEffectParts* m_pLevioso_Rotate1 = { nullptr };
-
- class CTransform* m_pEnemyTransform = { nullptr };
-
- _vector m_vOwnerLook = {};
- _float m_fAccRotateTime = {};
- _float m_fTurnSpeed = {};
- _float m_fRange = {};
+ class CEffectParts* m_pLeviosoPJ = { nullptr };
_float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치
_float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치
- _float m_fLinearSpeed = 0.25f;
+ _float m_fLinearSpeed = 0.75f;
_float3 m_vCameraLook = {};
public:
static CLevioso* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/Stupefy.h b/Jusin154_Team3D/Client/Public/Stupefy.h
index e2b3fd52c..5b1313303 100644
--- a/Jusin154_Team3D/Client/Public/Stupefy.h
+++ b/Jusin154_Team3D/Client/Public/Stupefy.h
@@ -35,13 +35,12 @@ class CStupefy final : public CEffect_Container
class CInfoInstance* m_pInfoInstance = { nullptr };
private:
_wstring m_wstrEffectName = {};
- class CEffectParts* m_pProjectile0 = {};
- class CEffectParts* m_pProjectile1 = {};
+ class CEffectParts* m_pProjectile = {};
class CEffectParts* m_pStupefy_PJ_PT = {};
-
+ class CEffectParts* m_pProjectile2 = {};
_float4 m_vStartPos = { 0.f, 0.f, 0.f, 1.f }; // 현재 발사 된 위치
_float4 m_vTargetPos = { 0.f, 0.f, 10.f, 1.f }; // 현재 타게팅 된 위치
- _float m_fLinearSpeed = 0.7f;
+ _float m_fLinearSpeed = 1.f;
_float3 m_vCameraLook = {};
public:
static CStupefy* Create(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
diff --git a/Jusin154_Team3D/Client/Public/StupefySide.h b/Jusin154_Team3D/Client/Public/StupefySide.h
new file mode 100644
index 000000000..e98a245ec
--- /dev/null
+++ b/Jusin154_Team3D/Client/Public/StupefySide.h
@@ -0,0 +1,53 @@
+#pragma once
+
+#include "Client_Define.h"
+#include "Effect_Container.h"
+
+NS_BEGIN(Engine)
+NS_END
+
+NS_BEGIN(Client)
+
+class CStupefySide final : public CEffect_Container
+{
+private:
+ CStupefySide(ID3D11Device* pDevice, ID3D11DeviceContext* pContext);
+ CStupefySide(const CStupefySide& rhs);
+ virtual ~CStupefySide() = 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 = {};
+
+ _bool m_isParticleEnd = {};
+ _bool m_isTrailEnd = {};
+ _float4x4 m_TrailStopMat = {};
+
+ class CEffectParts* m_pWandLight = { nullptr };
+ class CTrailObject* m_pWandTrail = { nullptr };
+ class CEffectParts* m_pWandParticle = { nullptr };
+
+public:
+ static CStupefySide* 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
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin
index cc4462588..1e1ffa5cf 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:87dc61563f7386bdd600d7da84ab8f4b358e05ddafaffa62db29236333378755
+oid sha256:2ef6ed200f4e9ab5ee03e05cb96692f5a854c222b75116f9a044e4a49afb7e06
size 1165
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin
deleted file mode 100644
index 20e29962f..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Bottom_Wind.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:2aad5dff0889db1d7985349f737a7c96722b79f155576a9ab5c072cf1493158b
-size 1204
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin
deleted file mode 100644
index a62774e61..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:095e59e449f59358f23ca6bdacb586ee2a540885011318b374633cc3cc3f606a
-size 1251
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit0.bin
new file mode 100644
index 000000000..b15d91405
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Hit0.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a05561f06e3503b1f0cc9f4a1b64bf42de75c383ed1865b073303dc616b6ad35
+size 1253
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ.bin
new file mode 100644
index 000000000..1a673fe5b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:829af44b129883d9ad6988a32b0a4b32d2dd6a47f5724bbcb1a6351e96dcfc1b
+size 1250
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin
deleted file mode 100644
index b9248ccd2..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_PJ0.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:0bdf0bfea70a3d7fe55ac923f99742c48fe5478b5e87e68243a22c95d6235ab7
-size 1165
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin
index 0eaa8dc74..d2369a17f 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:43c4e97125ff00a6b01ec5dca8fd388d016873526865f7d9ae84fa6c1f9f83c6
-size 1158
+oid sha256:cd88edc0d87bd99f12d7750d45df7bfe07a15688378148d2c8c7db6ec326d96b
+size 1205
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin
index f7dd40d6d..549ff0172 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Rotate1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e03dc212166ae87ff83375abfd1901fa8656de70a3a2fb3aa1c7873ea84f5eaa
-size 1158
+oid sha256:33f44b325c6d9dad348fe07a6c9ee332140e90567e8ad4ced6fdac278a040c45
+size 1205
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Spline.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Spline.bin
new file mode 100644
index 000000000..cf7e4756c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Spline.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:15191901df0a291039dc63271d4c0d3526e3a39db8f33608a835f1725b47c3d0
+size 1211
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin
index 124d7d888..1dcb3d954 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Tornado.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0a7aba137c53306c7451b760eb809e8bc6fe0c8379c766976465b677232a6024
-size 1220
+oid sha256:6d30a41bf07e1367520482cf73b0ffeaf325acdd0e6a71f851c98616a9df892b
+size 1219
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Trail.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Trail.trail
index f83c08f63..f314332fa 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Trail.trail and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Trail.trail differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin
deleted file mode 100644
index 09ee5477a..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand0.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b5486e56e36e161b996225ede86832abf1db6e3e1239021e0e33c1d7aab22fcf
-size 1197
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin
deleted file mode 100644
index 5eae80ac7..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Levioso_Wand_Light.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:d86b77b6ac7dda9b3dc2028af8b11b705dd76271879ed35f25dda7602aa958c2
-size 1334
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Spread_Circle.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Spread_Circle.bin
new file mode 100644
index 000000000..0e8cfb3e1
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Spread_Circle.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:e4397ec9a2372621b95584fb5c639e4c1373385077d66d3844e733cbc492553a
+size 1244
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin
deleted file mode 100644
index 25b037b0f..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Trail_PT0.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:3d22785083a70649bc4da5760e998517b9530fe3e45149aa9a949216738862c1
-size 1179
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Wand_Light_P.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Wand_Light_P.bin
new file mode 100644
index 000000000..810d67d4f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Wand_Light_P.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8b258f9b40f22c59db9e936497e79f846c9f8b2a338d59a443589edee594f6ef
+size 1241
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Wand_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Wand_Smoke.bin
new file mode 100644
index 000000000..b44562941
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Levioso/Wand_Smoke.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2e6a6b8e0a807c1dc028102c4cc240df07b973c9f29a2e80c639fa2ea234717b
+size 1194
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Trail_P.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Trail_P.trail
index 7a7aaf91a..85574a148 100644
Binary files a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Trail_P.trail and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Trail_P.trail differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin
index 39c7f067c..61bfacecf 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/LeviosoSide/Wand_Light_P.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:c91832482aec9e9008a23900a48ed91867c91f964406108325e5eb606ddc2cf3
-size 1200
+oid sha256:ca923ddbb840314fbab63149019fa8078a5d53b2b9c3ef926a3345ebff72bcc3
+size 1145
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo0.bin
index c59807f34..563cf2020 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b599b9606464cc8a8a0d753b09a8626823c97bab27709007a6bf4782861ec13d
+oid sha256:9e5cc31e2aab8ed53c1da2bae9a267e2ede7ec59e2837e0b845e1ab136e23a29
size 1229
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo1.bin
index 838d1e157..d04d6215f 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo1.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo1.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:4895e8e3d74d359a3f24354c809953d67032f5fdc68ac865e2815a2bbe45e74b
+oid sha256:c910f305f1540af566b0306b497d6447a098f3123728f695656b32710c276738
size 1229
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo2.bin
index 64a94d8e7..19b881d54 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo2.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo2.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a23d45392df0be03277cf46c58d3c0a0b9945f0fed8a48b90e73869fde5375e8
+oid sha256:6430c4b06a14b73b1115f234c7e13c54b3c27760ab31f7f945ce32c93a9e82a9
size 1231
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo3.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo3.bin
index 0313ac077..2a7f0e923 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo3.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo3.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:6f5b24c71bd7515777821be62cbcfb0e602e795cf5cac7ea117a8f81edae71a8
+oid sha256:09584e7e4ea78c06785371fd359f09d5b256ce6a9419d9a6d81a46992594e44d
size 1231
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo4.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo4.bin
index bdd39a614..3f3845faa 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo4.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Goo4.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:3d83b19cdaa30e7a5e8d3e564939973d1d0a5b8947caacd2dcc6b9ffab7c2048
+oid sha256:d3802b7e833701e65a5e93b6bb80bc0158926b15bc233ca3fb6cbb9d68feedfa
size 1214
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Red1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Red1.bin
new file mode 100644
index 000000000..957a93373
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/MapEffect/Ranrok_Particle_Red1.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:70e327c3b8af9cdd5a8a809c3fc68e8465105a5a6d012724a0a09b366f52d707
+size 1294
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Levioso.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Levioso.bin
index 24957383b..f66063e5d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Levioso.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Levioso.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e7392a101f23639921ab9f6c35f1dfdd767d491f94df486b9f07af294447e880
-size 712
+oid sha256:c3f23491a4cf021055b8a80968779ddf3fd29e074a6202413031ca4de0b0015c
+size 702
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/ProtegoHit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/ProtegoHit.bin
index 02021ee18..da222fe2b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/ProtegoHit.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/ProtegoHit.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:e9d05e13a9fff7a12d10a9c4237cca60f82d7ecc50167aa7b3ac1851e1429b46
-size 333
+oid sha256:2329ed39038a9b733a32c8a6bd004b1d774b3bd8e85b0fef9d09d6d892931391
+size 398
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Stupefy.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Stupefy.bin
index 58a1dac3c..bc9c3873b 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Stupefy.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/Stupefy.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:dd7aa69103b5f95090b66b0d3327b62f6a57155b24c8a6ab3fd38a613955933c
-size 631
+oid sha256:aea4f8f9c4b314cdf077e969b416eddc5b792ea0b3e5cbeb4dafb5b45989afda
+size 630
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin
new file mode 100644
index 000000000..c5ffa3902
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Package/StupefySide.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:bb0d150bb6e87ae13f391e22f1e29a1757113db0ae89ea77cd55e5a60b80ea31
+size 202
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin
new file mode 100644
index 000000000..f829c835c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/ProtegoHit/ScreenFX_Hit.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:a8c9bcf30d20800a50aec55d63608b8e78b920a28cb4d748c88d85d6c33b8d9c
+size 1169
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Circle0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Circle0.bin
index 867903a1c..7edd74e3d 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Circle0.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Circle0.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:a53855eb8aca50722e420c0036a2e83bababc5e73e9c86c5062265c78a232b2f
-size 1247
+oid sha256:58a884e377b191ef0d355a15006c1d8b2117b7c1cdfe18ebde58e44850793bdc
+size 1249
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Hit_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Hit_PT.bin
index 42d73f8f6..cd2584bb0 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Hit_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Hit_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:8a9c812466b7c10bbf7b4fba98d34eb918ecba87e5390f176d261ee0494f9294
+oid sha256:23b18c353afee35d4db439e8078af06c09812786e5ce6b782a43ebceb25c9a3e
size 1175
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ.bin
new file mode 100644
index 000000000..b66edb0ea
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:264978b7dcde1ac9015818f70f0e500fc72df11a5837a6ee51b01b5df447d601
+size 1239
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ0.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ0.bin
deleted file mode 100644
index e9a34808f..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ0.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b6ee4b8b35fa425653e6e70f228d9bdffb3988ff9f4d1edac1176d5a9bae821e
-size 1217
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ1.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ1.bin
deleted file mode 100644
index 39d8afaf6..000000000
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ1.bin
+++ /dev/null
@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:e1f2980c52690ed8519c6cbfdf399f6d00b9fa1ec45a68621a9f55ecc653107e
-size 1217
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ2.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ2.bin
new file mode 100644
index 000000000..63ce95576
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ2.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3abd55a1ceae62c6c9afe8063d9ced6796be2c250a5d1e4a566f5e153c857989
+size 1185
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ_PT.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ_PT.bin
index aba1f8d09..5cd7f2af2 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ_PT.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_PJ_PT.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:b4991be0d9220894a36fcada332cc7a34b24d927f772b025c26c3102fd8d9d32
+oid sha256:f1d764f094e11048ce8bfe3cb26eda1f44fb52e9e5c8ee44acbd3b4b1fed244b
size 1177
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Smoke.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Smoke.bin
index 8802f26a9..663a8339e 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Smoke.bin
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/Stupefy/Stupefy_Smoke.bin
@@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
-oid sha256:0a6eab9501cc6388353ca7157bcf14d74f946a410376d11bd58b9efda9079d7d
-size 1196
+oid sha256:2e193683c2e5717020523aab587f765f7ca93678aac0e57cab703d3fa227f40c
+size 1191
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Trail_B.trail b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Trail_B.trail
new file mode 100644
index 000000000..b920a9502
Binary files /dev/null and b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Trail_B.trail differ
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Wand_Light_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Wand_Light_B.bin
new file mode 100644
index 000000000..607ccc710
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Wand_Light_B.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:3ab86dbc400f33329663c7e2109727bf1f2c8e4753526d2613b48fd7c56e8165
+size 1153
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Wand_Particle_B.bin b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Wand_Particle_B.bin
new file mode 100644
index 000000000..194c12dad
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Data/Effect/StupefySide/Wand_Particle_B.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:34ba39522d3a69e3687333d492b23305e33c8e397207ce56e7b9064c061e7b7c
+size 1225
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_002.002.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_002.002.bin
new file mode 100644
index 000000000..ed980f51e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_002.002.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:fd2794ae2af894c0c15cb4e1efbf1e524ec90766abead97541e7c2a0a1ce742a
+size 8541
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_002.002.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_002.002.fbx
new file mode 100644
index 000000000..30b47c737
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_002.002.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f9de500a68c8f09d40c69a82cdf05db3f48eb871029de152317502b4646e5ff7
+size 18412
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_003.002.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_003.002.bin
new file mode 100644
index 000000000..049b7ba12
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_003.002.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d1935ed996b1be776da79656830bc55f7e11582335b9c7749f63b6305db30e00
+size 13069
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_003.002.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_003.002.fbx
new file mode 100644
index 000000000..a5c6ff70f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_c_screwup_003.002.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:21b3ee737b9760cca123f50da204b6d746748ec0212cd13f8dd2b696cf0eec81
+size 19852
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_d_screw_004.002.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_d_screw_004.002.bin
new file mode 100644
index 000000000..456a2a235
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_d_screw_004.002.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:9289f21697104ad19f1dc3195922483469183db2546c63b6555fe679cfa7d7f4
+size 13619
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_d_screw_004.002.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_d_screw_004.002.fbx
new file mode 100644
index 000000000..b5ececed3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_d_screw_004.002.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ce99e738936b5dbccf33e455df8a920f653a8c94f14b6776038ae75d8b8e6a84
+size 21388
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_008.002.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_008.002.bin
new file mode 100644
index 000000000..353a4164c
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_008.002.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f7e85f795c8a6d23854cc08cedcf649fc4bd204e46fbcdca7e60ba32b048f954
+size 4563
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_008.002.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_008.002.fbx
new file mode 100644
index 000000000..6a7e37b87
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_008.002.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:913d95acf394b422a7d19f08bc65d9ebdcab9006cc167d618da76dd645339d06
+size 16748
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_010_1.002.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_010_1.002.bin
new file mode 100644
index 000000000..65aae3ecd
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_010_1.002.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:56089733703340e978eec534ed9f679dc0460593ff5563fe1230c7ff08bbec87
+size 13861
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_010_1.002.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_010_1.002.fbx
new file mode 100644
index 000000000..651e544e8
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_e_screw_010_1.002.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:b9ede2a2a8189c5d94ca853d709f02e2cc85cc6bbcfb1dad3bfbce5b1bae495c
+size 17996
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_03_1.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_03_1.001.bin
new file mode 100644
index 000000000..a5347de34
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_03_1.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:16b144696f871b04200a9520b9f29561d786032389d51d04bc3764b1306def36
+size 228986
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_03_1.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_03_1.001.fbx
new file mode 100644
index 000000000..be0e5065d
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_03_1.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8709c099f2c3928cc3c4b035a2a8430ba3fe2b6ea2e90b8abfbea2669fa4199e
+size 101660
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_04_1.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_04_1.001.bin
new file mode 100644
index 000000000..e3a6c1ca3
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_04_1.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6a03e5de50bd0767a2672ce94b5c8842a44366649cb023ade8ae6093de914026
+size 232850
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_04_1.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_04_1.001.fbx
new file mode 100644
index 000000000..c03a2cd0a
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_04_1.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:61060d71edfea8542887e63a8596b5c234b8248ae0f2d95138d69db20234e107
+size 101692
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_1.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_1.001.bin
new file mode 100644
index 000000000..16d5e9ebe
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_1.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:8438f64cfbd547747628d535104744089329b331d55847e43a1e1db0d8adcae5
+size 177750
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_1.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_1.001.fbx
new file mode 100644
index 000000000..20286a501
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_1.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:2b5ffda651a2618f5e76c6a68d7dc426aa70d6f5d8d5cb65b88540785c041b7c
+size 111356
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_2.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_2.001.bin
new file mode 100644
index 000000000..807626e8e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_2.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:6cdab8dac77590b30dfa0e8d4c6df0e9d83691bb327046128dca898d1a91bd67
+size 109338
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_2.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_2.001.fbx
new file mode 100644
index 000000000..e5e34879e
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_h_tornado_08_2.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:0ab5abb22d1c57179d184d1524c79dfa58177fa63b175c02e60344fc4de0c288
+size 60588
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_o_tornado_01.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_o_tornado_01.001.bin
new file mode 100644
index 000000000..831728739
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_o_tornado_01.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:526547f85e81657d8c67b5971ac4b2909be82fb37b2ee43b7e9864b77f5168fc
+size 227040
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_o_tornado_01.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_o_tornado_01.001.fbx
new file mode 100644
index 000000000..1f642d24b
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fm_o_tornado_01.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:55055221c074a4d4fa8079db84e93534058b8fb2c998ac340bbe9cf3c9644d8c
+size 65772
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fn_m_screw_001.002.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fn_m_screw_001.002.bin
new file mode 100644
index 000000000..dd4513f57
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fn_m_screw_001.002.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1c48694d504b2bb83c5c2944a75451e28a7b4dfa679a2f10c4cbc65f94616335
+size 43019
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fn_m_screw_001.002.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fn_m_screw_001.002.fbx
new file mode 100644
index 000000000..97c0b9c68
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/fn_m_screw_001.002.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:ff456145123f54aea837fc1fafed7fe64000436331fb77338edc101191ac4953
+size 37756
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_01.001.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_01.001.bin
new file mode 100644
index 000000000..88ba3ba81
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_01.001.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:d8c661ace4e2e2d18bd6c306b7740c11ff0304f4b47fe22716194edb551c3295
+size 466591
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_01.001.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_01.001.fbx
new file mode 100644
index 000000000..7bf1ce305
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_01.001.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:970139201d8a86cb0bd7351a95d6aa7c485c6b9f5b3f75a40552c03620f1f528
+size 160140
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_02.002.bin b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_02.002.bin
new file mode 100644
index 000000000..a5f524e6f
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_02.002.bin
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:92c12199e43b1845295e58ddf4f7317b33589e243cb34d242fd29746fad886d1
+size 93343
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_02.002.fbx b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_02.002.fbx
new file mode 100644
index 000000000..17e0dbdbe
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Bin/Resources/Models/Effect/ParticleMesh/thunder_02.002.fbx
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:12ba8b78abfa8a027487afa942edd5d9b3634975f4106051e159d9687a8a7a4a
+size 39020
diff --git a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
index b4f47f4c3..d76e4d6de 100644
--- a/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
+++ b/Jusin154_Team3D/Editor/Bin/Resources/ShaderFiles/Shader_VtxModelInstance.hlsl
@@ -93,7 +93,7 @@ float g_fWinSizeY;
/* 소프트 이펙트 */
bool g_isNonSoftEffect;
-
+bool g_isScreenFX;
/* 디퓨즈 */
float4 g_vColor;
float g_fDiffuseAlpha;
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
index 2b4ed975e..6898cd1e1 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj
@@ -271,6 +271,8 @@ call Update_Shaders.bat
+
+
@@ -556,6 +558,8 @@ call Update_Shaders.bat
+
+
diff --git a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
index ca3a9b068..44488d32c 100644
--- a/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
+++ b/Jusin154_Team3D/Editor/Default/Editor.vcxproj.filters
@@ -784,6 +784,12 @@
{b8e8e46c-ec9f-4a89-a970-c9de2ac3f521}
+
+ {546b1677-5dbb-45dd-a152-5b216655e51f}
+
+
+ {d84324ea-6303-442d-8f00-ed6555e6b02b}
+
@@ -1587,6 +1593,12 @@
02.GameObjects\Layer_Effect\Effect_Editor\Effect\Magic\08.Protego\Protego_Hit
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Magic\11.Stupefy\StupefySide
+
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Magic\11.Stupefy
+
@@ -2398,6 +2410,12 @@
02.GameObjects\Layer_Effect\Effect_Editor\Effect\Magic\08.Protego\Protego_Hit
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Magic\11.Stupefy\StupefySide
+
+
+ 02.GameObjects\Layer_Effect\Effect_Editor\Effect\Magic\11.Stupefy
+
diff --git a/Jusin154_Team3D/Editor/Private/EditEffect.cpp b/Jusin154_Team3D/Editor/Private/EditEffect.cpp
index b0a9093d7..717c10efb 100644
--- a/Jusin154_Team3D/Editor/Private/EditEffect.cpp
+++ b/Jusin154_Team3D/Editor/Private/EditEffect.cpp
@@ -32,6 +32,11 @@ HRESULT CEditEffect::Initialize(void* pArg)
m_bVisible = false;
+
+ XMStoreFloat4x4(&m_ScreenViewMatrix, XMMatrixIdentity());
+ XMStoreFloat4x4(&m_OrthographicMatrix, XMMatrixOrthographicLH(g_iWinSizeX, g_iWinSizeY, 0.f, 1.f));
+
+
return S_OK;
}
@@ -524,7 +529,7 @@ void CEditEffect::Describe_Entity()
GUI::Checkbox("NonSoftEffect", &m_EffectInfo.isNonSoftEffect);
-
+ GUI::Checkbox("ScreenFX", &m_EffectInfo.isScreenFX);
GUI::PushItemWidth(IMGUI_GLOBAL_ITEM_WIDTH);
diff --git a/Jusin154_Team3D/Editor/Private/EffectObject.cpp b/Jusin154_Team3D/Editor/Private/EffectObject.cpp
index d974af399..7bb4a11fe 100644
--- a/Jusin154_Team3D/Editor/Private/EffectObject.cpp
+++ b/Jusin154_Team3D/Editor/Private/EffectObject.cpp
@@ -867,19 +867,31 @@ HRESULT CEffectObject::Bind_ShaderResources()
return E_FAIL;
}
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
- return E_FAIL;
- }
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
- return E_FAIL;
- }
+ if (m_EffectInfo.isScreenFX == false)
+ {
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW)))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ)))) {
+ return E_FAIL;
+ }
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW_INV)))) {
- return E_FAIL;
- }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::VIEW_INV)))) {
+ return E_FAIL;
+ }
- if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ_INV)))) {
- return E_FAIL;
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrixInv", m_pGameInstance->Get_Transform_Float4x4(D3DTS::PROJ_INV)))) {
+ return E_FAIL;
+ }
+ }
+ else
+ {
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ViewMatrix", &m_ScreenViewMatrix))) {
+ return E_FAIL;
+ }
+ if (FAILED(m_pShaderCom->Bind_Matrix("g_ProjMatrix", &m_OrthographicMatrix))) {
+ return E_FAIL;
+ }
}
_float4x4 WorldInv = {};
@@ -1205,9 +1217,11 @@ HRESULT CEffectObject::Bind_ShaderResources()
return E_FAIL;
}
+ if (FAILED(m_pShaderCom->Bind_RawValue("g_isScreenFX", &m_EffectInfo.isScreenFX, sizeof(_bool)))) {
+ return E_FAIL;
+ }
-
if (m_pDiffuse_TextureCom != nullptr)
{
if (FAILED(m_pDiffuse_TextureCom->Bind_ShaderResource(m_pShaderCom, "g_DiffuseTexture", 0))) {
diff --git a/Jusin154_Team3D/Editor/Private/EffectPool.cpp b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
index a2de42e80..1b9428398 100644
--- a/Jusin154_Team3D/Editor/Private/EffectPool.cpp
+++ b/Jusin154_Team3D/Editor/Private/EffectPool.cpp
@@ -16,6 +16,8 @@
#include "LeviosoSide.h"
#include "DecendoSide.h"
#include "NomalJapSide.h"
+#include "Stupefy.h"
+#include "StupefySide.h"
#include "Troll_Rush_Hit.h"
@@ -307,6 +309,24 @@ HRESULT CEffectPool::Ready_Effect()
return pEffect; }
))) return E_FAIL;
+ if (FAILED(Create_Effect(SKILL_TYPE::STUPEFY, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CStupefy* pEffect = nullptr;
+
+ pEffect = m_pGameInstance->Clone_Prototype(iPrototypeLevel, nullptr);
+
+ return pEffect; }
+ ))) return E_FAIL;
+
+ if (FAILED(Create_Effect(SKILL_TYPE::STUPEFY_SIDE, 5, NEXT_LEVEL, NEXT_LEVEL, [&](_uint iPrototypeLevel, _uint iCloneLevel) -> CEffect_Container* {
+
+ CStupefySide* 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 9c5261843..4105053ce 100644
--- a/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
+++ b/Jusin154_Team3D/Editor/Private/Level_EffectViewer.cpp
@@ -88,8 +88,8 @@ HRESULT CLevel_EffectViewer::Initialize()
// return E_FAIL;
//}
- //if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster"))))
- // return E_FAIL;
+/* if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster"))))
+ return E_FAIL;*/
//if (FAILED(m_pGameInstance->Add_GameObject_ToLayer(g_iStaticLevel, NEXT_LEVEL, TEXT("Layer_Monster"))))
// return E_FAIL;
diff --git a/Jusin154_Team3D/Editor/Private/Levioso.cpp b/Jusin154_Team3D/Editor/Private/Levioso.cpp
index e415244e8..a46f0840b 100644
--- a/Jusin154_Team3D/Editor/Private/Levioso.cpp
+++ b/Jusin154_Team3D/Editor/Private/Levioso.cpp
@@ -41,24 +41,14 @@ HRESULT CLevioso::Initialize(void* pArg)
if (FAILED(Load_Package("../Bin/Resources/Data/Effect/Package/Levioso")))
return E_FAIL;
- m_pLeviosoPJ_0 = Get_PartObject("Levioso_PJ0");
- m_pTrail_PT_0 = Get_PartObject("Trail_PT0");
+ m_pLeviosoPJ = Get_PartObject("Levioso_PJ");
- m_pLevioso_Rotate0 = Get_PartObject("Levioso_Rotate0");
- m_pLevioso_Rotate1 = Get_PartObject("Levioso_Rotate1");
-
- SAFE_ADDREF(m_pLevioso_Rotate0);
- SAFE_ADDREF(m_pLevioso_Rotate1);
-
- SAFE_ADDREF(m_pLeviosoPJ_0);
- SAFE_ADDREF(m_pTrail_PT_0);
+ SAFE_ADDREF(m_pLeviosoPJ);
m_wstrEffectName = L"Levioso";
- m_fTurnSpeed = 10.f;
- m_fRange = 1.f;
- m_fDuration = 2.f;
+ m_fDuration = 6.f;
@@ -69,7 +59,7 @@ void CLevioso::Priority_Update(_float fTimeDelta)
{
__super::Priority_Update(fTimeDelta);
- XMStoreFloat4(&m_vStartPos, m_pLeviosoPJ_0->Get_WorldPostion());
+ XMStoreFloat4(&m_vStartPos, m_pLeviosoPJ->Get_WorldPostion());
}
@@ -82,19 +72,8 @@ void CLevioso::Update(_float fTimeDelta)
Update_Event(fTimeDelta);
- m_pLeviosoPJ_0->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
- m_pTrail_PT_0->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
-
- _matrix WorldMat = m_pTrail_PT_0->Get_Component()->Get_XMWorldMatrix();
-
- if (m_bHit == true && m_pEnemyTransform != nullptr)
- {
- _vector vPos = m_pEnemyTransform->Get_State(STATE::POSITION);
-
- m_pLevioso_Rotate0->Get_Component()->Set_State(STATE::POSITION, vPos);
- m_pLevioso_Rotate1->Get_Component()->Set_State(STATE::POSITION, vPos);
- }
+ m_pLeviosoPJ->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
}
@@ -103,11 +82,12 @@ void CLevioso::Late_Update(_float fTimeDelta)
if (m_bVisible == false)
return;
- XMStoreFloat4(&m_vEndPos, m_pLeviosoPJ_0->Get_WorldPostion());
+ XMStoreFloat4(&m_vEndPos, m_pLeviosoPJ->Get_WorldPostion());
_vector vDir = XMLoadFloat4(&m_vEndPos) - XMLoadFloat4(&m_vStartPos);
if (false == m_bHit) {
+
_vector vStartPos = XMLoadFloat4(&m_vStartPos);
_vector vEndPos = XMLoadFloat4(&m_vEndPos);
ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.002f);
@@ -131,19 +111,21 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg)
_vector WandPos = pPlayer->Get_WandPos().r[3];
- CEditEffect* pWandSmoke = Get_PartObject("Levioso_Wand0");
- CEditEffect* pWandLight = Get_PartObject("Levioso_Wand_Light");
+ CEditEffect* pWandSmoke = Get_PartObject("Wand_Smoke");
+ CEditEffect* pWandLight = Get_PartObject("Wand_Light_P");
+ CEditEffect* pSpread_Circle = Get_PartObject("Spread_Circle");
+
+
+ m_pLeviosoPJ->Get_Component()->Set_State(STATE::POSITION, WandPos);
- m_pLeviosoPJ_0->Get_Component()->Set_State(STATE::POSITION, WandPos);
- m_pTrail_PT_0->Get_Component()->Set_State(STATE::POSITION, WandPos);
pWandSmoke->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
pWandLight->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
+ pSpread_Circle->Get_Component()->Set_State(STATE::POSITION, pPlayer->Get_PartObject()->Get_WorldPostion());
- m_pLeviosoPJ_0->Set_Visible(true);
- m_pTrail_PT_0->Set_Visible(true);
+ m_pLeviosoPJ->Set_Visible(true);
pWandSmoke->Set_Visible(true);
pWandLight->Set_Visible(true);
-
+ pSpread_Circle->Set_Visible(true);
m_vOwnerLook = XMVector3Normalize(m_pOwner->Get_Component()->Get_State(STATE::LOOK));
@@ -170,15 +152,6 @@ HRESULT CLevioso::Pre_Setting(CGameObject* pObject, void* pArg)
}
- _vector vDir = XMVector3Normalize(XMLoadFloat3(&m_vCameraLook));
-
- _vector vRight = XMVector3Normalize(XMVector3Cross(XMVectorSet(0.f, 1.f, 0.f, 0.f), vDir));
-
- _vector vUp = XMVector3Normalize(XMVector3Cross(vRight, vDir));
-
- _matrix ProjMat = _matrix(vRight, vUp, vDir, vStartPos);
-
- m_pLeviosoPJ_0->Get_Component()->Set_WorldMatrix(ProjMat);
return S_OK;
}
@@ -234,17 +207,19 @@ void CLevioso::OnCollision(CGameObject* pOther, void* pDesc)
_vector vPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
-
- for (auto& pPair : m_PartObjects)
- {
- pPair.second->Set_Visible(true);
- pPair.second->Get_Component()->Set_State(STATE::POSITION, vPos);
- }
-
m_fAccTime = 0.f;
m_fDuration = 3.5f; //적중하면 지속시간 3초
+ _vector vHitPos = XMLoadFloat4(&CollisionDesc.vWorldPos);
+ CEditEffect* pLevioso_Spline = Get_PartObject("Levioso_Spline");
+ CEditEffect* pLevioso_Hit0 = Get_PartObject("Levioso_Hit0");
+
+ pLevioso_Hit0->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+ pLevioso_Spline->Get_Component()->Set_State(STATE::POSITION, vHitPos);
+
+ pLevioso_Hit0->Set_Visible(true);
+ pLevioso_Spline->Set_Visible(true);
/* 바람과 파티클은 풋포지션 */
CCharacter_Controller* pHitCCT = CollisionDesc.pObject->Get_Component();
@@ -253,50 +228,38 @@ void CLevioso::OnCollision(CGameObject* pOther, void* pDesc)
_vector vFootPos = pHitCCT->Get_FootPosition();
CEditEffect* pLevioso_Tornado = Get_PartObject("Levioso_Tornado");
- CEditEffect* pLevioso_Bottom_Wind = Get_PartObject("Levioso_Bottom_Wind");
+ CEditEffect* pLevioso_Rotate0 = Get_PartObject("Levioso_Rotate0");
+ CEditEffect* pLevioso_Rotate1 = Get_PartObject("Levioso_Rotate1");
CEditEffect* pLevioso_Bottom_PT = Get_PartObject("Levioso_Bottom_PT");
+ CEditEffect* pLevioso_Spline = Get_PartObject("Levioso_Spline");
- m_pEnemyTransform = CollisionDesc.pObject->Get_Component();
pLevioso_Tornado->Get_Component()->Set_State(STATE::POSITION, vFootPos);
- pLevioso_Bottom_Wind->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+ pLevioso_Rotate0->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+ pLevioso_Rotate1->Get_Component()->Set_State(STATE::POSITION, vFootPos);
pLevioso_Bottom_PT->Get_Component()->Set_State(STATE::POSITION, vFootPos);
+ pLevioso_Tornado->Set_Visible(true);
+ pLevioso_Rotate0->Set_Visible(true);
+ pLevioso_Rotate1->Set_Visible(true);
+ pLevioso_Bottom_PT->Set_Visible(true);
+ pLevioso_Spline->Set_Visible(true);
}
- //Get_PartObject("Levioso_Tornado")
- //CEditEffect* pLevioso_Hit = Get_PartObject("Levioso_Hit");
- //CEditEffect* pLevioso_Bottom_Wind = Get_PartObject("Levioso_Bottom_Wind");
-
-
-
- m_pLeviosoPJ_0->Set_Visible(false);
- m_pTrail_PT_0->Set_Visible(false);
- //m_pLeviosoTrail->Set_Visible(false);
}
void CLevioso::Free()
{
__super::Free();
- SAFE_RELEASE(m_pLeviosoPJ_0);
- SAFE_RELEASE(m_pTrail_PT_0);
-
- SAFE_RELEASE(m_pLevioso_Rotate0);
- SAFE_RELEASE(m_pLevioso_Rotate1);
+ SAFE_RELEASE(m_pLeviosoPJ);
}
#ifdef _DEBUG
void CLevioso::Describe_Entity()
{
- GUI::Begin("LEVIOSO");
-
- GUI::DragFloat("TURN SPEED", &m_fTurnSpeed);
- GUI::DragFloat("RANGE", &m_fRange);
- GUI::End();
-
}
#endif // _DEBUG
diff --git a/Jusin154_Team3D/Editor/Private/LeviosoSide.cpp b/Jusin154_Team3D/Editor/Private/LeviosoSide.cpp
index aa618c7d4..c6f5a29f3 100644
--- a/Jusin154_Team3D/Editor/Private/LeviosoSide.cpp
+++ b/Jusin154_Team3D/Editor/Private/LeviosoSide.cpp
@@ -46,7 +46,12 @@ HRESULT CLeviosoSide::Initialize(void* pArg)
SAFE_ADDREF(m_pWandLight);
SAFE_ADDREF(m_pWandTrail);
- m_fDuration = 1.f;
+ m_fDuration = 2.f;
+
+ m_Events.emplace(0.8f, [&]() {
+
+ m_pWandTrail->SetDissolve(true);
+ });
return S_OK;
}
@@ -74,7 +79,7 @@ void CLeviosoSide::Update(_float fTimeDelta)
m_pWandLight->Get_Component()->Set_State(STATE::POSITION, pWand->Get_WorldPostion());
- m_pWandTrail->Get_Component()->Trail_Update(fTimeDelta, pWand->Get_WorldMatrix());
+ m_pWandTrail->Oneside_Rope_Trail_Update(pWand->Get_WorldMatrix() , fTimeDelta);
}
diff --git a/Jusin154_Team3D/Editor/Private/Loader.cpp b/Jusin154_Team3D/Editor/Private/Loader.cpp
index e03420d5d..4d029fd1b 100644
--- a/Jusin154_Team3D/Editor/Private/Loader.cpp
+++ b/Jusin154_Team3D/Editor/Private/Loader.cpp
@@ -206,6 +206,8 @@
#include "LeviosoSide.h"
#include "DecendoSide.h"
#include "NomalJapSide.h"
+#include "Stupefy.h"
+#include "StupefySide.h"
#include "TrollSwing.h"
#include "Troll_Nomal_Smoke.h"
@@ -1980,6 +1982,14 @@ HRESULT CLoader::Loading_For_Effect()
return E_FAIL;
}
+ if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CStupefy::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
+ if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CStupefySide::Create(m_pDevice, m_pContext)))) {
+ return E_FAIL;
+ }
+
if (FAILED(m_pGameInstance->Add_Prototype(NEXT_LEVEL, CRanrok_FireBall::Create(m_pDevice, m_pContext)))) {
return E_FAIL;
}
diff --git a/Jusin154_Team3D/Editor/Private/Player_States.cpp b/Jusin154_Team3D/Editor/Private/Player_States.cpp
index c850f6412..edb06a43c 100644
--- a/Jusin154_Team3D/Editor/Private/Player_States.cpp
+++ b/Jusin154_Team3D/Editor/Private/Player_States.cpp
@@ -832,19 +832,25 @@ void CPlayer::Behavior_CombatEnter()
Add_Event(pairAnimInfo.first, [this]() { m_pEffectPool->Use_Skill(SKILL_TYPE::JAP_SIDE, Get_PartObject()); }, 0.0f);
}
else if (SUCCEEDED(InputSpell())) {
+
m_pFSM->Enable_State(FSMSTATE::SPELL);
+ _float fEventRatio = 0.2f;
+ pairAnimInfo = m_Animation[STATEANIM::SPELL];
+
if (m_eSpell != ENUM_CLASS(SKILL_TYPE::END))
{
- pairAnimInfo = m_Animation[STATEANIM::SPELL];
switch (m_eSpell)
{
case ENUM_CLASS(SKILL_TYPE::BOMBARDA):
Add_Event(pairAnimInfo.first,
- [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA, this); },
- 0.2f);
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO_SIDE, Get_PartObject()); },
+ 0.01f);
+
+
Add_Event(pairAnimInfo.first,
- [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::BOMBARDA_SIDE, Get_PartObject()); },
- 0.f);
+ [this]() {m_pEffectPool->Use_Skill(SKILL_TYPE::LEVIOSO, this); },
+ 0.2f);
+
break;
case ENUM_CLASS(SKILL_TYPE::DESCENDO):
Add_Event(pairAnimInfo.first,
diff --git a/Jusin154_Team3D/Editor/Private/Protego_Hit.cpp b/Jusin154_Team3D/Editor/Private/Protego_Hit.cpp
index 0cc850a06..4e8e8c4c9 100644
--- a/Jusin154_Team3D/Editor/Private/Protego_Hit.cpp
+++ b/Jusin154_Team3D/Editor/Private/Protego_Hit.cpp
@@ -86,6 +86,8 @@ HRESULT CProtego_Hit::Pre_Setting(CGameObject* pObject, void* pArg)
CEditEffect* pProtego_HitPT = Get_PartObject("Protego_HitPT");
CEditEffect* pProtego_HitPT_Line = Get_PartObject("Protego_HitPT_Line");
CEditEffect* pProtegoHit = Get_PartObject("Protego_HitPT_Line");
+ CEditEffect* pScreenFX_Hit = Get_PartObject("ScreenFX_Hit");
+
m_pHit_SphereLay->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
m_pHit_Light->Get_Component()->Set_State(STATE::POSITION, m_pOwner->Get_WorldPostion());
@@ -100,6 +102,8 @@ HRESULT CProtego_Hit::Pre_Setting(CGameObject* pObject, void* pArg)
pProtego_HitPT_Line->Set_Visible(true);
pProtegoHit->Set_Visible(true);
+ pScreenFX_Hit->Set_Visible(true);
+
return S_OK;
}
diff --git a/Jusin154_Team3D/Editor/Private/Stupefy.cpp b/Jusin154_Team3D/Editor/Private/Stupefy.cpp
new file mode 100644
index 000000000..22e3dbf11
--- /dev/null
+++ b/Jusin154_Team3D/Editor/Private/Stupefy.cpp
@@ -0,0 +1,284 @@
+#include "pch.h"
+#include "Stupefy.h"
+
+#include "GameInstance.h"
+#include "EditEffect.h"
+#include "Wand.h"
+#include "Player.h"
+#include "InfoInstance.h"
+
+CStupefy::CStupefy(ID3D11Device* pDevice, ID3D11DeviceContext* pContext)
+ : CEffect_Container{ pDevice, pContext }
+{
+}
+
+CStupefy::CStupefy(const CStupefy& rhs)
+ : CEffect_Container(rhs),
+ m_pInfoInstance(CInfoInstance::GetInstance())
+{
+}
+
+HRESULT CStupefy::Initialize_Prototype()
+{
+
+
+ return S_OK;
+
+}
+
+HRESULT CStupefy::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/Package/Stupefy")))
+ return E_FAIL;
+ m_iSkillType = ENUM_CLASS(SKILL_TYPE::STUPEFY);
+
+ m_wstrEffectName = L"Stupefy";
+
+ m_pProjectile = Get_PartObject("Stupefy_PJ");
+ SAFE_ADDREF(m_pProjectile);
+
+ m_pProjectile2 = Get_PartObject("Stupefy_PJ2");
+ SAFE_ADDREF(m_pProjectile2);
+
+
+ m_pStupefy_PJ_PT = Get_PartObject("Stupefy_PJ_PT");
+ SAFE_ADDREF(m_pStupefy_PJ_PT);
+
+ m_fDuration = 4.5f;
+
+ return S_OK;
+}
+
+void CStupefy::Priority_Update(_float fTimeDelta)
+{
+ __super::Priority_Update(fTimeDelta);
+
+ XMStoreFloat4(&m_vStartPos, m_pStupefy_PJ_PT->Get_WorldPostion());
+}
+
+void CStupefy::Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Update(fTimeDelta);
+
+ Update_Event(fTimeDelta);
+
+ m_pStupefy_PJ_PT->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
+ m_pProjectile->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
+ m_pProjectile2->Get_Component()->Translation(XMLoadFloat3(&m_vCameraLook) * m_fLinearSpeed);
+}
+
+void CStupefy::Late_Update(_float fTimeDelta)
+{
+ if (m_bVisible == false)
+ return;
+
+ __super::Late_Update(fTimeDelta);
+
+ XMStoreFloat4(&m_vEndPos, m_pStupefy_PJ_PT->Get_WorldPostion());
+
+ _vector vDir = XMLoadFloat4(&m_vEndPos) - XMLoadFloat4(&m_vStartPos);
+
+
+ if (false == m_bHit) {
+ _vector vStartPos = XMLoadFloat4(&m_vStartPos);
+ _vector vEndPos = XMLoadFloat4(&m_vEndPos);
+ ON_COLLISION_INFO CollisionInfo = SweepTarget(vStartPos, vEndPos, 0.002f);
+
+ OnCollision(this, &CollisionInfo);
+ }
+
+}
+
+HRESULT CStupefy::Pre_Setting(CGameObject* pObject, void* pArg)
+{
+ if (FAILED(__super::Pre_Setting(pObject, nullptr)))
+ return E_FAIL;
+
+ CWand* pWand = static_cast(m_pOwner)->Get_PartObject();
+
+ if (pWand == nullptr)
+ return E_FAIL;
+
+
+
+ CEditEffect* pWand_Distortion = Get_PartObject