[add] 몬스터 사망 상태 추가

This commit is contained in:
kimnuri
2025-12-07 22:02:18 +09:00
parent 04ca7fef5d
commit 05ff4fe60e
20 changed files with 228 additions and 51 deletions
+6 -5
View File
@@ -121,11 +121,12 @@ void CMonster::Set_DrawOutLine()
_bool CMonster::Get_Damage(_float fDamage)
{
_bool bDead = m_pStat->Get_Damage(fDamage);
if (true == bDead) {
m_bDead = true;
}
return m_bDead;
return m_pStat->Get_Damage(fDamage);
}
_float2 CMonster::Get_Hp()
{
return { m_pStat->Get_Stat(ENUM_CLASS(STAT::HP)), m_pStat->Get_Stat(ENUM_CLASS(STAT::MAXHP)) };
}
HRESULT CMonster::Ready_Components(void*pArg)