diff options
Diffstat (limited to 'src/Model/Building')
-rw-r--r-- | src/Model/Building/Embassy.php | 2 | ||||
-rw-r--r-- | src/Model/Building/PostOffice.php (renamed from src/Model/Building/Marketplace.php) | 12 | ||||
-rw-r--r-- | src/Model/Building/TownHall.php | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/Model/Building/Embassy.php b/src/Model/Building/Embassy.php index a8a1ec4..4238c90 100644 --- a/src/Model/Building/Embassy.php +++ b/src/Model/Building/Embassy.php @@ -6,7 +6,7 @@ use App\Model\Building; class Embassy extends Building { - public int $buildTimeFactor = 1; + public int $buildTimeFactor = 10; public int $maxLevel = 25; public array $resourceRequirementsBase = [ diff --git a/src/Model/Building/Marketplace.php b/src/Model/Building/PostOffice.php index 8978003..5765a0f 100644 --- a/src/Model/Building/Marketplace.php +++ b/src/Model/Building/PostOffice.php @@ -3,13 +3,13 @@ namespace App\Model\Building; use App\Model\Building; -use App\Model\Unit\Merchant; +use App\Model\Unit\MailCarrier; use App\Model\Village; -class Marketplace extends Building +class PostOffice extends Building { - public string $unitType = 'Merchant'; - public int $buildTimeFactor = 1; + public string $unitType = 'MailCarrier'; + public int $buildTimeFactor = 5; public int $maxLevel = 25; public array $resourceRequirementsBase = [ @@ -25,8 +25,8 @@ class Marketplace extends Building public static function getResourceCapabilities(Village $village): int { - $merchants = Village::getUnit($village, 'Merchant', Village::FETCH_UNIT_RESIDENCE, Village::RETURN_UNIT_EXISTING); + $mailCarriers = Village::getUnit($village, 'MailCarrier', Village::FETCH_UNIT_RESIDENCE, Village::RETURN_UNIT_EXISTING); - return Merchant::getResourceCapabilities($village) * $merchants->amount; + return MailCarrier::getResourceCapabilities($village) * $mailCarriers->amount; } } diff --git a/src/Model/Building/TownHall.php b/src/Model/Building/TownHall.php index 33fd105..84a78a4 100644 --- a/src/Model/Building/TownHall.php +++ b/src/Model/Building/TownHall.php @@ -6,7 +6,7 @@ use App\Model\Building; class TownHall extends Building { - public int $buildTimeFactor = 1; + public int $buildTimeFactor = 2; public int $maxLevel = 25; public array $resourceRequirementsBase = [ |