Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add format converter * feat: picking out of many results * feat: adjust enchant for v2 * test: add equal config tests for v2 * feat: migrate definitions to v2 config * refactor: get rid of v1 config * feat: add runs for talisman of insolence * feat: add run for talisman of insolence
- Loading branch information
1 parent
73836de
commit e90b299
Showing
12 changed files
with
273 additions
and
77 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 }], | ||
}, | ||
], | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.