[add] Goblin Dead

[add] Troll Stun
[add] GoblinStat
[add] Goblin DeadDisolve
This commit is contained in:
kimnuri
2025-12-09 11:30:14 +09:00
parent f493cd0ec6
commit 5466da3c48
36 changed files with 643 additions and 110 deletions
+1 -1
View File
@@ -122,7 +122,7 @@ _bool CStat::Get_Damage(_float fDamage)
{
_bool bResultDead = { false };
_float fCurHp = Get_Stat(ENUM_CLASS(STAT::HP)) - fDamage;
if (fCurHp < 0) { fCurHp = 0; bResultDead = true; }
if (fCurHp <= 0) { fCurHp = 0; bResultDead = true; }
Set_Stat(ENUM_CLASS(STAT::HP), fCurHp);
return bResultDead;
}