Function nick5() merged with nick class.
This commit is contained in:
@@ -61,7 +61,7 @@ if ($user['battle'] == 0) {
|
||||
case 'e':$sel='mearth';break;
|
||||
};
|
||||
$sex_action="применил";if($user['sex']==0) $sex_action.="а";
|
||||
addlog($user['battle'],'<span class=date>'.date("H:i").'</span> '.nick5($user['id'],$us_team).' '.$sex_action.$targeted.' заклинание '.$log_text.'<BR>');
|
||||
addlog($user['battle'],'<span class=date>'.date("H:i").'</span> '.nick::id($user['id'])->short().' '.$sex_action.$targeted.' заклинание '.$log_text.'<BR>');
|
||||
|
||||
//mass magic
|
||||
mysql_query ("UPDATE `users` SET `mana` = `mana`-'".$needmana."' WHERE `id` = '".$user['id']."';");
|
||||
@@ -97,7 +97,7 @@ if ($user['battle'] == 0) {
|
||||
|
||||
//сработало
|
||||
if($dmg>0) $hit='-1'; else $hit=0;
|
||||
$action=preg_replace("/Х/",nick5($target,$tar_team),magic_log($elem,$hit,$target));
|
||||
$action=preg_replace("/Х/",nick::id($target)->short(),magic_log($elem,$hit,$target));
|
||||
if($dmg>0)
|
||||
{
|
||||
if($us)
|
||||
|
||||
Reference in New Issue
Block a user