Skip to content

Commit

Permalink
fix profession and pvp itemlevels
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloodmallet committed Apr 21, 2024
1 parent 3d7d990 commit 43f6e76
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
5 changes: 4 additions & 1 deletion simc_support/game_data/ItemLevel.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,19 @@ def _season_4_upgrade_range(upgrade_level: int) -> typing.List[int]:
Season.SEASON_1: [408, 424],
Season.SEASON_2: [424],
Season.SEASON_3: [-1],
Season.SEASON_4: [-1],
}, # split into aspirant and gladiator
Source.LOW_PVP: {
Season.SEASON_1: [408],
Season.SEASON_2: [437],
Season.SEASON_3: [-1],
Season.SEASON_4: [-1],
},
Source.HIGH_PVP: {
Season.SEASON_1: [382, 385, 389, 392, 395, 398, 402, 405, 408, 424],
Season.SEASON_2: [434, 450],
Season.SEASON_3: [-1],
Season.SEASON_3: [476],
Season.SEASON_4: [515],
},
Source.RARE_MOB: { # super rares that scale up
Season.SEASON_1: [379, 382, 385, 389, 392],
Expand Down
11 changes: 9 additions & 2 deletions simc_support/game_data/Trinket.py
Original file line number Diff line number Diff line change
Expand Up @@ -549,7 +549,12 @@ def seasons(self) -> typing.List[Season]:
return [Season.SEASON_1]

if self.source == Source.PROFESSION and "zzOld" not in self.full_name:
return [Season.SEASON_1, Season.SEASON_2, Season.SEASON_3]
return [
Season.SEASON_1,
Season.SEASON_2,
Season.SEASON_3,
Season.SEASON_4,
]

if self.source in (Source.PVP, Source.LOW_PVP, Source.HIGH_PVP):
if self.full_name.startswith("Crimson"):
Expand All @@ -558,6 +563,8 @@ def seasons(self) -> typing.List[Season]:
return [Season.SEASON_2]
elif self.full_name.startswith("Verdant"):
return [Season.SEASON_3]
elif self.full_name.startswith("Draconic"):
return [Season.SEASON_4]

if self.source == Source.RARE_MOB:
return [Season.SEASON_1]
Expand All @@ -569,7 +576,7 @@ def seasons(self) -> typing.List[Season]:
self.source == Source.CALLING
and "Paracausal Fragment of " in self.full_name
):
return [Season.SEASON_2, Season.SEASON_3]
return [Season.SEASON_2, Season.SEASON_3, Season.SEASON_4]
# TODO: add more logic to present more trinkets as season trinkets

if self.source == Source.TIMEWALKING and self.instance:
Expand Down

0 comments on commit 43f6e76

Please sign in to comment.