Hero($id,1); // find a hero who's alive $heroAliveIndex = -1; if ($hero !== false) { foreach ($hero as $hid => $h) { if (!$h['dead']) { $heroAliveIndex = $hid; break; } } } ?> Dead   (cannot revive, kill living hero first)'; } ?> $count_level_exp) $h['points']=$count_level_exp; if($h['experience'] < 495000){ ?>
Player Heroes
None   Add Hero \"".$technology-getUnitName($utribe+1)."\" title=\"".$technology->getUnitName($utribe+1)."\" />"; echo " \"".$technology-getUnitName($utribe+2)."\" title=\"".$technology->getUnitName($utribe+2)."\" />"; if ($utribe!=20) { echo " \"".$technology-getUnitName($utribe+3)."\" title=\"".$technology->getUnitName($utribe+3)."\" />"; }else{ echo " \"".$technology-getUnitName($utribe+4)."\" title=\"".$technology->getUnitName($utribe+4)."\" />"; } echo " \"".$technology-getUnitName($utribe+5)."\" title=\"".$technology->getUnitName($utribe+5)."\" />"; echo " \"".$technology-getUnitName($utribe+6)."\" title=\"".$technology->getUnitName($utribe+6)."\" />"; ?>
Hero #
Hero Name
Hero Level
Hero Unit getUnitName($h['unit'])."\" title=\"".$technology->getUnitName($h['unit'])."\" /> (".$technology->getUnitName($h['unit']); ?>)
Status > Alive  '>  
Details Point Level
Offence
Defence
Off-Bonus %
Def-Bonus %
Regeneration /Day
Experience: % Experience: 100%
Health %
 
 
Here could not be killed due to an unexpected error.'; }elseif(isset($_GET['kc'])){ echo '
Hero has been killed.
'; }elseif(isset($_GET['rc'])){ echo '
Hero has been revived.
'; }elseif(isset($_GET['re'])){ echo '
Hero cannot be revived because another hero still lives or is in revival.
'; }elseif(isset($_GET['ac'])){ echo '
A new hero was added.
'; }elseif(isset($_GET['cs'])){ echo '
Hero information has been saved.
'; }elseif(isset($_GET['ce'])){ echo '
Hero data could not be edited due to an unexpected error.
'; } ?>