/
talisman-of-insolence.ts
76 lines (75 loc) · 2.01 KB
/
talisman-of-insolence.ts
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
import { Item } from '../items';
import { EnchantMap } from '../types';
// https://forums.lineage2.com/topic/10049-tower-of-insolence/?do=findComment&comment=76516
export const talismanOfInsolenceEnchantMap: EnchantMap = new Map([
[
Item.TalismanOfInsolence_1,
{
item: Item.TalismanOfInsolence_1,
cost: new Map([
[Item.ElementalStone, 40],
[Item.EnergyOfInsolence, 2],
[Item.TalismanCrystal, 30],
]),
results: [
{ chance: 20, item: Item.TalismanOfInsolence_1 },
{ chance: 80, item: Item.TalismanOfInsolence_2 },
],
},
],
[
Item.TalismanOfInsolence_2,
{
item: Item.TalismanOfInsolence_2,
cost: new Map([
[Item.ElementalStone, 100],
[Item.EnergyOfInsolence, 3],
[Item.TalismanCrystal, 45],
]),
results: [
{ chance: 40, item: Item.TalismanOfInsolence_2 },
{ chance: 60, item: Item.TalismanOfInsolence_3 },
],
},
],
[
Item.TalismanOfInsolence_3,
{
item: Item.TalismanOfInsolence_3,
cost: new Map([
[Item.ElementalStone, 100],
[Item.EnergyOfInsolence, 4],
[Item.TalismanCrystal, 70],
]),
results: [
{ chance: 10, item: Item.TalismanOfInsolence_2 },
{ chance: 40, item: Item.TalismanOfInsolence_4 },
{ chance: 50, item: Item.TalismanOfInsolence_3 },
],
},
],
[
Item.TalismanOfInsolence_4,
{
item: Item.TalismanOfInsolence_4,
cost: new Map([
[Item.ElementalStone, 200],
[Item.EnergyOfInsolence, 5],
[Item.TalismanCrystal, 100],
]),
results: [
{ chance: 10, item: Item.TalismanOfInsolence_5 },
{ chance: 40, item: Item.TalismanOfInsolence_3 },
{ chance: 50, item: Item.TalismanOfInsolence_4 },
],
},
],
[
Item.TalismanOfInsolence_5,
{
item: Item.TalismanOfInsolence_5,
cost: new Map([[Item.Bx, 5_000]]),
results: [{ chance: 100, item: Item.TalismanOfInsolence_6 }],
},
],
]);