main #13

Closed
heain0122 wants to merge 47 commits from main into DEG-77-튜토리얼-구현
Showing only changes of commit 2708df17df - Show all commits

View File

@ -21,7 +21,38 @@ public class CasterDemonController : EnemyController
// TODO : 배틀 중일 때 루프
Debug.Log("## 몬스터의 교전 행동 루프");
StartCoroutine(ShotMagicMissile());
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;
}
}