enable unlimit hero experience

This commit is contained in:
unknown
2012-04-03 03:26:38 +03:00
parent 6340940dcc
commit 4c0344a1b8
+1 -2
View File
@@ -20,8 +20,7 @@ include_once("GameEngine/Data/hero_full.php");
$hero = $units->Hero($session->uid);
?>
<?php if ($hero_info['experience'] >= 495000) {
mysql_query("UPDATE ".TB_PREFIX."hero SET `experience` = 495000 where `uid`='".$session->uid."'");
<?php if ($hero_info['experience'] >= 495000) {
mysql_query("UPDATE ".TB_PREFIX."hero SET `level` = 100 where `uid`='".$session->uid."'");
?>
<table id="distribution" cellpadding="1" cellspacing="1">