change weight of GefKw at Jail sendings
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user