Skip to content

Commit

Permalink
Fixes bouty hunter cosmetics (cr) with weapon poison not getting equi…
Browse files Browse the repository at this point in the history
…pment aliases (#571)

Co-authored-by: Cooper Morris <cooper@lite-check.com>
  • Loading branch information
coopermor and Cooper Morris authored Nov 25, 2024
1 parent 51478e3 commit a43f30f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/generateEquipmentAliases.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,8 @@ def main():
elif decoration_kit_match:
base_item_name = decoration_kit_match.group(1).strip()
# Crystal armor should not be aliases across Active and Inactive
if item['version'] in ['Active', 'Inactive']:
# Nor should items with weapon poison
if item['version'] in ['Active', 'Inactive', 'Unpoisoned', 'Poison', 'Poison+', 'Poison++']:
handle_base_variant(all_items, item, base_item_name, [item['version']])
elif base_item_name.endswith(" helm") and decoration_kit_match.group(2) == "h":
handle_base_variant(all_items, item, base_item_name.replace(" helm", " full helm"), [item['version']])
Expand Down
8 changes: 8 additions & 0 deletions src/lib/EquipmentAliases.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ const equipmentAliases = {
3140: [28065, 12414], // Dragon chainbody
13652: [28039, 26708], // Dragon claws
21902: [28053], // Dragon crossbow
1231: [28021], // Dragon dagger#Poison
5680: [28023], // Dragon dagger#Poison+
5698: [28025], // Dragon dagger#Poison++
1215: [28019], // Dragon dagger#Unpoisoned
12954: [24143, 27008, 19722], // Dragon defender#Normal
11335: [12417], // Dragon full helm
3204: [28049], // Dragon halberd
Expand All @@ -135,6 +139,10 @@ const equipmentAliases = {
4087: [28061, 12415], // Dragon platelegs
4585: [28063, 12416], // Dragon plateskirt
4587: [28031, 20000], // Dragon scimitar
1263: [28043], // Dragon spear#Poison
5716: [28045], // Dragon spear#Poison+
5730: [28047], // Dragon spear#Poison++
1249: [28041], // Dragon spear#Unpoisoned
1187: [28059, 12418], // Dragon sq shield
21009: [28029], // Dragon sword
13576: [28035, 26710], // Dragon warhammer
Expand Down

0 comments on commit a43f30f

Please sign in to comment.