Замена Battle->add_log() на Log::add().
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
<?php
|
||||
|
||||
use Battle\Log;
|
||||
|
||||
if (!defined('GAME')) {
|
||||
die();
|
||||
}
|
||||
@@ -95,8 +98,8 @@ if (isset($hod)) {
|
||||
$rg = '--';
|
||||
}
|
||||
$mas1['text'] = '{tm1} {u1} {1x16x0} заклинание "<b>' . $pl['name'] . '</b>" на {u2} и восстановил магические силы. <b><font color=#006699>' . $rg . '</font></b> [' . floor($btl->stats[$btl->uids[$u->info['id']]]['mpNow']) . '/' . $btl->stats[$btl->uids[$u->info['id']]]['mpAll'] . '] (Мана)';
|
||||
$btl->add_log($mas1);
|
||||
|
||||
Log::add($mas1);
|
||||
|
||||
$mgd = mysql_fetch_array(mysql_query('SELECT `a`.`id` FROM `eff_users` AS `a` JOIN `priems` AS `b` ON `b`.`id` = `a`.`v2` WHERE `a`.`uid` = "' . $u->info['id'] . '" AND `a`.`v1` = "priem" AND `a`.`delete` = "0" AND `b`.`neg` = 1 ORDER BY `id` ASC LIMIT 1'));
|
||||
if (isset($mgd['id'])) {
|
||||
|
||||
Reference in New Issue
Block a user