부대장 동작 관련 수정

This commit is contained in:
2020-04-27 02:30:52 +09:00
parent b9833c49d1
commit cc70cb44ab
4 changed files with 7 additions and 8 deletions
+6
View File
@@ -2626,6 +2626,12 @@ class GeneralAI
{
$general = $this->general;
if($general->getVar('npc') == 5){
$newKillTurn = ($general->getVar('killturn') + Util::randRangeInt(2, 4)) % 5;
$newKillTurn += 70;
$general->setVar('killturn', $newKillTurn);
}
$cmd = buildGeneralCommandClass('che_집합', $general, $this->env);
_setGeneralCommand($cmd, iterator_to_array(Util::range(GameConst::$maxTurn)));