[feat] 랜덤 패턴 수행을 위한 메서드 추가

Work in JIRA ISSUE DEG-100
This commit is contained in:
Fiore 2025-04-29 16:06:07 +09:00
parent 882ef3b8dc
commit 2708df17df

View File

@ -21,7 +21,38 @@ public class CasterDemonController : EnemyController
// TODO : 배틀 중일 때 루프
Debug.Log("## 몬스터의 교전 행동 루프");
Thinking();
}
}
private void Thinking()
{
int selectedPattern = Random.Range(0, 10);
switch (selectedPattern)
{
case 0:
case 1:
case 2:
case 3:
case 4:
case 5:
case 6:
case 7:
case 8:
case 9:
StartCoroutine(ShotMagicMissile());
break;
}
}