game: NPC가 조금 더 상위병종을 시도할 확률을 높임
This commit is contained in:
@@ -174,7 +174,7 @@ class GameUnitDetail implements iAction{
|
|||||||
$defaultWar *= 1 + $this->speed / 2;
|
$defaultWar *= 1 + $this->speed / 2;
|
||||||
$defaultWar /= Util::valueFit(1 - $this->avoid / 100, 0.1);
|
$defaultWar /= Util::valueFit(1 - $this->avoid / 100, 0.1);
|
||||||
$defaultWar *= 1 + $this->magicCoef / 2;
|
$defaultWar *= 1 + $this->magicCoef / 2;
|
||||||
return sqrt($defaultWar);
|
return $defaultWar;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function isValid($ownCities, $ownRegions, $relativeYear, $tech){
|
public function isValid($ownCities, $ownRegions, $relativeYear, $tech){
|
||||||
|
|||||||
Reference in New Issue
Block a user