change weight of GefKw at Jail sendings

This commit is contained in:
2019-02-19 17:58:25 +01:00
parent ce1abef09a
commit 2fffc9e024
3 changed files with 8 additions and 24 deletions

View File

@@ -697,7 +697,7 @@
}
var JailValue = JailDistance * 450 * -1;
JailValue += 11; //GefKw bevorzugt
JailValue += 15000; //GefKw bevorzugt
if (JailTax == 0) {
JailValue += 10000;
@@ -720,7 +720,7 @@
if (JailFreeBeds >= 5) {
self.Jails.push({
"id": JailID,
"value": JailValue + 1000,
"value": JailValue,
"text": JailText,
"distance": JailDistance,
"href": JailHref
@@ -781,15 +781,7 @@
JailValue -= 5000;
}
if (JailFreeBeds >= CountGefangene) {
self.Jails.push({
"id": JailID,
"value": JailValue + 1000,
"text": JailText,
"distance": JailDistance,
"href": JailHref
});
} else if (JailFreeBeds >= 1) {
if (JailFreeBeds >= 1) {
self.Jails.push({
"id": JailID,
"value": JailValue,