Skip to content

Commit d96edb3

Browse files
committed
update weapon enchantments
1 parent b5c8a92 commit d96edb3

1 file changed

Lines changed: 18 additions & 9 deletions

File tree

bloodytools/simulations/weapon_enchant_simulator.py

Lines changed: 18 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class WeaponEnchant(SimcObject):
1414
def __init__(self, name: str, item_id: str):
1515
super().__init__(full_name=name)
1616

17-
self.ranks: typing.Tuple[int, ...] = (1, 2, 3)
17+
self.ranks: typing.Tuple[int, ...] = (1, 2)
1818
self.item_id: str = item_id
1919

2020

@@ -30,13 +30,21 @@ def __init__(self, name: str, spell_id: str):
3030
# WeaponEnchant(name="Authority of Air", item_id="223775"),
3131
# healing
3232
# WeaponEnchant(name="Authority of Fiery Resolve", item_id="223778"),
33-
WeaponEnchant(name="Authority of Radiant Power", item_id="223781"),
34-
WeaponEnchant(name="Authority of Storms", item_id="223772"),
35-
WeaponEnchant(name="Authority of the Depths", item_id="223784"),
36-
WeaponEnchant(name="Council's Guile", item_id="223759"),
37-
WeaponEnchant(name="Oathsworn's Tenacity", item_id="223768"),
38-
WeaponEnchant(name="Stonebound Artistry", item_id="223765"),
39-
WeaponEnchant(name="Stormrider's Fury", item_id="223762"),
33+
# WeaponEnchant(name="Authority of Radiant Power", item_id="223781"),
34+
# WeaponEnchant(name="Authority of Storms", item_id="223772"),
35+
# WeaponEnchant(name="Authority of the Depths", item_id="223784"),
36+
# WeaponEnchant(name="Council's Guile", item_id="223759"),
37+
# WeaponEnchant(name="Oathsworn's Tenacity", item_id="223768"),
38+
# WeaponEnchant(name="Stonebound Artistry", item_id="223765"),
39+
# WeaponEnchant(name="Stormrider's Fury", item_id="223762"),
40+
# WeaponEnchant(name="Acuity of the Ren'dorei", item_id="244029"),
41+
WeaponEnchant(name="Arcane Mastery", item_id="244031"),
42+
WeaponEnchant(name="Berserker's Rage", item_id="243973"),
43+
WeaponEnchant(name="Flames of the Sin'dorei", item_id="244027"),
44+
WeaponEnchant(name="Jan'alai's Precision", item_id="243971"),
45+
WeaponEnchant(name="Strength of Halazzi", item_id="243969"),
46+
# something breaks sim
47+
WeaponEnchant(name="Worldsoul Tenacity", item_id="244001"),
4048
]
4149

4250
# RANGED_HUNTER_ENCHANTS = [
@@ -153,8 +161,9 @@ def add_simulation_data(
153161
scaled_name = self.get_profile_name(
154162
enchant.full_name, str(rank)
155163
)
164+
ranked_name = f"enchant_weapon__{enchant.simc_name}_{rank}"
156165
scaled_simc_string = (
157-
f"{weapon_base_string},enchant={enchant.simc_name}_{rank}"
166+
f"{weapon_base_string},enchant={ranked_name}"
158167
)
159168

160169
simulation_data = Simulation_Data(

0 commit comments

Comments
 (0)