game/_incl_data/class/magic/ironnorm.php

102 lines
1.7 KiB
PHP
Raw Normal View History

2023-03-31 18:42:06 +00:00
<?php
2022-06-06 21:30:34 +00:00
if(!defined('GAME'))
{
die();
}
if($itm['magic_inci']=='ironnorm') {
$u->deleteItem($itm['id']);
$idv=array(
0 => '1129',
1 => '1143',
2 => '1157',
3 => '2071',
4 => '2167',
5 => '2059',
6 => '1160',
7 => '2170',
8 => '1211',
9 => '2173',
10 => '2082',
11 => '2066',
12 => '1214',
13 => '1183',
14 => '1138',
15 => '1148',
16 => '1216',
17 => '1212',
18 => '1141',
19 => '1149',
20 => '1180',
21 => '2062',
22 => '2084',
23 => '2172',
24 => '1142',
25 => '859',
26 => '860',
27 => '1139',
28 => '1177',
29 => '862',
30 => '1209',
31 => '1137',
32 => '1150',
33 => '1178',
34 => '1210',
35 => '2068',
36 => '2080',
37 => '2176',
38 => '1152',
39 => '1135',
40 => '1181',
41 => '1213',
42 => '2069',
43 => '2083',
44 => '2175',
45 => '1182',
46 => '2057',
47 => '1140',
48 => '1156',
49 => '1215',
50 => '2067',
51 => '2081',
52 => '2174',
53 => '1134',
54 => '1154',
55 => '1184',
56 => '2063',
57 => '2077',
58 => '2179',
59 => '4505',
60 => '1217',
61 => '1221',
62 => '1241',
63 => '2055',
64 => '1133',
65 => '1155',
66 => '1185',
67 => '1218',
68 => '1222',
69 => '1242',
70 => '2056',
71 => '2064',
72 => '2078',
73 => '2178',
74 => '1132',
75 => '1153',
76 => '1179',
77 => '2065',
78 => '2079',
79 => '2177',
80 => '4506',
81 => '1219',
82 => '1223',
83 => '1243',
84 => '10037'
);
$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'));
2023-01-10 16:29:32 +00:00
$u->error = 'Вы получили:'.$inf['name'].'';
2022-06-06 21:30:34 +00:00
unset($idv);
}
?>