Changeset 548 for trunk/CityProcessing.pas
- Timestamp:
- Apr 21, 2024, 10:57:18 AM (4 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/CityProcessing.pas
r522 r548 223 223 RelCorr := Dist / MaxDist; 224 224 if CorrLevel[RW[P].Government] > 1 then 225 RelCorr := Exp( ln(RelCorr) / CorrLevel[RW[P].Government]);225 RelCorr := Exp(Ln(RelCorr) / CorrLevel[RW[P].Government]); 226 226 if Built[imCourt] = 1 then 227 227 RelCorr := RelCorr / 2; … … 1628 1628 begin 1629 1629 if Value > 0 then 1630 Value := ln(Value) + 123;1630 Value := Ln(Value) + 123; 1631 1631 for I := oFood to oScience do 1632 1632 if ValueFormula_Multiply[I] and (Output[I] > 0) then 1633 1633 Value := Value + ValueFormula_Weight[I] * 1634 ( ln(Output[I]) + 123);1634 (Ln(Output[I]) + 123); 1635 1635 end; 1636 1636
Note:
See TracChangeset
for help on using the changeset viewer.