This repository was archived by the owner on Apr 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathaliases.js
More file actions
297 lines (270 loc) · 14.6 KB
/
aliases.js
File metadata and controls
297 lines (270 loc) · 14.6 KB
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
const prepName = require('./parse.js').prepName;
// Explain file here
const aliases = {};
const alias = (list = []) => list.reduce((group, alias, index, aliases) => ({
...group,
[prepName(alias)]: aliases.filter(word => word !== alias),
}), {});
const dictionary = (...lists) => lists.reduce((dictionary, list) => ({
...dictionary,
...alias(list),
}), {});
// The key for each is the name with lowercase and all punctuation stripped.
// For example: aliases["avalanche"] is ["Buster", "Doom Axe"]
// aliases["eldershammer"] is ["Acid Touch"]
aliases.equips = dictionary(
// WEAPON
["Bass", "Lira"],
["Lute", "Southern Lute"],
["Giant Gloves", "Titan"],
["Scalpel", "Tooth Blade"],
["Holy Avenger", "Heavens"],
["Chemeti Whip", "Sinking"],
["Slash", "Heaven's Wrath"],
["Finger", "Griffin’s Claw"],
["Sword Mace", "Noble Cross"],
["Sura Rampage", "Sky Smash"],
["Waghnak", "Claw", "Tacaro"],
["Forest Staff", "Lost Staff"],
["Meteor Whip", "Wishing Star"],
["Flamberge", "Furious Soldier"],
["Elder's Hammer", "Acid Touch"],
["Luna Bow", "Moonlight Goddess"],
["Sage Diary", "Sage’s Handbook"],
["Wing Staff", "Release Of Wish"],
["Spearfish Pike", "Ocean Dread"],
["Spell Book Of Ice", "Frost Book"],
["Buster", "Doom Axe", "Avalanche"],
["Curse Gauntlets", "Hand of Chaos"],
["Pole Axe", "Halberd", "Soul Spear"],
["Lush Fox Grass", "Giant Fox Grass"],
["Red Wing Revolver", "Inferno Pistol"],
["Knuckle Dusters", "Studded Knuckles"],
["Gold Lux Pistol", "Gold Law Enforcer"],
["Staff Of Element Fusion", "Unlimited"],
["Wildfire Swords", "Black Flame Sword"],
["Lance Of Dragon Tamer", "Dragon Howl"],
["Wind Wheel Dart", "Wind Dart - Venus"],
["Roguemaster's Bow", "Robin Hood’s Bow"],
["Bill Guisarme", "Punishing Guillotine"],
["Blood Axe", "Bloody Axe", "Blood Hound"],
["Spiritual Rod", "Starforged Magic Wand"],
["Mace Of Judgment", "Hammer Of Judgement"],
["Holy Stick", "Nemesis", "O’Neill’s Staff"],
["Loki's Nail", "Death Slice", "Death Gash"],
["Cardo", "Green Steel Pike", "Saintly Glaive"],
["Desert Twilight", "Sandstorm", "Desert Storm"],
["Assault Terminator", "Terminator Sniper Rifle"],
["Wind Shuriken", "Wind Shuriken - Swift Shadow"],
["Double Bound", "Cursed Lyre", "Painful Torture"],
["Orcish Axe", "Vecer Axe", "Destroyer’s War Axe"],
["Healing Staff", "Croce Staff", "Staff of Vitality"],
["Piercing Staff", "Wizardry Staff", "Wizard's Power"],
["Fullblack Dagger", "Holy Dagger", "Stalker's Knife"],
["Cross Bow", "Mystery Bow", "Bow of the Wind Chaser"],
["Cutlus", "Nagan", "Blade of Rage", "Blade Of Frenzy"],
["Berdysz", "Battle Berdysz", "War Axe Of Destruction"],
["Gakkung Bow", "Malang Snow Crab", "Overlord Crab Bow"],
["Renowned Blade - Muramasa", "Monster Knife - Muramasa"],
["Wonderful Fox Grass", "Fine Fox Grass", "Fine Pink Fox Grass"],
["Advanced Fox Grass", "Magical Fox Grass", "Magical Yellow Fox Grass"],
["Survivor's Rod", "Advanced Survival Staff", "Stardust Dragon Staff"],
["The bow of the wilderness", "The Arrow of Frost Moon"],
["Cursed Sword", "Sword of Hogne"],
["Arrogant Arbiter", "Fanatical Arbiter"],
["Knight's Sword", "Sword of Empire"],
["Cloud Feather", "Dark Night Light"],
["Scepter of Shadowy Wind", "Wind Wand"],
["Penetrator", "Ice Pick"],
["Expert Surgeon", "Tooth Blade"],
["Fate Blade", "Fortune Sword"],
["Bow of the Destroyer", "Abrey Bow"],
["Artisan's Hammer", "Hollgrehenn's Refined Hammer"],
["Hammer of Solem", "Burst Hammer"],
["Prayer of Death", "Magic Wing Staff"],
["Arc Light Wrench", "Engineer's Wrench"],
["Last Twilight", "Dark Finale"],
["Holy Glorious Punch", "Glorious Punch"],
["Vault Lightning Punch", "Lightning Punch"],
["Apocalypse Spear", "Heavy Spear"],
["Tome of Bloodscale", "Tome of Hellfire"],
["Advanced Fox Grass", "Magical Fox Grass"],
// OFFHAND
["Exorcism Bible", "Divine Eye"],
["Arm Armor", "Improved Arm Armor"],
["Mirror Shield", "Nirvana Shield"],
["Orleans's Server", "Peak Platter"],
["Stone Buckler", "Meteorite Buckler"],
["Magic Bible Vol1", "Sacrifice Book"],
["Sacrifice Book", "Creeper Agreement"],
["Nile's Bracelet", "Heilion Bracelet"],
["Sacred Mission", "Giant Wing Shield"],
["Static Shield", "Giant Armor Shield"],
["Telekinetic Orb", "Contract Jewelery"],
["Round Buckleer", "Royal Silver Shield"],
["Shield of Naga", "Dragon Flame Shield"],
["Memory Book", "Life Magic Book", "Arcane Codex"],
["Skull Bracer", "Evil Bracer", "Skeleton Bracer"],
["Floral Bracelet", "Rosa Bracelet", "Rosa Chain"],
["Chemical Protection Gloves", "Venom Fang Gloves"],
["Fox Wrist Guard", "Noble Bracer", "Golden Wrist"],
["Statue Of Guardian Angel", "Statue Of Archangel"],
["Golden Ornament", "Vinkt's Bracelet", "Vinkt Magic Bracelet"],
["Statue Of Judgement", "Statue Of Mother Mary", "Holy Mother's Radiance"],
// ARMOR
["Elegant Uniform", "Moon Gown"],
["Silk Robe", "Magic Light Cocoon"],
["Bohemian Coat", "Madman's Jacket"],
["Chain Mail", "Garman Plate Armor"],
["Robe Of Judgment", "Dawn Clothes"],
["Goibne's Armor", "Gods’ Blessings"],
["Surging Magic Robe", "Magic Abyss"],
["Staunch Armor", "The Chosen’s Armor"],
["Sniper Coat", "Jaeger Combat Uniform"],
["Staunch Clothes", "The Chosen’s Gown"],
["Meteorite Armor", "Comet Warfare Armor"],
["Alloy Mail", "Alloy Armor", "Bright Armor"],
["Scapulare", "Holy Robe", "Glorious Praise"],
["Dragon Vest", "Sniping Suit", "Tyre's Armor"],
["Mink Coat", "Beast Heart", "Tyrannical Armor"],
["Summoner Coat", "Stardust Robe", "Blanking Coat"],
["Wooden Mail", "Iron Armor", "Perseverance Armor"],
["Mage Coat", "Robe Of Cast", "Star Shatter’s Gown"],
["Saint's Robe", "Saint's Cape", "Shinewhole’s Robe"],
["Lord's Clothes", "Glittering Jacket", "Greed Shirt"],
["Tights", "Ranger Clothes", "Dark Star Stealth Clothes"],
["Rogue Clothes", "Thief Clothes", "Breath Holder’s Armor"],
["Mithril Metal Armor", "Legion Plate Armor", "Watcher's Armor"],
["Elegant Doram Manteau", "Elegant Doram Suit", "Lazy Meow Coat"],
["Elaborate Costume", "Elegant Dancing Dress","Floating Cloud Clothes"],
["Ninja Suit Sakura", "Ninja Suit Moonlight", "Ninja Clothes·Cold Night Song"],
// GARMENT
["Manteau", "Pauldron"],
["Deathcat Cape", "Hood"],
["Blueeve Cape", "Golden Manteau"],
["Ancient Cape", "White Duke's Manteau"],
["Illusion Garments", "Earl's Illusion Garments"],
["Cotton Shirt", "Undershirt", "Cloud Undershirt"],
["Staunch Cape", "Magic Staunch Manteau", "Deerskin Manteau"],
["Goibne's Spaulders", "Duff's Cape", "Merlin's Time-Space Robe"],
["Natto Kig’s Manteau", "Natto Kig's Cloak", "Divine Feather Clothes"],
["Survivor's Manteau", "Advanced Survivor's Manteau", "Grey Elf’s Manteau"],
// SHOE
["Shoes", "Bunny Slipper"],
["Safety Boots", "Greaves"],
["Tidal Shoes", "Mayfly Shoes"],
["Sniper Boots", "Ranger Boots"],
["Crystal Pumps", "White Gem Boots"],
["Deathcat Shoes", "Deathcat Boots"],
["Momo Shoes", "The Emperor's Boots"],
["Rescuer Shoes", "Soft Sole Hiking Boots"],
["Boots Of Judgment", "Light Of Truth Shoes"],
["Elegant Doram Shoes", "Kitten's Ankle Bell"],
["Dance Shoes", "Dancing Shoes", "Ballet Shoes"],
["Soldier Boots", "Through-War Shoes", "Steel Boots"],
["Rune Shoes", "Rune Boots", "Saint Mary's Cloth Shoes"],
["High Heels", "High Fashion Sandals", "Green Rattan Shoes"],
["Sack Teddy Shoes", "Advanced Sack Teddy Shoes", "Boar Bristle Shoes"],
["Wolf Grandmother’s Slippers", "Wolf Grandma’s Slippers", "Little Fairy’s Slippers"],
// ACCESSORY
["Matyr's Leash", "Fox Teeth"],
["Luna Brooch", "Bright Moon"],
["Critical Ring", "Fissure Beam"],
["Fairy in Bottle", "Fading Tear"],
["Eye of Dullahan", "Kraken's Eye"],
["Staunch Ring", "Ring of Loyalty"],
["Pocket Watch", "Time Manipulator"],
["Black Cat Brooch", "Cat Paw Stamp"],
["Orleans's Gloves", "Tibbers' Hand"],
["Brooch", "AGI Pin", "Seventh Sense"],
["Sniper Medal", "Hunting Certificate"],
["Rosary", "LUK Necklace", "Lucky Star"],
["Glove", "Dogtooth Gloves", "Dog Servant"],
["Orleans Necklace", "Tibbers's Redemption"],
["INT Earring", "Flame Ring", "Flame Feather"],
["Fire Ninja Shinobi’s Belt", "Hermit's Bundle"],
["Strength Ring", "Powerful Ring", "Ring of Contract"],
["Talisman Grass Necklace", "Four-Leaf Clover Necklace"],
["Ninja's Introduction Manual", "Ninja's Advanced Guide"],
["Tuna Talisman", "Fresh Tuna Talisman", "Original Will Talisman"],
["VIT Necklace", "Endurance Necklace", "STR Necklace", "Ring Of Immortality"]
);
aliases.potioneffect = dictionary(
// POTION - EFFECT
["Military Exploit", "Military Exploit Chest", "Military Exploit Chest - Off-hand", "Military Exploit Chest - Armor"]
);
aliases.mastela = dictionary(
["Mastela", "Seed of Mastela", "Mastela Fruit"]
);
// Gears that can be exchanged for Ancient Gear Refine Vouchers
const ancientTier1 = ["Cotton Shirt", "Undershirt", "Cloud Undershirt", "Ancient Cape", "White Duke's Manteau", "Blueeve Cape", "Golden Manteau",
"Survivor's Manteau", "Advanced Survivor's Manteau", "Grey Elf’s Manteau","Staunch Cape", "Magic Staunch Manteau", "Deerskin Manteau",
"Natto Kig’s Manteau", "Natto Kig's Cloak", "Divine Feather Clothes", "Elegant Doram Shoes", "Kitten's Ankle Bell", "Dance Shoes",
"Dancing Shoes", "Ballet Shoes", "Rescuer Shoes", "Soft Sole Hiking Boots", "Boots Of Judgment", "Light Of Truth Shoes",
"Wolf Grandmother’s Slippers", "Wolf Grandma’s Slippers", "Little Fairy’s Slippers", "Rune Shoes", "Rune Boots", "Saint Mary's Cloth Shoes",
"Staunch Ring", "Ring of Loyalty", "Orleans Necklace", "Tibbers's Redemption", "Orleans's Gloves", "Tibbers' Hand", "Luna Brooch", "Bright Moon",
"Eye of Dullahan", "Kraken's Eye", "Glove", "Dogtooth Gloves", "Dog Servant"]
const ancientTier2 = ["Goibne's Spaulders", "Duff's Cape", "Merlin's Time-Space Robe","Illusion Garments", "Earl's Illusion Garments",
"Crystal Pumps", "White Gem Boots", "Sack Teddy Shoes", "Advanced Sack Teddy Shoes", "Boar Bristle Shoes",
"Soldier Boots", "Through-War Shoes", "Steel Boots", "Momo Shoes", "The Emperor's Boots",
"High Heels", "High Fashion Sandals", "Green Rattan Shoes", "Tidal Shoes", "Mayfly Shoes", "Matyr's Leash", "Fox Teeth",
"Brooch", "AGI Pin", "Seventh Sense", "INT Earring", "Flame Ring", "Flame Feather", "Strength Ring", "Powerful Ring", "Ring of Contract",
"VIT Necklace", "Endurance Necklace", "STR Necklace", "Ring Of Immortality", "Rosary", "LUK Necklace", "Lucky Star"]
const ancientTier3 = ["Sniper Boots", "Ranger Boots", "Fairy in Bottle", "Fading Tear", "Black Cat Brooch", "Cat Paw Stamp", "Pocket Watch", "Time Manipulator",
"Fire Ninja Shinobi’s Belt", "Hermit's Bundle", "Critical Ring", "Fissure Beam", "Talisman Grass Necklace", "Four-Leaf Clover Necklace"]
const ancientTier4 = ["Tuna Talisman", "Fresh Tuna Talisman", "Original Will Talisman", "Ninja's Introduction Manual", "Ninja's Advanced Guide",
"Sniper Medal", "Hunting Certificate"]
const ancientTier5 = []
const appendtags = (equips, tags) => {
equips.forEach(equip => aliases.equips[prepName(equip)].push(...tags));
}
appendtags(ancientTier1, ["Ancient Tier 1", "Ancient Voucher"]);
appendtags(ancientTier2, ["Ancient Tier 2", "Ancient Voucher"]);
appendtags(ancientTier3, ["Ancient Tier 3", "Ancient Voucher"]);
appendtags(ancientTier4, ["Ancient Tier 4", "Ancient Voucher"]);
appendtags(ancientTier5, ["Ancient Tier 5", "Ancient Voucher"]);
const mvp = ["Angeling", "Golden Thief Bug", "Miss Tahnee", "Deviling", "Drake",
"Strouf", "Goblin Leader", "Mistress", "Maya", "Phreeoni", "Eddga",
"Osiris", "Moonlight Flower", "Orc Hero", "Kobold Leader", "Doppelganger",
"Atroce", "Orc Lord Helm", "Detarderous", "Owl Baron", "Bloody Knight",
"Baphomet", "Dark Lord", "Dracula", "Randgris", "Chimera", "Time Holder",
"Spashire", "Stormy Knight", "Garm", "Firelord Kaho", "Arc Angeling", "Grandma Wolf",
"Lord Of Death", "Bloody Murderer", "Katerina", "Deeven", "Eremes",
"Gloom Under Night", "Ktullanux", "Hill Wind", "Snake Demon Gorgons",
"Wasteland Lord", "Poi Tata", "Audhumbla", "Seed of Yggdrasil", "Soul Player",
"Dragon Bone", "Incantation Samurai", "Devil Squid", "Tao Gunka"];
const mini = ["Smokie", "Eclipse", "Mastering", "Vocal", "Basilisk", "Ghostring",
"Toad", "Rotar Zairo", "Dragon Fly", "Vagabond Wolf", "Wood Goblin",
"Gryphon", "Anubis", "Hyegun", "Orc Baby", "Jakk", "Mutant Dragon",
"Rafflesia", "Owl Duke", "Alice", "Zherlthsh", "Mysteltainn", "Dark Illusion",
"Clock", "Clock Tower Manager", "Chepet", "Fire Witch", "Flute Player",
"Cenia", "Deje", "Loli Ruri", "Gazeti", "Galion", "Fallen Bishop",
"Mao Guai Calvin", "Maple Fairy Yzma", "Whitebait Lake Lord", "Fire Bird Chiri",
"Limunus", "Gem Spirit"];
const dead = ["Dead Deviling", "Dead Drake", "Dead Strouf", "Goblin Leader Revenant",
"Mistress the Revenant", "Dead Maya", "Phreeoni the Revenant", "Dead Eddga", "Revenant Osiris",
"Dead Moonlight Flower", "Dead Soul", "Dead Atroce", "Detarderous the Dead",
"Dead Owl Baron", "Bloody Knight Undead", "Dead Time Holder", "Spashire the Dead", "Dead Chimera",
"Firelord Kaho Dead", "Firelord Dead Kaho", "Dead Stormy Knight", "Revenant Miss Tahnee"];
const tt = ["Valkyrie Rathgricy", "Tesseract", "Mentalist", "Magic Swordsman Thanatos"];
const makecarddict = (cards, append, aliases) => cards.reduce((dict, curr) => ({
...dict,
[prepName(curr+append)]: [...aliases],
}), {});
aliases.bosscards = {
...makecarddict(mvp, " Card", ["MVP Card", "MVP/Mini Card", "Boss Card"]),
...makecarddict(mvp, "★ Card", ["MVP★ Card", "MVP/Mini★ Card", "Boss Card"]),
...makecarddict(mini, " Card", ["Mini Card", "MVP/Mini Card", "Boss Card"]),
...makecarddict(mini, "★ Card", ["Mini★ Card", "MVP/Mini★ Card", "Boss Card"]),
...makecarddict(dead, " Card", ["Undead Card", "Dead Card", "Revenant Card", "Boss Card"]),
...makecarddict(tt, " Card", ["TT Card", "MVP Card", "MVP/Mini Card", "Boss Card"]),
};
for(let bossname of mvp) {
aliases.bosscards[prepName(bossname + " Card")].push(bossname + "★ Card");
aliases.bosscards[prepName(bossname + "★ Card")].push(bossname + " Card");
}
for(let bossname of mini) {
aliases.bosscards[prepName(bossname + " Card")].push(bossname + "★ Card");
aliases.bosscards[prepName(bossname + "★ Card")].push(bossname + " Card");
}
module.exports = aliases; // properties: equips, bosscards