mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-09 21:01:00 +00:00
Add T4 Alliance Bonuses NEW_FUNCTION
Add T4 Alliance Bonuses NEW_FUNCTION
This commit is contained in:
@@ -52,6 +52,7 @@ include_once("Data/hero_full.php");
|
||||
include_once("Data/cp.php");
|
||||
include_once("Units.php");
|
||||
include_once("Battle.php");
|
||||
include_once("AllianceBonus.php");
|
||||
include_once("Technology.php");
|
||||
include_once("Ranking.php");
|
||||
include_once("Generator.php");
|
||||
@@ -149,6 +150,12 @@ class Automation {
|
||||
$this->updateGeneralAttack();
|
||||
$this->checkInvitedPlayes();
|
||||
$this->updateStore();
|
||||
|
||||
// Finalizeaza upgrade-urile de bonus de alianta ajunse la termen.
|
||||
if (class_exists('AllianceBonus') && AllianceBonus::enabled()) {
|
||||
$allianceBonus = new AllianceBonus();
|
||||
$allianceBonus->processUpgrades();
|
||||
}
|
||||
$this->CheckBan();
|
||||
$this->regenerateOasisTroops();
|
||||
$this->medals();
|
||||
|
||||
Reference in New Issue
Block a user