[Fix] 스탯 관리 계산 오류 수정
This commit is contained in:
parent
eb7d01e4f6
commit
faef0b4124
@ -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));
|
||||
}
|
||||
|
||||
// 행동 처리 메서드
|
||||
|
Loading…
x
Reference in New Issue
Block a user