Fixed a bug while chiefing and catapulting

+Brewery, big parties and moral bonus are now counted correctly towards
the loyalty reduction
+If you have a brewery you'll now forced to attack random buildings
+Some clean-up
This commit is contained in:
iopietro
2018-05-01 17:03:41 +02:00
parent 2fc3e7b7da
commit 0a9fe1125e
4 changed files with 201 additions and 221 deletions
+1 -1
View File
@@ -1808,7 +1808,7 @@ class MYSQLi_DB implements IDbConnection {
case 6: $q = "SELECT * FROM " . TB_PREFIX . "vdata WHERE loyalty < 100";
break;
// villages without starvation data, Support, Natars, Taskmaster, Multihunter are all excluded
// villages without starvation data, Support, Nature, Natars, Taskmaster, Multihunter are all excluded
case 7: $q = "SELECT * FROM " . TB_PREFIX . "vdata WHERE starv = 0 and owner > 5";
break;
}