#51 Revoke Npc MotionSick System And MaxValue 100 -> 300 (30Sec)

This commit is contained in:
IDMhan 2023-11-22 23:08:47 +09:00
parent a82255ee81
commit 851911ce39
3 changed files with 7133 additions and 9 deletions

File diff suppressed because it is too large Load Diff

View File

@ -13,7 +13,7 @@ namespace BlueWaterProject.Type
private Transform visaualLook;
[Title("Nature")]
public float MotionSickValue { get; set; } //멀미
public float MotionSickValue { get; set; } //멀미 //motionSickValue가 1초당 10씩 증가
private float motionSickMaxValue;
private float hungerValue; //배고픔
private float hungerMaxValue;
@ -53,8 +53,6 @@ namespace BlueWaterProject.Type
{
base.Update();
stateMachine.Update();
//motionSickValue가 1초당 10씩 증가
}
protected override void LateUpdate()
@ -83,7 +81,7 @@ namespace BlueWaterProject.Type
private void InitNatureValue()
{
MotionSickValue = 0;
motionSickMaxValue = 100;
motionSickMaxValue = 300;
hungerValue = 0;
hungerMaxValue = 100;
diseaseValue = 0;