Update Automation.php

This commit is contained in:
Shadow
2013-11-23 17:38:01 +02:00
parent 19a147b72e
commit f2753429f9
+2 -3
View File
@@ -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 );