Requirements:
You need to have python installed.
Usage:
1. Save the code to a file, ie. "trinkets.py".
2. Change the source profile and trinket list as you like.
3. Do this in cmd: "python trinkets.py > trinket_comparison.simc"
4. Copy the contents of trinket_comparison.simc into SimC and press "Run".
Code: Select all
from itertools import combinations
# The base profile that denotes the name, other pieces of gear, spec, etc.
# You can also use your own character: source_profile = "armory=us,aerie-peak,komma"
source_profile = "Mage_Frost_T17H.simc"
# List of trinkets and how they will be displayed in the profile name
trinket_list = [ ("blackiron_micro_crucible,id=113984,bonus_id=567", "M-Crucible"),
("blackiron_micro_crucible,id=113984,bonus_id=566", "HC-Crucible"),
("quiescent_runestone,id=113859,bonus_id=567", "M-Runestone"),
("quiescent_runestone,id=113859,bonus_id=566", "HC-Runestone"),
("goren_soul_repository,id=119194,bonus_id=567", "M-Repository"),
("goren_soul_repository,id=119194,bonus_id=566", "HC-Repository"),
("darmacs_unstable_talisman,id=113948,bonus_id=567", "M-talisman"),
("darmacs_unstable_talisman,id=113948,bonus_id=566", "HC-talisman"),
("sandmans_pouch,id=112320,bonus_id=527", "DMFTrinketStage3"),
("copelands_clarity,id=118878", "CClarity"),
("shards_of_nothing,id=113835,bonus_id=567", "M-Shards"),
("shards_of_nothing,id=113835,bonus_id=566", "HC-Shards"),
("everburning_candle,id=118880", "EverburningCandle") ]
profile = source_profile + "\n"
profile += "default_actions=1\n"
profile += "\n".join( "\n".join([ "copy=" + combo[0][1] + "_" + combo[1][1],
"trinket1=" + combo[0][0],
"trinket2=" + combo[1][0] ])
for combo in combinations(trinket_list, 2)
if combo[0][0].split(",")[1] != combo[1][0].split(",")[1] )
print(profile)