Closed gm4st3r closed 10 years ago
Fix this (When you press reset, you get back 10 points.)
Templates/Build/37_hero.tpl
find line 228 and change this:
mysql_query("UPDATE " . TB_PREFIX . "hero SET points = '".(($hero_info['level']*5)+10)."' WHERE uid = '" . $session->uid . "'");
points
uid
for this:
mysql_query("UPDATE " . TB_PREFIX . "hero SET points = '".(($hero_info['level']*5)+5)."' WHERE uid = '" . $session->uid . "'");
now its ok reset point hero 5
Done , thanks
Fix this (When you press reset, you get back 10 points.)
Templates/Build/37_hero.tpl
find line 228 and change this:
mysql_query("UPDATE " . TB_PREFIX . "hero SET
points
= '".(($hero_info['level']*5)+10)."' WHEREuid
= '" . $session->uid . "'");for this:
mysql_query("UPDATE " . TB_PREFIX . "hero SET
points
= '".(($hero_info['level']*5)+5)."' WHEREuid
= '" . $session->uid . "'");now its ok reset point hero 5