game/_incl_data/class/priem/192.php

83 lines
3.4 KiB
PHP
Raw Normal View History

2022-06-06 21:30:34 +00:00
<?
if(!defined('GAME')) {
die();
}
/*
<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>: <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
*/
$pvr = array();
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>
$pvr['no'] = ' AND `a`.`v2` != 201';
$pvr['no'] = ' AND `a`.`v2` != 31';
//$pvr['no'] .= ' AND `a`.`v2` != 260';
$pvr['no'] .= ' AND `a`.`v2` != 191';
$pvr['no'] .= ' AND `a`.`v2` != 280';
$pvr['no'] .= ' AND `a`.`v2` != 201';
$pvr['no'] .= ' AND `a`.`v2` != 42 AND `a`.`v2` != 121 AND `a`.`v2` != 122 AND `a`.`v2` != 123 AND `a`.`v2` != 124 AND `a`.`v2` != 125';
$pvr['no'] .= ' AND `a`.`v2` != 186 AND `a`.`v2` != 246 AND `a`.`v2` != 257 AND `a`.`v2` != 281 AND `a`.`v2` != 292';
$pvr['no'] .= ' AND `a`.`v2` != 282';
$pvr['no'] .= ' AND `a`.`v2` != 21 AND `a`.`v2` != 73 AND `a`.`v2` != 74 AND `a`.`v2` != 75 AND `a`.`v2` != 76 AND `a`.`v2` != 77 AND `a`.`v2` != 78 AND `a`.`v2` != 79';
//$pvr['no'] .= 'AND `a`.`id_eff` = 386 AND `a`.`id_eff` = 387 AND `a`.`id_eff` = 465';
//$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>%" ';
$pvr['no'] .= ' AND `a`.`name` NOT LIKE "<22><><EFBFBD><EFBFBD>%" ';
$pvr['sp'] = mysql_query('SELECT `a`.*, `a`.`id` AS `ueffid` FROM `eff_users` AS `a` LEFT JOIN `priems` AS `b` ON `b`.`id` = `a`.`v2` WHERE `a`.`uid` = "'.$u->info['id'].'" AND `a`.`delete` = 0 AND `a`.`v1` = "priem" '.$pvr['no'].' AND ( (`b`.`neg` > 0 AND `a`.`v2` != 260) OR `a`.`v2` = 191 OR ( `a`.`v2` = 260 AND `a`.`data` NOT LIKE "%add_mg2static_points=0%" ) ) ORDER BY `a`.`id` DESC LIMIT 2');
mysql_query('DELETE FROM `eff_users` WHERE `uid` = "'.$u->info['id'].'" AND `v1`="priem" AND `v2`="345"');
while ($pvr['pl'] = mysql_fetch_array($pvr['sp']))
{
$pvr['pl']['priem'] = mysql_fetch_array(mysql_query('SELECT * FROM `priems` WHERE `id` = "'.$pvr['pl']['v2'].'" LIMIT 1'));
if( isset($pvr['pl']['priem']) && isset($pvr['pl']['id']) ) {
echo '<font color=red><b><3E><> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD> &quot;<3B><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>&quot;</b></font>';
$btl->priemAddLog( $id, 1, 2, $u->info['id'], $u->info['enemy'],
'<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>',
'{tm1} '.$btl->addlt(1 , 17 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL).'',
($btl->hodID)
);
$pvr['edt'] = $u->lookStats($pvr['pl']['data']);
$pvr['edt']['add_zm2proc'] = 0;
$pvr['edt']['add_mg2static_points'] = 0;
$pvr['edt'] = $u->impStats($pvr['edt']);
if( $pvr['pl']['priem']['id'] == 260 ) {
$prv['color2'] = '000000';
$prv['text'] = $btl->addlt(1 , 19 , $btl->users[$btl->uids[$u->info['id']]]['sex'] , NULL);
$prv['text2'] = '{tm1} <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> &quot;<b><3E><><EFBFBD><EFBFBD><EFBFBD></b>&quot; <20><><EFBFBD> {u1}.';
$btl->priemAddLog( $id, 1, 2, $u->info['id'], 0,
'',
$prv['text2'],
($btl->hodID + 0)
);
mysql_query('UPDATE `eff_users` SET `x` = 1, `data` = "'.$pvr['edt'].'" WHERE `id` = "'.$pvr['pl']['ueffid'].'" LIMIT 1');
}else{
$btl->delPriem($pvr['pl'],$btl->users[$btl->uids[$u->info['id']]],100);
}
$this->mintr($pl);
}else{
echo '<font color=red><b><3E><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>...</b></font>';
$cup = true;
}
}
//<2F><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
//$this->mintr($pl);
unset($pvr);
?>