summaryrefslogtreecommitdiff
path: root/db/pre-re/refine_db.conf
blob: 725b8c225697df0134b574e06ef9550f5613d7c7 (plain) (blame)
1
2
3
4
5
6
7
8
9
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
//================= Hercules Database =====================================
//=       _   _                     _
//=      | | | |                   | |
//=      | |_| | ___ _ __ ___ _   _| | ___  ___
//=      |  _  |/ _ \ '__/ __| | | | |/ _ \/ __|
//=      | | | |  __/ | | (__| |_| | |  __/\__ \
//=      \_| |_/\___|_|  \___|\__,_|_|\___||___/
//================= License ===============================================
//= This file is part of Hercules.
//= http://herc.ws - http://github.com/HerculesWS/Hercules
//=
//= Copyright (C) 2015  Hercules Dev Team
//=
//= Hercules is free software: you can redistribute it and/or modify
//= it under the terms of the GNU General Public License as published by
//= the Free Software Foundation, either version 3 of the License, or
//= (at your option) any later version.
//=
//= This program is distributed in the hope that it will be useful,
//= but WITHOUT ANY WARRANTY; without even the implied warranty of
//= MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
//= GNU General Public License for more details.
//=
//= You should have received a copy of the GNU General Public License
//= along with this program.  If not, see <http://www.gnu.org/licenses/>.
//=========================================================================
//= Pre-Renewal Refine Database
//=========================================================================

/**************************************************************************
 ************* Entry structure ********************************************
 **************************************************************************
Armors/WeaponLevel1~4: {                                       // Specifies weapon level or armor type.
															   // - For armors, values of 100 add 1 armor defense.
															   // - For weapons, values of 100 add 1 ATK.
	StatsPerLevel: (int)                                       // This value is applied for ever level.
	RandomBonusStartLevel: (int)                               // This value specifies the start point for those levels that give a random bonus value (usually the first unsafe upgrade).
															   // - RandomBonusStartLevel is only applied for weapons, and not displayed client-side.
	RandomBonusValue: (int)                                    // A random number between 0 and (Random bonus start level - Upgrade level + 1) * this value is applied for all upgrades past.
	RefineryUISettings: (
		{
			Level: (int or array of int)                       // Holds either the individule refine level meant for this setting or an array defining a range
			                                                      of Low to Max level
			BlacksmithBlessing: (int) (optional)               // How many Blacksmith Blessing required for this range to be safe from breaking
			Announce: "(string)" (optional)                    // Sends an announcement server wide when a player reach this refine level using
			                                                      Refinery UI, this feature is only available starting from 2017-08-30 RagexeRE or
																  2017-09-06 Ragexe the field accepts the following values and it defaults to not announce
																  Success to set the announcement on item refine successful
																  Failure to set the announcement on item refine failure
																  Always to always announce it
			Items: {
				AegisName: {
					Type: "(string)"                           // The type to determine the chances used for this item, REFINE_CHANCE_TYPE_*
                                                                  constants are used in here
					Cost: (int) (optional)                     // Amount of zeny required
					FailureBehavior: "(string)" (optional)     // The expected behvaior on failure for this item, the following strings are used in here
																  Destroy (default) sets the item to be destroyed on failure
																  Keep keeps the item after failure
																  Downgrade downgrades the item by one level on failure
				}
			}
		}
	)
	Rates: {                                                   // Per level configuration of the refine rates.
		Lv1~10: {                                              // Lv1 ~ Lv10.
			NormalChance: (int)                                // (optional, defaults to 100) Chance of successful refine using normal ores (100 = 100%).
			EnrichedChance: (int)                              // (optional, defaults to 100 for weapons below refine level 10, otherwise 0.) Chance of successful refine using enriched ores (100 = 100%).
			EventNormalChance: (int)                           // (optional, defaults to 100) Chance of successful refine using normal ores (100 = 100%) during a refine event.
			EventEnrichedChance: (int)                         // (optional, defaults to 100 for weapons below refine level 10, otherwise 0.) Chance of successful refine using enriched ores (100 = 100%) during a refine event.
			Bonus: (int)                                       // (optional, defaults to 0) Bonus (Armor) for this level of refine.
		}
		// Note: Refine levels that use default values need not be listed. (Example: Lv1: { NormalChance: 100 Bonus: 0 })
	}
}
**************************************************************************/

