Skip to content

Commit

Permalink
Merge pull request #160 from GamerNoTitle/dev
Browse files Browse the repository at this point in the history
Dev Merge: Fix #158 & RGX 3.0 Update
  • Loading branch information
GamerNoTitle authored Jul 17, 2024
2 parents d6c747b + e24b77f commit cc0c26b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions utils/Weapon.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def __init__(self, uuid: str, cost: int = 0, discount: int = 0, discountPersenta
level['displayName'] = level['displayName'].replace(self.name, '').replace('\n', '').replace(
'(', '').replace(')', '').replace(' / ', '').replace('/', '/').replace('(', '').replace(')', '').replace(':', '').replace(' - ', '').replace('。', '')
for descr in dict(description_to_del).values():
level['displayName'] = level['displayName'].replace(descr, '')
for subdescr in descr:
level['displayName'] = level['displayName'].replace(
subdescr, '')
try:
if level['levelItem'] == None:
level['levelItem'] = levelup_info['EEquippableSkinLevelItem::VFX']
Expand Down Expand Up @@ -120,7 +122,6 @@ def __init__(self, uuid: str, name: str, cost: int = 0, discount: int = 0, disco
self.per = discountPersentage
for level in self.levels:
level['uuid'] = level['uuid'].upper()
# level['displayName'] = level['displayName'].replace(self.name, '').replace('.', '').replace('。', '')
level['displayName'] = level['displayName'].replace(self.name, '').replace('\n', '').replace(
'(', '').replace(')', '').replace(' / ', '').replace('/', '/').replace('(', '').replace(')', '').replace(':', '').replace(' - ', '').replace('。', '')
for descr in dict(description_to_del).values():
Expand Down

0 comments on commit cc0c26b

Please sign in to comment.