npc_control form

This commit is contained in:
Hide_D committed 2020-05-12 03:20:20 +09:00
1 parent a62cd40fc0
commit 42c3c6ff46
12 files changed
+554 -27

No files matched your search

+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,