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
+1 -1
View File
@@ -1,4 +1,4 @@
/*Generated on:Tue Feb 19 2019 14:49:29 GMT+0100 (CET)*/ /*Generated on:Tue Feb 19 2019 17:58:25 GMT+0100 (CET)*/
var AutomaticDispose_Branch = "master"; var AutomaticDispose_Branch = "master";
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
var da_lss_adis_time = new Date().getTime(); var da_lss_adis_time = new Date().getTime();
+4 -12
View File
@@ -1,4 +1,4 @@
/*Generated on:Tue Feb 19 2019 14:49:29 GMT+0100 (CET)*/ /*Generated on:Tue Feb 19 2019 17:58:25 GMT+0100 (CET)*/
/* /*
* Dexie.js - a minimalistic wrapper for IndexedDB * Dexie.js - a minimalistic wrapper for IndexedDB
* =============================================== * ===============================================
@@ -18496,7 +18496,7 @@
} }
var JailValue = JailDistance * 450 * -1; var JailValue = JailDistance * 450 * -1;
JailValue += 11; //GefKw bevorzugt JailValue += 15000; //GefKw bevorzugt
if (JailTax == 0) { if (JailTax == 0) {
JailValue += 10000; JailValue += 10000;
@@ -18519,7 +18519,7 @@
if (JailFreeBeds >= 5) { if (JailFreeBeds >= 5) {
self.Jails.push({ self.Jails.push({
"id": JailID, "id": JailID,
"value": JailValue + 1000, "value": JailValue,
"text": JailText, "text": JailText,
"distance": JailDistance, "distance": JailDistance,
"href": JailHref "href": JailHref
@@ -18580,15 +18580,7 @@
JailValue -= 5000; JailValue -= 5000;
} }
if (JailFreeBeds >= CountGefangene) { if (JailFreeBeds >= 1) {
self.Jails.push({
"id": JailID,
"value": JailValue + 1000,
"text": JailText,
"distance": JailDistance,
"href": JailHref
});
} else if (JailFreeBeds >= 1) {
self.Jails.push({ self.Jails.push({
"id": JailID, "id": JailID,
"value": JailValue, "value": JailValue,
+3 -11
View File
@@ -697,7 +697,7 @@
} }
var JailValue = JailDistance * 450 * -1; var JailValue = JailDistance * 450 * -1;
JailValue += 11; //GefKw bevorzugt JailValue += 15000; //GefKw bevorzugt
if (JailTax == 0) { if (JailTax == 0) {
JailValue += 10000; JailValue += 10000;
@@ -720,7 +720,7 @@
if (JailFreeBeds >= 5) { if (JailFreeBeds >= 5) {
self.Jails.push({ self.Jails.push({
"id": JailID, "id": JailID,
"value": JailValue + 1000, "value": JailValue,
"text": JailText, "text": JailText,
"distance": JailDistance, "distance": JailDistance,
"href": JailHref "href": JailHref
@@ -781,15 +781,7 @@
JailValue -= 5000; JailValue -= 5000;
} }
if (JailFreeBeds >= CountGefangene) { if (JailFreeBeds >= 1) {
self.Jails.push({
"id": JailID,
"value": JailValue + 1000,
"text": JailText,
"distance": JailDistance,
"href": JailHref
});
} else if (JailFreeBeds >= 1) {
self.Jails.push({ self.Jails.push({
"id": JailID, "id": JailID,
"value": JailValue, "value": JailValue,