npcEachCount = $npcEachCount; $this->specAvg = $specAvg; $this->specDist = $specDist; $this->tech = $tech; $this->dex = $dex; } private function calcNpcEachCount(){ } public function run($env=null){ $db = DB::db(); $npcEachCount = $this->npcEachCount; if($npcEachCount < 0){ $npcEachCount = $db->queryFirstField('SELECT count(no) from general where npc<5'); $npcEachCount /= -1 * $this->npcEachCount; } return [__CLASS__, 'NYI']; } }