첫 화면 띄우기 성공

This commit is contained in:
2018-11-26 04:05:34 +09:00
parent 8bb9ed8a18
commit af9cbb47ef
73 changed files with 350 additions and 289 deletions
+2 -2
View File
@@ -203,10 +203,10 @@ class NPC{
}
if($this->ego == null || $isFictionMode){
$ego = mt_rand(0, 9);//TODO: 나중에 성격을 따로 분리할 경우 클래스를 참조.
$ego = Util::choiceRandom(GameConst::$availablePersonality);
}
else{
$ego = \sammo\CharCall($this->ego);
$ego = Util::getClassName(\sammo\getPersonalityClass($this->ego));
}
$affinity = $this->affinity;