46 lines
2.6 KiB
PHP
46 lines
2.6 KiB
PHP
<?
|
|
if(!defined('GAME'))
|
|
{
|
|
die();
|
|
}
|
|
|
|
//ëå÷åíèå ëåãêèõ òðàâì
|
|
$ov_item = $u->addItem(4412,$u->info['id'],'|srok=43200|sudba='.$u->info['login'].'');
|
|
if($ov_item > 0) {
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
|
|
//ïðîïóñê çàáûòûõ
|
|
$ov_item = $u->addItem(2412,$u->info['id'],'|srok=43200|battleUseZd=7200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//ææ6
|
|
$ov_item = $u->addItem(3101,$u->info['id'],'|srok=3600|battleUseZd=7200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//ëå÷åíèå ñðåäíèõ òðàâì
|
|
$ov_item = $u->addItem(4413,$u->info['id'],'|srok=43200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//ïðàâî íà ïîäâèã (áåçäíà)
|
|
$ov_item = $u->addItem(5035,$u->info['id'],'|srok=43200|battleUseZd=7200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//ïðàâî íà ïîäâèã (ãðèáíèöà)
|
|
$ov_item = $u->addItem(5039,$u->info['id'],'|srok=43200|battleUseZd=7200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//Ëå÷åíèå òÿæåëûõ òðàâì
|
|
$ov_item = $u->addItem(4414,$u->info['id'],'|srok=43200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//ïðàâî íà ïîäâèã (ÏÒÏ)
|
|
$ov_item = $u->addItem(5036,$u->info['id'],'|srok=43200|battleUseZd=7200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//ïðàâî íà ïîäâèã (Êàòàêîìáû)
|
|
$ov_item = $u->addItem(5037,$u->info['id'],'|srok=43200|battleUseZd=7200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//ïðàâî íà ïîäâèã (Ãîðà ëåãèîíà)
|
|
$ov_item = $u->addItem(5038,$u->info['id'],'|srok=43200|battleUseZd=7200|sudba='.$u->info['login'].'');
|
|
mysql_query('UPDATE `items_users` SET `iznosMAX` = "1" WHERE `id` = "'.$ov_item.'" LIMIT 1');
|
|
//
|
|
mysql_query('UPDATE `items_users` SET `iznosNOW` = `iznosNOW` + 1 WHERE `id` = '.$itm['id'].' LIMIT 1');
|
|
$u->error = 'Âû ïîëó÷èëè ïðåäìåòû:<br> Ëå÷åíèå ëåãêèõ òðàâì, Ëå÷åíèå ñðåäíèõ òðàâì, Ëå÷åíèå òÿæåëûõ òðàâì, ïðîïóñê çàáûòûõ, æàæäà æèçíè +6<br> ïðàâî íà ïîäâèã(áåçäíà), ïðàâî íà ïîäâèã(ãðèáíèöà),
|
|
ïðàâî íà ïîäâèã(ÏÒÏ), ïðàâî íà ïîäâèã(êàòàêîìáû), ïðàâî íà ïîäâèã(Ãîðà ëåãèîíà)';
|
|
|
|
}
|
|
|
|
?>
|