mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-08 05:36:10 +00:00
Update Automation.php
This commit is contained in:
@@ -1641,6 +1641,7 @@ class Automation {
|
||||
$defheroxp=intval($totalheroxp_def/count($DefenderHero));
|
||||
for ($i=1;$i<=count($DefenderHero);$i++){
|
||||
$reinfheroxp = $defheroxp;
|
||||
$database->modifyHeroXp("experience",$reinfheroxp,$DefenderHero[$i]);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user