diff --git a/twe/sammo/Event/Action/ChangeCity.php b/twe/sammo/Event/Action/ChangeCity.php index 24063e6b..74a46f76 100644 --- a/twe/sammo/Event/Action/ChangeCity.php +++ b/twe/sammo/Event/Action/ChangeCity.php @@ -1,5 +1,7 @@ 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']; + } +} \ No newline at end of file diff --git a/twe/sammo/Event/Action/RaiseInvaderStrong.php b/twe/sammo/Event/Action/RaiseInvaderStrong.php deleted file mode 100644 index 24eef512..00000000 --- a/twe/sammo/Event/Action/RaiseInvaderStrong.php +++ /dev/null @@ -1,13 +0,0 @@ -