- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
- 83
- 84
- 85
- 86
- 87
- 88
- 89
- 90
- 91
- 92
public static class ItemInfo
{
static String _type;
static String _collor;
static int _encnant;
static int _fail;
static int _drop;
static int _price;
static void getInfo(int itemId)
{
switch(itemId)
{
case 11561:
case 13159:
case 13173:
case 13160:
case 13168:
case 13161:
case 13169:
case 13162:
case 13170:
case 13163:
case 13171:
case 15646:
case 15647:
_type = "[Необычный предмет]";
_collor = "008000";
_encnant = 50;
_fail = 0;
_drop = 0;
_price = 1000;
break;
case 12561:
case 14159:
case 14173:
case 14160:
case 14168:
case 14161:
case 14169:
case 14162:
case 14170:
case 14163:
case 14171:
case 16646:
case 16647:
_type = "[Редкий предмет]";
_collor = "4169E1";
_encnant = 40;
_fail = 0;
_drop = 0;
_price = 2000;
break;
}
}
public static String getType(int itemId)
{
getInfo(itemId);
return _type;
}
public static String getCollor(int itemId)
{
getInfo(itemId);
return _collor;
}
public static int getEncnant(int itemId)
{
getInfo(itemId);
return _encnant;
}
public static int getFail(int itemId)
{
getInfo(itemId);
return _fail;
}
public static int getDrop(int itemId)
{
getInfo(itemId);
return _drop;
}
public static int getPrice(int itemId)
{
getInfo(itemId);
return _price;
}
}