… | |
… | |
214 | * able to use 2-3 of the most powerful items. |
214 | * able to use 2-3 of the most powerful items. |
215 | * note that this table is only really used for program generated items - |
215 | * note that this table is only really used for program generated items - |
216 | * custom objects can use whatever they want. |
216 | * custom objects can use whatever they want. |
217 | */ |
217 | */ |
218 | static int enc_to_item_power[21] = { |
218 | static int enc_to_item_power[21] = { |
|
|
219 | 0, |
219 | 0, 0, 1, 2, 3, 4, /* 5 */ |
220 | 0, 1, 2, 3, 4, /* 5 */ |
220 | 5, 7, 9, 11, 13, /* 10 */ |
221 | 5, 7, 9, 11, 13, /* 10 */ |
221 | 15, 18, 21, 24, 27, /* 15 */ |
222 | 15, 18, 21, 24, 27, /* 15 */ |
222 | 30, 35, 40, 45, 50 /* 20 */ |
223 | 30, 35, 40, 45, 50 /* 20 */ |
223 | }; |
224 | }; |
224 | |
225 | |
225 | int |
226 | int |