diff --git a/GameEngine/Automation.php b/GameEngine/Automation.php index 225736ff..aaedcf87 100644 --- a/GameEngine/Automation.php +++ b/GameEngine/Automation.php @@ -3837,7 +3837,7 @@ $crannyimg = "=1){ if($hdata['health']<100 and $hdata['health']>0){ - $reg = $hdata['health']+$hdata['regeneration']*5*ceil(SPEED/10)/86400*(time()-$hdata['lastupdate']); + $reg = $hdata['health']+$hdata['regeneration']*5*SPEED/86400*(time()-$hdata['lastupdate']); if($reg <= 100){ $database->modifyHero("health",$reg,$hdata['heroid']); }else{