refactor: s1_abdata & s1_tdata caching implemented

#313
This commit is contained in:
Martin Ambrus
2017-11-20 23:46:45 +01:00
parent 3792fd5ed5
commit bc2eaa1380
3 changed files with 95 additions and 27 deletions
+1
View File
@@ -1227,6 +1227,7 @@ class Automation {
$database->getEnforceVillage($vilIDs, 0);
$database->getMovement(34, $vilIDs, 1);
$database->getPrisoners($vilIDs, 0);
$database->getABTech($vilIDs);
// calculate battles
foreach($dataarray as $data) {