auf aktuelle anfrage hier die siedlerkosten.
anz_total: kosten
00: 400
01: 1000
02: 2200
03: 4000
04: 6400
05: 9400
06: 13000
07: 17200
08: 22000
09: 27400
10: 33400
11: 40000
12: 47200
13: 55000
14: 63400
15: 72400
16: 82000
17: 92200
18: 103000
19: 114400
20: 126400
my $anz1 = $dbh->selectrow_array("select staedte+siedler_anz from lh_profil where igid = $lo_igid");
my $anz2 = $dbh->selectrow_array("select count(einheit_id) from lh_einheiten where igid = $lo_igid and einheit_id = 2");
my $anz_total = int(($anz1 + $anz2 - 1)/2);
... scheint mir gerade etwas teuer zu werden. schwäche ich vermutlich im verlauf der runde noch etwas ab.