Skip to content

Commit

Permalink
4.2.7 fixes (#10427)
Browse files Browse the repository at this point in the history
* council is supposed to be maintenance free

* fix copy/paste oversight

* fix comment
  • Loading branch information
azum4roll authored Nov 4, 2023
1 parent 81c90da commit 099f0a7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ WHERE BuildingClass IN (
UPDATE Buildings
SET GoldMaintenance = 0
WHERE BuildingClass IN (
'BUILDINGCLASS_GROVE',
'BUILDINGCLASS_MARKET',
'BUILDINGCLASS_CARAVANSARY',
'BUILDINGCLASS_MINT',
Expand Down
2 changes: 1 addition & 1 deletion (2) Vox Populi/Database Changes/DefineChanges.sql
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ UPDATE Defines SET Value = 5 WHERE Name = 'GROWTH_PENALTY_PER_UNIT_OVER_SUPPLY';
UPDATE Defines SET Value = 100 WHERE Name = 'UNIT_SUPPLY_BASE_TECH_REDUCTION_PER_ERA';

-- Supply from city
-- City supply *= 1 - Tech progress * UNIT_SUPPLY_CITIES_TECH_REDUCTION_MULTIPLIER / UNIT_SUPPLY_CITIES_TECH_REDUCTION_DIVISOR
-- City supply /= (1 + Tech progress * UNIT_SUPPLY_CITIES_TECH_REDUCTION_MULTIPLIER / UNIT_SUPPLY_CITIES_TECH_REDUCTION_DIVISOR)
UPDATE Defines SET Value = 5 WHERE Name = 'UNIT_SUPPLY_CITIES_TECH_REDUCTION_MULTIPLIER';
UPDATE Defines SET Value = 6 WHERE Name = 'UNIT_SUPPLY_CITIES_TECH_REDUCTION_DIVISOR';

Expand Down
4 changes: 2 additions & 2 deletions (2) Vox Populi/Database Changes/Tech/EraSweeps.sql
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ VALUES
UPDATE Eras
SET
TradeRouteFoodBonusTimes100 = (SELECT Food FROM EraSweep WHERE Era = Type),
TradeRouteProductionBonusTimes100 = (SELECT Food FROM EraSweep WHERE Era = Type),
UnitSupplyBase = (SELECT Food FROM EraSweep WHERE Era = Type)
TradeRouteProductionBonusTimes100 = (SELECT Production FROM EraSweep WHERE Era = Type),
UnitSupplyBase = (SELECT Supply FROM EraSweep WHERE Era = Type)
WHERE EXISTS (SELECT 1 FROM EraSweep WHERE Era = Type);

DROP TABLE EraSweep;

0 comments on commit 099f0a7

Please sign in to comment.