Skip to content

Commit

Permalink
data update
Browse files Browse the repository at this point in the history
  • Loading branch information
Bloodmallet committed Oct 26, 2024
1 parent d1bd81c commit 738d980
Show file tree
Hide file tree
Showing 41 changed files with 55 additions and 39 deletions.
14 changes: 14 additions & 0 deletions simc_support/game_data/Instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,9 @@ class Instance(int, enum.Enum):
AMIRDRASSIL_THE_DREAMS_HOPE = 1207
NERUBAR_PALACE = 1273

## event raids
BLACKROCK_DEPTHS_EVENT = 1301


class RaidTier(int, enum.Enum):
UNKNOWN = enum.auto()
Expand All @@ -104,6 +107,9 @@ def get_raid_tier_from_encounter_id(encounter_id: int) -> "RaidTier":
# Nerub-ar Palace
2607, # Ulgrax the Devourer
2611, # The Bloodbound Horror
# Blackrock Depths (event)
2663, # Lord Roccor
2664, # Bael'Gar
):
return RaidTier.LOW
elif encounter_id in (
Expand All @@ -118,6 +124,9 @@ def get_raid_tier_from_encounter_id(encounter_id: int) -> "RaidTier":
# Nerub-ar Palace
2599, # Sikran, Captain of the Sureki
2609, # Rasha'nan
# Blackrock Depths (event)
2666, # Golem Lord Argelmach
2667, # The Seven
):
return RaidTier.MID
elif encounter_id in (
Expand All @@ -133,6 +142,9 @@ def get_raid_tier_from_encounter_id(encounter_id: int) -> "RaidTier":
# Nerub-ar Palace
2612, # Broodtwister Ovi'nax
2601, # Nexus-Princess Ky'veza
# Blackrock Depths (event)
2669, # Ambassador Flamelash
2668, # General Angerforge
):
return RaidTier.HIGH
elif encounter_id in (
Expand All @@ -145,6 +157,8 @@ def get_raid_tier_from_encounter_id(encounter_id: int) -> "RaidTier":
# Nerub-ar Palace
2608, # The Silken Court
2602, # Queen Ansurek
# Blackrock Depths (event)
2670, # Emperor Dagran Thaurissan
):
return RaidTier.HIGHER
return RaidTier.UNKNOWN
1 change: 1 addition & 0 deletions simc_support/game_data/Season.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ def get_seasons_from_instance(
Instance.GRIM_BATOL,
# raids
Instance.NERUBAR_PALACE,
Instance.BLACKROCK_DEPTHS_EVENT,
)

if instance in tww_s1_instances:
Expand Down
1 change: 1 addition & 0 deletions simc_support/game_data/Trinket.py
Original file line number Diff line number Diff line change
Expand Up @@ -548,6 +548,7 @@ def raid_tier(self) -> typing.Optional[RaidTier]:
Instance.ABERUS_THE_SHADOWED_CRUCIBLE,
Instance.AMIRDRASSIL_THE_DREAMS_HOPE,
Instance.NERUBAR_PALACE,
Instance.BLACKROCK_DEPTHS_EVENT,
):
return None

Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/druid_balance.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/druid_feral.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/mage_arcane.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/mage_fire.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/mage_frost.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/paladin_holy.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/priest_holy.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/rogue_outlaw.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/warrior_arms.json

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trees/warrior_fury.json

Large diffs are not rendered by default.

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion simc_support/game_data/data_files/trinkets.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions simc_support/update/trinkets.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ def combine_into_json(self, data: typing.Dict[str, LOCALE_TABLES]) -> None:
if isinstance(effect["id_parent"], int):
if effect["id_parent"] in itemxitemeffects:
itemxitemeffects[effect["id_parent"]].append(
itemeffects[effect["id_item_effect"]][0]
itemeffects.get(effect["id_item_effect"], [-1])[0]
)
else:
itemxitemeffects[effect["id_parent"]] = [
itemeffects[effect["id_item_effect"]][0]
itemeffects.get(effect["id_item_effect"], [-1])[0]
]

logger.info("id_dict: JournalEncounterItem")
Expand Down

0 comments on commit 738d980

Please sign in to comment.