Armors: {
	StatsPerLevel: 66
	RandomBonusStartLevel: 0
	RandomBonusValue: 0
	RefineryUISettings: (
		{
			Level: [1, 7]
			Items: {
				Elunium: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 2000
				}
				Enriched_Elunium: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 2000
				}
			}
		},
		{
			Level: [8, 10]
			Items: {
				Elunium: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 2000
				}
				Enriched_Elunium: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 2000
				}
				HD_Elunium: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 20000
					FailureBehavior: "Downgrade"
				}
			}
		},
	)
	Rates: {
		Lv5: {
			NormalChance: 60
			EnrichedChance: 90
			EventNormalChance: 60
			EventEnrichedChance: 95
		}
		Lv6: {
			NormalChance: 40
			EnrichedChance: 70
			EventNormalChance: 40
			EventEnrichedChance: 80
		}
		Lv7: {
			NormalChance: 40
			EnrichedChance: 70
			EventNormalChance: 40
			EventEnrichedChance: 80
		}
		Lv8: {
			NormalChance: 20
			EnrichedChance: 40
			EventNormalChance: 20
			EventEnrichedChance: 60
		}
		Lv9: {
			NormalChance: 20
			EnrichedChance: 40
			EventNormalChance: 20
			EventEnrichedChance: 50
		}
		Lv10: {
			NormalChance: 9
			EnrichedChance: 20
			EventNormalChance: 9
			EventEnrichedChance: 35
		}
	}
}
WeaponLevel1: {
	StatsPerLevel: 200
	RandomBonusStartLevel: 8
	RandomBonusValue: 300
	RefineryUISettings: (
		{
			Level: [1, 7]
			Items: {
				Phracon: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 50
				}
				Enriched_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 50
				}
			}
		},
		{
			Level: [8, 10]
			Items: {
				Phracon: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 50
				}
				Enriched_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 50
				}
				HD_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 20000
				}
			}
		},
	)
	Rates: {
		Lv8: {
			NormalChance: 60
			EnrichedChance: 90
			EventNormalChance: 60
			EventEnrichedChance: 95
		}
		Lv9: {
			NormalChance: 40
			EnrichedChance: 70
			EventNormalChance: 40
			EventEnrichedChance: 85
		}
		Lv10: {
			NormalChance: 19
			EnrichedChance: 30
			EventNormalChance: 19
			EventEnrichedChance: 55
		}
	}
}
WeaponLevel2: {
	StatsPerLevel: 300
	RandomBonusStartLevel: 7
	RandomBonusValue: 500
	RefineryUISettings: (
		{
			Level: [1, 7]
			Items: {
				Emveretarcon: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 200
				}
				Enriched_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 200
				}
			}
		},
		{
			Level: [8, 10]
			Items: {
				Emveretarcon: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 200
				}
				Enriched_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 200
				}
				HD_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 20000
				}
			}
		},
	)
	Rates: {
		Lv7: {
			NormalChance: 60
			EnrichedChance: 90
			EventNormalChance: 60
			EventEnrichedChance: 95
		}
		Lv8: {
			NormalChance: 40
			EnrichedChance: 70
			EventNormalChance: 40
			EventEnrichedChance: 85
		}
		Lv9: {
			NormalChance: 20
			EnrichedChance: 40
			EventNormalChance: 20
			EventEnrichedChance: 60
		}
		Lv10: {
			NormalChance: 19
			EnrichedChance: 30
			EventNormalChance: 19
			EventEnrichedChance: 45
		}
	}
}
WeaponLevel3: {
	StatsPerLevel: 500
	RandomBonusStartLevel: 6
	RandomBonusValue: 800
	RefineryUISettings: (
		{
			Level: [1, 7]
			Items: {
				Oridecon: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 5000
				}
				Enriched_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 5000
				}
			}
		},
		{
			Level: [8, 10]
			Items: {
				Oridecon: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 5000
				}
				Enriched_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 5000
				}
				HD_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 20000
				}
			}
		},
	)
	Rates: {
		Lv6: {
			NormalChance: 60
			EnrichedChance: 90
			EventNormalChance: 60
			EventEnrichedChance: 95
		}
		Lv7: {
			NormalChance: 50
			EnrichedChance: 80
			EventNormalChance: 50
			EventEnrichedChance: 90
		}
		Lv8: {
			NormalChance: 20
			EnrichedChance: 40
			EventNormalChance: 20
			EventEnrichedChance: 70
		}
		Lv9: {
			NormalChance: 20
			EnrichedChance: 40
			EventNormalChance: 20
			EventEnrichedChance: 60
		}
		Lv10: {
			NormalChance: 19
			EnrichedChance: 30
			EventNormalChance: 19
			EventEnrichedChance: 45
		}
	}
}
WeaponLevel4: {
	StatsPerLevel: 700
	RandomBonusStartLevel: 5
	RandomBonusValue: 1300
	RefineryUISettings: (
		{
			Level: [1, 7]
			Items: {
				Oridecon: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 5000
				}
				Enriched_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 5000
				}
			}
		},
		{
			Level: [8, 10]
			Items: {
				Oridecon: {
					Type: "REFINE_CHANCE_TYPE_NORMAL"
					Cost: 5000
				}
				Enriched_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 5000
				}
				HD_Oridecon: {
					Type: "REFINE_CHANCE_TYPE_ENRICHED"
					Cost: 20000
				}
			}
		},
	)
	Rates: {
		Lv5: {
			NormalChance: 60
			EnrichedChance: 90
			EventNormalChance: 60
			EventEnrichedChance: 95
		}
		Lv6: {
			NormalChance: 40
			EnrichedChance: 70
			EventNormalChance: 40
			EventEnrichedChance: 80
		}
		Lv7: {
			NormalChance: 40
			EnrichedChance: 70
			EventNormalChance: 40
			EventEnrichedChance: 80
		}
		Lv8: {
			NormalChance: 20
			EnrichedChance: 40
			EventNormalChance: 20
			EventEnrichedChance: 60
		}
		Lv9: {
			NormalChance: 20
			EnrichedChance: 40
			EventNormalChance: 20
			EventEnrichedChance: 50
		}
		Lv10: {
			NormalChance: 9
			EnrichedChance: 20
			EventNormalChance: 9
			EventEnrichedChance: 35
		}
	}
}