npc_control form

This commit is contained in:
2020-05-12 03:20:20 +09:00
parent 5414f7161f
commit 800c85dd03
12 changed files with 554 additions and 27 deletions
+2 -2
View File
@@ -303,8 +303,8 @@ class NPC{
$killturn = ($this->death - $year) * 12 + mt_rand(0, 11) + $month - 1;
}
$specage = $this->specAge?:$age + 1;
$specage2 = $this->specAge2?:$age + 1;
$specage = $this->specAge?:($age + 1);
$specage2 = $this->specAge2?:($age + 1);
$db->insert('general',[
'npc'=>$this->npc,