89 lines
1.5 KiB
PHP
89 lines
1.5 KiB
PHP
<?
|
|
if(!defined('GAME'))
|
|
{
|
|
die();
|
|
}
|
|
if($itm['magic_inci']=='ironbad') {
|
|
$u->deleteItem($itm['id']);
|
|
$idv=array(
|
|
0 => '523',
|
|
1 => '707',
|
|
2 => '633',
|
|
3 => '1151',
|
|
4 => '539',
|
|
5 => '520',
|
|
6 => '521',
|
|
7 => '522',
|
|
8 => '552',
|
|
9 => '553',
|
|
9 => '554',
|
|
10 => '556',
|
|
11 => '557',
|
|
12 => '558',
|
|
13 => '564',
|
|
14 => '567',
|
|
15 => '1026',
|
|
16 => '712',
|
|
17 => '714',
|
|
18 => '716',
|
|
19 => '717',
|
|
20 => '718',
|
|
21 => '317',
|
|
22 => '318',
|
|
23 => '320',
|
|
24 => '698',
|
|
25 => '706',
|
|
26 => '699',
|
|
27 => '705',
|
|
28 => '700',
|
|
29 => '703',
|
|
30 => '704',
|
|
31 => '1136',
|
|
32 => '1151',
|
|
33 => '548',
|
|
34 => '549',
|
|
35 => '550',
|
|
36 => '541',
|
|
37 => '543',
|
|
38 => '544',
|
|
39 => '545',
|
|
40 => '546',
|
|
41 => '685',
|
|
42 => '686',
|
|
43 => '687',
|
|
44 => '689',
|
|
45 => '692',
|
|
46 => '693',
|
|
47 => '695',
|
|
48 => '696',
|
|
49 => '674',
|
|
50 => '675',
|
|
51 => '677',
|
|
52 => '679',
|
|
53 => '680',
|
|
54 => '681',
|
|
55 => '683',
|
|
56 => '684',
|
|
57 => '647',
|
|
58 => '649',
|
|
59 => '651',
|
|
60 => '652',
|
|
61 => '653',
|
|
62 => '654',
|
|
63 => '655',
|
|
64 => '657',
|
|
65 => '658',
|
|
66 => '660',
|
|
67 => '722',
|
|
68 => '723',
|
|
69 => '1035',
|
|
70 => '10036'
|
|
);
|
|
$idve=$idv[rand(0,count($idv)-1)];
|
|
$u->addItem($idve,$u->info['id'],'|frompisher=1|sudba='.$u->info['login']);
|
|
$inf = mysql_fetch_array(mysql_query('SELECT * FROM `items_main` WHERE `id` = "'.$idve.'" LIMIT 1'));
|
|
$u->error = 'Вы получили:'.$inf['name'].'';
|
|
|
|
unset($idv);
|
|
}
|
|
?>
|