[Fix] 스탯 관리 계산 오류 수정

This commit is contained in:
HaeinLEE 2025-04-19 23:34:54 +09:00
parent eb7d01e4f6
commit faef0b4124

View File

@ -36,14 +36,7 @@ public class PlayerStats : MonoBehaviour
{
ActionEffect effect = _valueByAction.GetActionEffect(actionType);
if (HealthStat >= (effect.healthChange*-1))
{
return true;
}
else
{
return false;
}
return (HealthStat >= (effect.healthChange * -1));
}
// 행동 처리 메서드