-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain_arrays.js
449 lines (397 loc) · 29.8 KB
/
main_arrays.js
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
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
// Arrays
// Pre-configured Arrays
var loot = [
{ name: `Dagger`, minDamage: 3.000, maxDamage: 13.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Wood`], p: 0.14 },
{ name: `Sword`, minDamage: 5.000, maxDamage: 15.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.23 },
{ name: `Axe`, minDamage: 6.000, maxDamage: 15.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Wood`], p: 0.20 },
{ name: `Mace`, minDamage: 8.000, maxDamage: 13.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Wood`], p: 0.18 },
{ name: `Longsword`, minDamage: 9.000, maxDamage: 14.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Wood`], p: 0.18 },
{ name: `Greatsword`, minDamage: 10.00, maxDamage: 16.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Wood`], p: 0.11 },
{ name: `Battleaxe`, minDamage: 12.00, maxDamage: 15.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Wood`], p: 0.14 },
{ name: `Warhammer`, minDamage: 11.00, maxDamage: 17.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Wood`], p: 0.12 },
{ name: `Staff`, minDamage: 5.00, maxDamage: 15.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Steel Plate`,`Dragon Plate`,`Diamond Plate`], p: 0.04 },
{ name: `Grand Staff`, minDamage: 8.00, maxDamage: 18.50, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Steel Plate`,`Dragon Plate`,`Diamond Plate`], p: 0.02 },
{ name: `Shortbow`, minDamage: 5.000, maxDamage: 11.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Steel Plate`,`Dragon Plate`,`Diamond Plate`], p: 0.13 },
{ name: `Longbow`, minDamage: 6.000, maxDamage: 15.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Steel Plate`,`Dragon Plate`,`Diamond Plate`], p: 0.09 },
{ name: `Crossbow`, minDamage: 8.000, maxDamage: 16.00, itemType: `Weapon`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Steel Plate`,`Dragon Plate`,`Diamond Plate`], p: 0.06 },
{ name: `Shield`, armorRating: 8.000, itemType: `Wearable`, itemSubType:`Shield`, ignoreTypes: [`Cloth`], p: 0.11 },
{ name: `Wall Shield`, armorRating: 13.00, itemType: `Wearable`, itemSubType:`Shield`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`], p: 0.04 },
{ name: `Shirt`, armorRating: 1.000, itemType: `Wearable`, itemSubType:`Chest`, onlyTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.22 },
{ name: `Duster`, armorRating: 1.000, itemType: `Wearable`, itemSubType:`Chest`, onlyTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.10 },
{ name: `Jacket`, armorRating: 2.000, itemType: `Wearable`, itemSubType:`Chest`, onlyTypes: [`Hide`,`Basic Leather`,`Leather`], p: 0.16 },
{ name: `Chestpiece`, armorRating: 6.000, itemType: `Wearable`, itemSubType:`Chest`, ignoreTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`,`Wood`], p: 0.16 },
{ name: `Helmet`, armorRating: 3.000, itemType: `Wearable`, itemSubType:`Head`, ignoreTypes: [`Cloth`,`Hide`,`Wood`], p: 0.16 },
{ name: `Heavy Helmet`, armorRating: 5.000, itemType: `Wearable`, itemSubType:`Head`, ignoreTypes: [`Cloth`,`Hide`,`Wood`], p: 0.06 },
{ name: `Shoes`, armorRating: 1.000, itemType: `Wearable`, itemSubType:`Feet`, onlyTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.13 },
{ name: `Boots`, armorRating: 3.000, itemType: `Wearable`, itemSubType:`Feet`, ignoreTypes: [`Cloth`,`Wood`], p: 0.17 },
{ name: `Heavy Boots`, armorRating: 4.000, itemType: `Wearable`, itemSubType:`Feet`, ignoreTypes: [`Cloth`,`Wood`,`Hide`,`Basic Leather`], p: 0.07 },
{ name: `Gauntlets`, armorRating: 3.000, itemType: `Wearable`, itemSubType:`Hands`, ignoreTypes: [`Cloth`,`Wood`], p: 0.18 },
{ name: `Heavy Gauntlets`, armorRating: 5.000, itemType: `Wearable`, itemSubType:`Hands`, ignoreTypes: [`Cloth`,`Hide`,`Wood`], p: 0.08 },
{ name: `Pants`, armorRating: 1.000, itemType: `Wearable`, itemSubType:`Legs`, onlyTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.20 },
{ name: `Leggings`, armorRating: 4.000, itemType: `Wearable`, itemSubType:`Legs`, ignoreTypes: [`Cloth`,`Wood`], p: 0.15 },
{ name: `Heavy Leggings`, armorRating: 7.000, itemType: `Wearable`, itemSubType:`Legs`, ignoreTypes: [`Cloth`,`Hide`,`Wood`], p: 0.07 },
{ name: `Small Sack`, itemType: `Inventory`, slots: 3, onlyTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.11 },
{ name: `Medium Sack`, itemType: `Inventory`, slots: 5, onlyTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.10 },
{ name: `Large Sack`, itemType: `Inventory`, slots: 7, onlyTypes: [`Hide`,`Basic Leather`,`Leather`], p: 0.09 },
{ name: `Small Knapsack`, itemType: `Inventory`, slots: 6, onlyTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.10 },
{ name: `Medium Knapsack`, itemType: `Inventory`, slots: 10, onlyTypes: [`Hide`,`Basic Leather`,`Leather`], p: 0.09 },
{ name: `Large Knapsack`, itemType: `Inventory`, slots: 15, onlyTypes: [`Basic Leather`,`Leather`], p: 0.08 },
{ name: `Small Backpack`, itemType: `Inventory`, slots: 10, onlyTypes: [`Cloth`,`Hide`,`Basic Leather`,`Leather`], p: 0.09 },
{ name: `Medium Backpack`, itemType: `Inventory`, slots: 15, onlyTypes: [`Basic Leather`,`Leather`], p: 0.06 },
{ name: `Large Backpack`, itemType: `Inventory`, slots: 20, onlyTypes: [`Basic Leather`,`Leather`], p: 0.06 },
{ name: `Traveler's Pack`, itemType: `Inventory`, slots: 30, onlyTypes: [`Basic Leather`,`Leather`], p: 0.04 },
{ name: `Adventurer's Pack`, itemType: `Inventory`, slots: 40, onlyTypes: [`Leather`], p: 0.03 },
{ name: `Scrap`, itemType: `Junk`, onlyTypes: [`Wood`,`Steel`,`Iron`], p: 0.15 },
{ name: `Rag`, itemType: `Junk`, onlyTypes: [`Basic Leather`,`Cloth`,`Hide`], p: 0.10 },
{ name: `Ore`, itemType: `Material`, onlyTypes: [`Steel`,`Iron`,`Metallic`,`Silver`,`Platinum`,`Oladium`,`Caxium`], p: 0.04 },
{ name: `Plank`, itemType: `Material`, onlyTypes: [`Wood`], p: 0.03 }
];
var enchantments = [
{ p: 1.00 }
];
var leatherenchants = [
{ p: 0.89 },
{ name: `Covering`, armorRating: 1.000, p: 0.09, onlyTypes: [`Wearable`] },
{ name: `Yielding`, armorRating: 1.500, p: 0.08, onlyTypes: [`Wearable`] },
{ name: `Buffering`, armorRating: 2.000, p: 0.08, onlyTypes: [`Wearable`] },
{ name: `Armoring`, armorRating: 3.000, p: 0.08, onlyTypes: [`Wearable`] }
];
var metalenchants = [
{ p: 0.81 },
{ name: `Slashing`, minDamage: 0.000, maxDamage: 5.000, p: 0.09, onlyTypes: [`Weapon`] },
{ name: `Laceration`, minDamage: 2.000, maxDamage: 6.000, p: 0.07, onlyTypes: [`Weapon`] },
{ name: `the Huntress`, minDamage: 2.000, maxDamage: 9.000, p: 0.05, onlyTypes: [`Weapon`] },
{ name: `Capturing`, minDamage: 3.250, maxDamage: 11.450, p: 0.11, onlyTypes: [`Weapon`] },
{ name: `Bleeding`, minDamage: 4.000, maxDamage: 14.000, p: 0.09, onlyTypes: [`Weapon`] },
{ name: `Weeping`, minDamage: 4.500, maxDamage: 13.825, p: 0.10, onlyTypes: [`Weapon`] },
{ name: `Hemorrhaging`, minDamage: 5.000, maxDamage: 15.000, p: 0.08, onlyTypes: [`Weapon`] },
{ name: `Grasp`, minDamage: 2.750, maxDamage: 16.000, p: 0.10, onlyTypes: [`Weapon`] },
{ name: `Light`, minDamage: 1.000, maxDamage: 10.000, minHeal: 0, maxHeal: 1, p: 0.10, onlyTypes: [`Weapon`] },
{ name: `Shining`, minDamage: 1.250, maxDamage: 11.000, minHeal: 0, maxHeal: 3, p: 0.09, onlyTypes: [`Weapon`] },
{ name: `Blinding Light`, minDamage: 1.500, maxDamage: 12.000, minHeal: 1, maxHeal: 5, p: 0.08, onlyTypes: [`Weapon`] },
{ name: `Reckoning`, minDamage: 2.000, maxDamage: 15.000, minHeal: 2, maxHeal: 6, p: 0.06, onlyTypes: [`Weapon`] },
{ name: `Covering I`, armorRating: 4.500, p: 0.09, onlyTypes: [`Wearable`] },
{ name: `Yielding I`, armorRating: 5.250, p: 0.08, onlyTypes: [`Wearable`] },
{ name: `Buffering I`, armorRating: 5.750, p: 0.08, onlyTypes: [`Wearable`] },
{ name: `Armoring I`, armorRating: 6.000, p: 0.08, onlyTypes: [`Wearable`] },
{ name: `Barring I`, armorRating: 6.500, p: 0.08, onlyTypes: [`Wearable`] },
{ name: `Covering II`, armorRating: 6.000, p: 0.07, onlyTypes: [`Wearable`] },
{ name: `Yielding II`, armorRating: 7.000, p: 0.06, onlyTypes: [`Wearable`] },
{ name: `Buffering II`, armorRating: 8.000, p: 0.06, onlyTypes: [`Wearable`] },
{ name: `Armoring II`, armorRating: 9.000, p: 0.05, onlyTypes: [`Wearable`] },
{ name: `Barring II`, armorRating: 10.00, p: 0.04, onlyTypes: [`Wearable`] }
];
var fiberenchants = [
{ p: 0.75 },
{ name: `Light I`, minDamage: 2.125, maxDamage: 12.000, minHeal: 0, maxHeal: 1, p: 0.10, onlyTypes: [`Weapon`] },
{ name: `Shining I`, minDamage: 2.250, maxDamage: 13.000, minHeal: 0, maxHeal: 3, p: 0.09, onlyTypes: [`Weapon`] },
{ name: `Blinding Light I`, minDamage: 2.750, maxDamage: 14.000, minHeal: 1, maxHeal: 5, p: 0.08, onlyTypes: [`Weapon`] },
{ name: `Reckoning I`, minDamage: 4.000, maxDamage: 16.000, minHeal: 2, maxHeal: 6, p: 0.06, onlyTypes: [`Weapon`] },
{ name: `Light II`, minDamage: 4.000, maxDamage: 13.000, minHeal: 1, maxHeal: 4, p: 0.08, onlyTypes: [`Weapon`] },
{ name: `Shining II`, minDamage: 5.000, maxDamage: 13.000, minHeal: 1, maxHeal: 5, p: 0.07, onlyTypes: [`Weapon`] },
{ name: `Blinding Light II`, minDamage: 6.000, maxDamage: 14.000, minHeal: 2, maxHeal: 6, p: 0.06, onlyTypes: [`Weapon`] },
{ name: `Reckoning II`, minDamage: 7.000, maxDamage: 16.000, minHeal: 4, maxHeal: 7, p: 0.04, onlyTypes: [`Weapon`] },
{ name: `Light III`, minDamage: 5.500, maxDamage: 14.000, minHeal: 0, maxHeal: 1, p: 0.05, onlyTypes: [`Weapon`] },
{ name: `Shining III`, minDamage: 6.250, maxDamage: 15.000, minHeal: 0, maxHeal: 3, p: 0.05, onlyTypes: [`Weapon`] },
{ name: `Blinding Light III`, minDamage: 7.000, maxDamage: 15.000, minHeal: 1, maxHeal: 5, p: 0.04, onlyTypes: [`Weapon`] },
{ name: `Reckoning III`, minDamage: 7.500, maxDamage: 17.000, minHeal: 2, maxHeal: 6, p: 0.04, onlyTypes: [`Weapon`] },
{ name: `Capturing I`, minDamage: 3.250, maxDamage: 13.450, p: 0.11, onlyTypes: [`Weapon`] },
{ name: `Weeping I`, minDamage: 4.500, maxDamage: 13.825, p: 0.11, onlyTypes: [`Weapon`] },
{ name: `Grasp I`, minDamage: 2.750, maxDamage: 16.000, p: 0.10, onlyTypes: [`Weapon`] },
{ name: `Reaping`, minDamage: 4.500, maxDamage: 15.000, p: 0.09, onlyTypes: [`Weapon`] },
{ name: `the Enticer`, minDamage: 4.800, maxDamage: 16.125, p: 0.08, onlyTypes: [`Weapon`] },
{ name: `Sabotage`, minDamage: 4.950, maxDamage: 16.000, p: 0.07, onlyTypes: [`Weapon`] },
{ name: `Soulsnare`, minDamage: 5.550, maxDamage: 14.000, p: 0.06, onlyTypes: [`Weapon`] },
{ name: `Sorrow`, minDamage: 6.825, maxDamage: 13.125, p: 0.06, onlyTypes: [`Weapon`] },
{ name: `the Gravedigger`, minDamage: 7.250, maxDamage: 13.250, p: 0.06, onlyTypes: [`Weapon`] },
{ name: `the Cage Fighter`, minDamage: 7.325, maxDamage: 14.500, p: 0.05, onlyTypes: [`Weapon`] },
{ name: `Covering II`, armorRating: 8.500, p: 0.10, onlyTypes: [`Wearable`] },
{ name: `Yielding II`, armorRating: 10.25, p: 0.09, onlyTypes: [`Wearable`] },
{ name: `Buffering II`, armorRating: 10.75, p: 0.09, onlyTypes: [`Wearable`] },
{ name: `Armoring II`, armorRating: 12.00, p: 0.08, onlyTypes: [`Wearable`] },
{ name: `Barring II`, armorRating: 12.50, p: 0.08, onlyTypes: [`Wearable`] },
{ name: `Covering III`, armorRating: 12.00, p: 0.07, onlyTypes: [`Wearable`] },
{ name: `Yielding III`, armorRating: 14.00, p: 0.06, onlyTypes: [`Wearable`] },
{ name: `Buffering III`, armorRating: 16.00, p: 0.06, onlyTypes: [`Wearable`] },
{ name: `Armoring III`, armorRating: 18.00, p: 0.05, onlyTypes: [`Wearable`] },
{ name: `Barring III`, armorRating: 20.00, p: 0.04, onlyTypes: [`Wearable`] },
{ name: `Covering IV`, armorRating: 16.00, p: 0.05, onlyTypes: [`Wearable`] },
{ name: `Yielding IV`, armorRating: 17.00, p: 0.05, onlyTypes: [`Wearable`] },
{ name: `Buffering IV`, armorRating: 18.00, p: 0.04, onlyTypes: [`Wearable`] },
{ name: `Armoring IV`, armorRating: 20.00, p: 0.04, onlyTypes: [`Wearable`] },
{ name: `Barring IV`, armorRating: 21.00, p: 0.04, onlyTypes: [`Wearable`] },
];
var platedenchants = [
{ p: 0.65 },
{ name: `Capturing II`, minDamage: 5.250, maxDamage: 15.450, p: 0.15, onlyTypes: [`Weapon`] },
{ name: `Weeping II`, minDamage: 6.500, maxDamage: 15.825, p: 0.14, onlyTypes: [`Weapon`] },
{ name: `Grasp II`, minDamage: 4.750, maxDamage: 18.000, p: 0.14, onlyTypes: [`Weapon`] },
{ name: `Reaping I`, minDamage: 6.500, maxDamage: 17.000, p: 0.14, onlyTypes: [`Weapon`] },
{ name: `the Enticer I`, minDamage: 6.800, maxDamage: 18.125, p: 0.13, onlyTypes: [`Weapon`] },
{ name: `Sabotage I`, minDamage: 6.950, maxDamage: 18.000, p: 0.13, onlyTypes: [`Weapon`] },
{ name: `Soulsnare I`, minDamage: 7.550, maxDamage: 16.000, p: 0.12, onlyTypes: [`Weapon`] },
{ name: `Sorrow I`, minDamage: 8.825, maxDamage: 15.125, p: 0.12, onlyTypes: [`Weapon`] },
{ name: `the Gravedigger I`, minDamage: 9.250, maxDamage: 15.250, p: 0.11, onlyTypes: [`Weapon`] },
{ name: `the Cage Fighter I`, minDamage: 9.325, maxDamage: 16.500, p: 0.11, onlyTypes: [`Weapon`] },
{ name: `the Olympian`, minDamage: 9.500, maxDamage: 17.750, p: 0.10, onlyTypes: [`Weapon`] },
{ name: `the Champion`, minDamage: 10.00, maxDamage: 19.250, p: 0.09, onlyTypes: [`Weapon`] },
{ name: `Unending`, minDamage: 15.00, maxDamage: 22.500, p: 0.08, onlyTypes: [`Weapon`] },
{ name: `Covering III`, armorRating: 16.25, p: 0.15, onlyTypes: [`Wearable`] },
{ name: `Yielding III`, armorRating: 17.50, p: 0.15, onlyTypes: [`Wearable`] },
{ name: `Buffering III`, armorRating: 18.50, p: 0.14, onlyTypes: [`Wearable`] },
{ name: `Armoring III`, armorRating: 21.00, p: 0.14, onlyTypes: [`Wearable`] },
{ name: `Barring III`, armorRating: 21.00, p: 0.14, onlyTypes: [`Wearable`] },
{ name: `Light III`, minDamage: 7.500, maxDamage: 16.000, minHeal: 2, maxHeal: 6, p: 0.15, onlyTypes: [`Weapon`] },
{ name: `Shining III`, minDamage: 9.250, maxDamage: 18.000, minHeal: 2, maxHeal: 6, p: 0.14, onlyTypes: [`Weapon`] },
{ name: `Blinding Light III`, minDamage: 12.000, maxDamage: 18.000, minHeal: 3, maxHeal: 7, p: 0.14, onlyTypes: [`Weapon`] },
{ name: `Reckoning III`, minDamage: 15.500, maxDamage: 19.000, minHeal: 5, maxHeal: 8, p: 0.13, onlyTypes: [`Weapon`] },
{ name: `Harmony`, minDamage: 16.000, maxDamage: 19.500, minHeal: 7, maxHeal: 10, p: 0.09, onlyTypes: [`Weapon`] },
{ name: `Brightness`, minDamage: 17.500, maxDamage: 19.750, minHeal: 8, maxHeal: 15, p: 0.08, onlyTypes: [`Weapon`] },
{ name: `Euphoria`, minDamage: 18.250, maxDamage: 20.000, minHeal: 10, maxHeal: 20, p: 0.06, onlyTypes: [`Weapon`] },
{ name: `Defense`, armorRating: 18.00, p: 0.11, onlyTypes: [`Wearable`] },
{ name: `Shielding`, armorRating: 19.00, p: 0.10, onlyTypes: [`Wearable`] },
{ name: `Protection`, armorRating: 20.00, p: 0.10, onlyTypes: [`Wearable`] },
{ name: `Seperation`, armorRating: 22.00, p: 0.09, onlyTypes: [`Wearable`] }
];
var lootTypes = [
{ name: `Cloth`, enchants: [{p:1.00}], p: 0.30, m: 0.250, level: 1 },
{ name: `Hide`, enchants: [{p:1.00}], p: 0.32, m: 0.500, level: 1 },
{ name: `Basic Leather`, enchants: [{p:1.00}], p: 0.35, m: 0.650, level: 1 },
{ name: `Wood`, enchants: [{p:1.00}], p: 0.35, m: 0.750, level: 1 },
{ name: `Leather`, enchants: leatherenchants, p: 0.35, m: 1.000, level: 1 },
{ name: `Iron`, enchants: metalenchants, p: 0.35, m: 1.125, level: 2 },
{ name: `Steel`, enchants: metalenchants, p: 0.34, m: 1.220, level: 3 },
{ name: `Steel Plate`, enchants: metalenchants, p: 0.34, m: 1.500, level: 5 },
{ name: `Caxium`, enchants: metalenchants, p: 0.34, m: 1.750, level: 7 },
{ name: `Silver`, enchants: metalenchants, p: 0.33, m: 1.750, level: 7 },
{ name: `Imperial Caxium`, enchants: metalenchants, p: 0.33, m: 2.000, level: 9 },
{ name: `Glass`, enchants: fiberenchants, p: 0.33, m: 2.500, level: 10 },
{ name: `Acrylic`, enchants: fiberenchants, p: 0.31, m: 3.750, level: 12 },
{ name: `Metallic`, enchants: metalenchants, p: 0.30, m: 5.000, level: 13 },
{ name: `Seeker`, enchants: fiberenchants, p: 0.29, m: 7.500, level: 15 },
{ name: `Warlord`, enchants: metalenchants, p: 0.27, m: 10.00, level: 20 },
{ name: `Vampiric`, enchants: fiberenchants, p: 0.25, m: 12.50, level: 21 },
{ name: `Iceshield`, enchants: fiberenchants, p: 0.22, m: 15.00, level: 22 },
{ name: `Platinum`, enchants: platedenchants, p: 0.20, m: 20.00, level: 35 },
{ name: `Oladium`, enchants: platedenchants, p: 0.17, m: 27.00, level: 40 },
{ name: `Dragon Plate`, enchants: platedenchants, p: 0.14, m: 30.00, level: 50 },
{ name: `Master Dragon Plate`, enchants: platedenchants, p: 0.12, m: 35.00, level: 55 },
{ name: `Demonic`, enchants: platedenchants, p: 0.10, m: 40.00, level: 55 },
{ name: `Demonic Warlord`, enchants: platedenchants, p: 0.08, m: 50.00, level: 60 },
{ name: `Celestial`, enchants: platedenchants, p: 0.05, m: 55.00, level: 65 },
{ name: `Ascension`, enchants: platedenchants, p: 0.03, m: 65.75, level: 75 },
{ name: `Diamond Plate`, enchants: platedenchants, p: 0.01, m: 75.00, level: 90 }
];
var quests = [
{ name:`A New Journey`, rewards: [], next: [`Into the Blight`,`Ironworks`,`Home Sweet Home`], requirements: [{discover:`WOOD`}] },
{ name:`Into the Blight`, rewards: [], next: [`The Bog`], currency: 500, requirements: [{reachLevel:5}] }, // discover darkgrove
{ name:`The Bog`, rewards: [], next: [`Wasteland`], currency: 1000, requirements: [{reachLevel:10}] }, // discover the marshlands
{ name:`Wasteland`, rewards: [], next: [`Frozen Lands`], currency: 1250, requirements: [{reachLevel:15}] }, // discover the wasteland
{ name:`Frozen Lands`, rewards: [], next: [`Gravedigging`], currency: 1500, requirements: [{reachLevel:20}] }, // discover coldwind
{ name:`Gravedigging`, rewards: [], next: [`The Void`], currency: 1750, requirements: [{reachLevel:25}] }, // discover the graveyard
{ name:`The Void`, rewards: [], next: [`The Ruins`], currency: 2000, requirements: [{reachLevel:30}] }, // discover the netheril
{ name:`The Ruins`, rewards: [], next: [`History In The Making`], currency: 2250, requirements: [{reachLevel:35}] }, // discover the nether ruins
{ name:`History In The Making`, rewards: [], next: [`Don't Look Down`], currency: 2500, requirements: [{reachLevel:40}] }, // discover the vekkesa's deep
{ name:`Don't Look Down`, rewards: [], next: [`One Way Back`], currency: 2750, requirements: [{reachLevel:45}] }, // discover fallen gorge
{ name:`One Way Back`, rewards: [], next: [`Saving The World`], currency: 3000, requirements: [{reachLevel:50}] }, // discover the vortex
{ name:`Saving The World`, rewards: [], next: [`Mystery Mountains`], currency: 3250, requirements: [{reachLevel:55}] }, // discover zrannlyc's domain
{ name:`Mystery Mountains`, rewards: [], next: [`Is This The End?`], currency: 3500, requirements: [{reachLevel:60}] }, // discover junhsey mountains
{ name:`Is This The End?`, rewards: [], next: [], currency: 3750, requirements: [{reachLevel:65}] }, // discover raedei growths
{ name:`Affluency I`, rewards: [], next: [`Affluency II`,`Materialistic`], xp: 25, requirements: [{haveSilver:10}] },
{ name:`Affluency II`, rewards: [], next: [`Affluency III`], xp: 50, requirements: [{haveSilver:25}] },
{ name:`Affluency III`, rewards: [], next: [`Affluency IV`], xp: 100, requirements: [{haveSilver:50}] },
{ name:`Affluency IV`, rewards: [], next: [`Affluency V`], xp: 250, requirements: [{haveGold:1}] },
{ name:`Affluency V`, rewards: [], next: [`Affluency VI`], xp: 500, requirements: [{haveGold:2},{haveSilver:50}] },
{ name:`Affluency VI`, rewards: [], next: [`Affluency VII`], xp: 1000, requirements: [{haveGold:5}] },
{ name:`Affluency VII`, rewards: [], next: [`Affluency VIII`], xp: 2500, requirements: [{haveGold:10}] },
{ name:`Affluency VIII`, rewards: [], next: [`Affluency IX`], xp: 5000, requirements: [{haveGold:25}] },
{ name:`Affluency IX`, rewards: [], next: [`Affluency X`], xp: 10000, requirements: [{haveGold:50}] },
{ name:`Affluency X`, rewards: [], next: [], xp: 25000, requirements: [{haveGold:100}] },
{ name:`Ironworks`, rewards: [], next: [`Blacksmith`], xp: 25, requirements: [{haveItemMat:`Iron`},{haveItemMat:`Steel`}] },
{ name:`Blacksmith`, rewards: [], next: [`Imperial Crafts`], xp: 50, requirements: [{haveItemMat:`Steel Plate`},{haveItemMat:`Caxium`}] },
{ name:`Imperial Crafts`, rewards: [], next: [`Purity`], xp: 125, requirements: [{haveItemMat:`Imperial Caxium`},{haveItemMat:`Silver`}] },
{ name:`Purity`, rewards: [], next: [`Warrior Material`], xp: 250, requirements: [{haveItemMat:`Glass`},{haveItemMat:`Acrylic`}] },
{ name:`Warrior Material`, rewards: [], next: [`For The Sightless`], xp: 750, requirements: [{haveItemMat:`Metallic`}] },
{ name:`For The Sightless`, rewards: [], next: [], xp: 1000, requirements: [{haveItemMat:`Seeker`}] },
{ name:`Materialistic`, rewards: [], next: [`Holding The Flame`], xp: 25, requirements: [{haveItemType:`Material`,count:5}] },
{ name:`Holding The Flame`, rewards: [], next: [`Junky`], xp: 25, requirements: [{haveItemType:`Quest`,count:5}] },
{ name:`Junky`, rewards: [], next: [], xp: 25, requirements: [{haveItemType:`Junk`,count:10}] },
{ name:`Home Sweet Home`, rewards: [], next: [], requirements: [{discover:`WTDI`},{discover:`WLC`},{discover:`CHAR`}] }
];
var continents = [
{ name:`Dreven`, level:1 },
{ name:`Coldwind Glacier`, level:20 },
{ name:`Baddran`, level:18 },
{ name:`Kaliyth`, level:20 },
{ name:`The Netheril`, level:30 },
{ name:`Urtune`, level:55 }
];
var regions = [
{ name:`Primada`, level:1, continent:continents[0] },
{ name:`Darkgrove`, level:5, continent:continents[0] },
{ name:`The Spire`, level:6, continent:continents[0] },
{ name:`Klaine's Draught`, level:9, continent:continents[0] },
{ name:`The Marshlands`, level:10, continent:continents[0] },
{ name:`The Wastes`, level:13, continent:continents[0] },
{ name:`Noruun`, level:18, continent:continents[0] },
{ name:`The Icecaps`, level:19, continent:continents[0] },
{ name:`Coldwind`, level:20, continent:continents[1] },
{ name:`Longhorn Forest`, level:18, continent:continents[2] },
{ name:`Redrock Mountains`, level:19, continent:continents[2] },
{ name:`Baddran Caverns`, level:22, continent:continents[2] },
{ name:`White Isles`, level:25, continent:continents[2] },
{ name:`Fiery Springs`, level:27, continent:continents[2] },
{ name:`Awyari Fields`, level:20, continent:continents[3] },
{ name:`Loreridge`, level:22, continent:continents[3] },
{ name:`The Graveyard`, level:24, continent:continents[3] },
{ name:`Dead's Pass`, level:27, continent:continents[3] },
{ name:`Ruined Lands`, level:30, continent:continents[4] },
{ name:`The Obelisk`, level:33, continent:continents[4] },
{ name:`Imperium`, level:34, continent:continents[4] },
{ name:`Nether Ruins`, level:35, continent:continents[4] },
{ name:`The Nethered Rocks`, level:37, continent:continents[4] },
{ name:`Vokkesa's Deep`, level:41, continent:continents[4] },
{ name:`Fallen Gorge`, level:47, continent:continents[4] },
{ name:`The Vortex`, level:50, continent:continents[4] },
{ name:`Zrannlyc's Domain`, level:53, continent:continents[4] },
{ name:`Bineru Hills`, level:55, continent:continents[5] },
{ name:`Raedei Forests`, level:57, continent:continents[5] },
{ name:`Junhsey Mountains`, level:59, continent:continents[5] },
{ name:`Alivaza Grasslands`, level:63, continent:continents[5] },
{ name:`Raedei Growths`, level:64, continent:continents[5] }
];
var travelPrices = [
{ from:`WOOD`, to:`CHAR`, price:75 },
{ from:`CHAR`, to:`WOOD`, price:55 }
];
var locations = [
{
displayName:`Charleston Headquarters Recruitment Center`,
name:`CHQRC`,
directions:[`CHQ`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
objects:[]
},
{
displayName:`Charleston Headquarters`,
name:`CHQ`,
directions:[`CHQRC`,`PTW`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
objects:[]
},
{
displayName:`Western Path`,
name:`PTW`,
directions:[`WOOD`,`CHQ`,`PTT`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
objects:[{name:`Chest`,chest:[]}]
},
{
displayName:`Woodston`,
name:`WOOD`,
directions:[`PTW`,`PTC`,`WTDI`,`WLC`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
objects:[{name:`Mailbox`,chest:[]},{name:`Travel Guide`,travel:[]}],
city:true
},
{
displayName:`The Drunken Inn`,
name:`WTDI`,
directions:[`WOOD`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
inn:{name:`The Drunken Inn`,bedPrice:10},
shop:{name:`The Drunken Inn`,items:[],sell:0.75,buy:1.0},
objects:[]
},
{
displayName:`Lenaya's Crafts`,
name:`WLC`,
directions:[`WOOD`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
shop:{name:`Lenaya's Crafts`,items:[],sell:0.9,buy:1.0},
objects:[]
},
{
displayName:`Eastern Path Fork`,
name:`PTC`,
directions:[`PTDG`,`PTCG`,`WOOD`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
objects:[]
},
{
displayName:`Southern Path`,
name:`PTT`,
directions:[`PTW`,`TREL`],
region:regions[0],
enemies:[],
enemySpawnChance:0.2,
objects:[]
},
{
displayName:`Northern Path`,
name:`PTDG`,
directions:[`PTC`],
region:regions[0],
enemies:[],
enemySpawnChance:0.05,
objects:[]
},
{
displayName:`The Trell`,
name:`TREL`,
directions:[`PTT`],
region:regions[0],
enemies:[],
enemySpawnChance:0.25,
objects:[{name:`Fountain`,loot:[]}]
},
{
displayName:`Eastern Path`,
name:`PTCG`,
directions:[`PTC`,`CHRG`],//CHRG
region:regions[0],
enemies:[],
enemySpawnChance:0,
objects:[]
},
{
displayName:`Charleston Gates`,
name:`CHRG`,
directions:[`CHAR`,`PTCG`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
objects:[]
},
{
displayName:`Charleston`,
name:`CHAR`,
directions:[`CHRG`],
region:regions[0],
enemies:[],
enemySpawnChance:0,
objects:[{name:`Travel Guide`,travel:[]}],
city:true
}
];
var enemies = [
{ name:`Gray Wolf`, level: 2, maxhealth: 15, mindamage: 1, maxdamage: 5, p: 0.05 },
{ name:`White Wolf`, level: 3, maxhealth: 18, mindamage: 2, maxdamage: 5, p: 0.02 },
{ name:`Thief`, level: 1, maxhealth: 22, weapon: {mat:`Iron`,item:`Dagger`}, p: 0.30 },
{ name:`Bandit`, level: 2, maxhealth: 29, weapon: {mat:`Iron`,item:`Sword`}, p: 0.15 },
{ name:`Bandit Leader`, level: 3, maxhealth: 35, weapon: {mat:`Iron`,item:`Sword`}, p: 0.04 }
];