mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-06-28 00:24:23 +00:00
Update Automation.php
This commit is contained in:
@@ -1640,9 +1640,8 @@ class Automation {
|
||||
//counting heroxp
|
||||
$defheroxp=intval($totalheroxp_def/count($DefenderHero));
|
||||
for ($i=1;$i<=count($DefenderHero);$i++){
|
||||
$reinfheroxp = $totalheroxp_def;
|
||||
$database->modifyHeroXp("experience",$reinfheroxp,$DefenderHero[$i]);
|
||||
}
|
||||
$reinfheroxp = $defheroxp;
|
||||
}
|
||||
|
||||
}
|
||||
$database->modifyPoints($toF['owner'],'dpall',$totaldead_att );
|
||||
|
||||
Reference in New Issue
Block a user