| | Dzoki < dzoki.travian@gmail.com > | | Copyright: TravianX Project All rights reserved | \*-------------------------------------------------------*/ $hero = mysql_query("SELECT * FROM " . TB_PREFIX . "hero WHERE `uid` = " . $session->uid . ""); $hero_info = mysql_fetch_array($hero); $define['reset_level'] = 3; // Until which level you are able to reset your points ?>

Hero's mansion Level resarray['f' . $id]; ?>

In the Hero's mansion you can train your own hero and at level 10, 15 and 20 you can conquer oases with Hero in the immediate vicinity.

uid . ""); mysql_query("UPDATE " . TB_PREFIX . "units SET hero = 1 WHERE vref = ".$village->wid.""); } } } if(isset($_GET['land'])) { include("37_land.tpl"); } else { if(mysql_num_rows($hero) == 0){ include("37_train.tpl"); } if(mysql_num_rows($hero) != 0 AND $hero_info['trainingtime'] > time()){ include("37_train2.tpl"); } if(mysql_num_rows($hero) != 0 AND $hero_info['dead'] == 1){ include("37_revive.tpl"); } if(mysql_num_rows($hero) != 0 AND $hero_info['dead'] == 0 AND $hero_info['trainingtime'] <= time()){ include("37_hero.tpl"); } } include ("upgrade.tpl"); ?>