hunter="T22_Hunter_Marksmanship"
source=default
spec=marksmanship
level=120
race=lightforged_draenei
role=attack
position=ranged_back
talents=1103031

# Default consumables
potion=unbridled_fury
flask=greater_flask_of_the_currents
food=famine_evaluator_and_snack_table
augmentation=battle_scarred

# This default action priority list is automatically created based on your character.
# It is a attempt to provide you with a action list that is both simple and practicable,
# while resulting in a meaningful and good simulation. It may not result in the absolutely highest possible dps.
# Feel free to edit, adapt and improve it to your own needs.
# SimulationCraft is always looking for updates and improvements to the default action lists.

# Executed before combat begins. Accepts non-harmful actions only.
actions.precombat=flask
actions.precombat+=/augmentation
actions.precombat+=/food
# Snapshot raid buffed stats before combat begins and pre-potting is done.
actions.precombat+=/snapshot_stats
actions.precombat+=/potion
actions.precombat+=/hunters_mark
# Precast this as early as possible to potentially gain another cast during the fight.
actions.precombat+=/double_tap,precast_time=10
actions.precombat+=/worldvein_resonance
actions.precombat+=/guardian_of_azeroth
actions.precombat+=/memory_of_lucid_dreams
actions.precombat+=/trueshot,precast_time=1.5,if=active_enemies>2
actions.precombat+=/aimed_shot,if=active_enemies<3

# Executed every time the actor is available.
actions=auto_shot
actions+=/use_item,name=pocketsized_computation_device,if=!buff.trueshot.up&!essence.blood_of_the_enemy.major.rank3|debuff.blood_of_the_enemy.up|target.time_to_die<5
# Try to line up activated trinkets with Trueshot
actions+=/use_items,if=buff.trueshot.up|!talent.calling_the_shots.enabled|target.time_to_die<20
actions+=/call_action_list,name=cds
actions+=/call_action_list,name=st,if=active_enemies<3
actions+=/call_action_list,name=trickshots,if=active_enemies>2

actions.cds=hunters_mark,if=debuff.hunters_mark.down&!buff.trueshot.up
actions.cds+=/double_tap,if=cooldown.rapid_fire.remains<gcd|cooldown.rapid_fire.remains<cooldown.aimed_shot.remains|target.time_to_die<20
actions.cds+=/berserking,if=buff.trueshot.up&(target.time_to_die>cooldown.berserking.duration+duration|(target.health.pct<20|!talent.careful_aim.enabled))|target.time_to_die<13
actions.cds+=/blood_fury,if=buff.trueshot.up&(target.time_to_die>cooldown.blood_fury.duration+duration|(target.health.pct<20|!talent.careful_aim.enabled))|target.time_to_die<16
actions.cds+=/ancestral_call,if=buff.trueshot.up&(target.time_to_die>cooldown.ancestral_call.duration+duration|(target.health.pct<20|!talent.careful_aim.enabled))|target.time_to_die<16
actions.cds+=/fireblood,if=buff.trueshot.up&(target.time_to_die>cooldown.fireblood.duration+duration|(target.health.pct<20|!talent.careful_aim.enabled))|target.time_to_die<9
actions.cds+=/lights_judgment
actions.cds+=/worldvein_resonance,if=buff.lifeblood.stack<4&!buff.trueshot.up
actions.cds+=/guardian_of_azeroth,if=(ca_execute|target.time_to_die>210)&(buff.trueshot.up|cooldown.trueshot.remains<16)|target.time_to_die<30
actions.cds+=/ripple_in_space,if=cooldown.trueshot.remains<7
actions.cds+=/memory_of_lucid_dreams,if=!buff.trueshot.up
actions.cds+=/potion,if=buff.trueshot.react&buff.bloodlust.react|buff.trueshot.up&ca_execute|target.time_to_die<25
actions.cds+=/trueshot,if=focus>60&(buff.precise_shots.down&cooldown.rapid_fire.remains&target.time_to_die>cooldown.trueshot.duration_guess+duration|target.health.pct<20|!talent.careful_aim.enabled)|target.time_to_die<15

actions.st=explosive_shot
actions.st+=/barrage,if=active_enemies>1
actions.st+=/a_murder_of_crows
actions.st+=/serpent_sting,if=refreshable&!action.serpent_sting.in_flight
actions.st+=/rapid_fire,if=buff.trueshot.down|focus<70
actions.st+=/blood_of_the_enemy,if=buff.trueshot.up&(buff.unerring_vision.stack>4|!azerite.unerring_vision.enabled)|target.time_to_die<11
actions.st+=/focused_azerite_beam,if=!buff.trueshot.up
actions.st+=/arcane_shot,if=buff.trueshot.up&buff.master_marksman.up&!buff.memory_of_lucid_dreams.up
actions.st+=/aimed_shot,if=buff.trueshot.up|(buff.double_tap.down|ca_execute)&buff.precise_shots.down|full_recharge_time<cast_time&cooldown.trueshot.remains
actions.st+=/arcane_shot,if=buff.trueshot.up&buff.master_marksman.up&buff.memory_of_lucid_dreams.up
actions.st+=/piercing_shot
actions.st+=/purifying_blast,if=!buff.trueshot.up
actions.st+=/concentrated_flame,if=!buff.trueshot.up
actions.st+=/the_unbound_force,if=buff.reckless_force.up|buff.reckless_force_counter.stack<10
actions.st+=/arcane_shot,if=buff.trueshot.down&(buff.precise_shots.up&(focus>41|buff.master_marksman.up)|(focus>50&azerite.focused_fire.enabled|focus>75)&(cooldown.trueshot.remains>5|focus>80)|target.time_to_die<5)
actions.st+=/steady_shot

actions.trickshots=barrage
actions.trickshots+=/explosive_shot
actions.trickshots+=/aimed_shot,if=buff.trick_shots.up&ca_execute&buff.double_tap.up
actions.trickshots+=/rapid_fire,if=buff.trick_shots.up&(azerite.focused_fire.enabled|azerite.in_the_rhythm.rank>1|azerite.surging_shots.enabled|talent.streamline.enabled)
actions.trickshots+=/aimed_shot,if=buff.trick_shots.up&(buff.precise_shots.down|cooldown.aimed_shot.full_recharge_time<action.aimed_shot.cast_time|buff.trueshot.up)
actions.trickshots+=/rapid_fire,if=buff.trick_shots.up
actions.trickshots+=/multishot,if=buff.trick_shots.down|buff.precise_shots.up&!buff.trueshot.up|focus>70
actions.trickshots+=/focused_azerite_beam
actions.trickshots+=/purifying_blast
actions.trickshots+=/concentrated_flame
actions.trickshots+=/blood_of_the_enemy
actions.trickshots+=/the_unbound_force,if=buff.reckless_force.up|buff.reckless_force_counter.stack<10
actions.trickshots+=/piercing_shot
actions.trickshots+=/a_murder_of_crows
actions.trickshots+=/serpent_sting,if=refreshable&!action.serpent_sting.in_flight
actions.trickshots+=/steady_shot

head=crest_of_the_undying_visionary,id=160630,bonus_id=4824/1507/4775,azerite_powers=483/30/44/13
neck=heart_of_azeroth,id=158075,bonus_id=4929/4930/4936/1536,azerite_level=33
shoulders=spaulders_of_coagulated_viscera,id=160731,bonus_id=4824/1507/4775,azerite_powers=485/30/14/13
back=cloak_of_rippling_whispers,id=160642,bonus_id=4800/1507
chest=cthraxxi_generals_hauberk,id=160725,bonus_id=4824/1507/4775,azerite_powers=212/21/85/13
wrists=rubywrought_sparkguards,id=160629,bonus_id=4800/1507
hands=gloves_of_involuntary_amputation,id=160626,bonus_id=4800/1507
waist=titanspark_energy_girdle,id=160633,bonus_id=4800/1507
legs=blighted_anima_greaves,id=160716,bonus_id=4800/1507
feet=fused_monstrosity_stompers,id=160628,bonus_id=4800/1507
finger1=band_of_certain_annihilation,id=160646,bonus_id=4800/1507,enchant=pact_of_mastery
finger2=rotscour_ring,id=160645,bonus_id=4800/1507,enchant=pact_of_mastery
trinket1=darkmoon_deck_fathoms,id=159125
trinket2=frenetic_corpuscle,id=160648,bonus_id=4800/1507
main_hand=reorigination_pulse_rifle,id=160694,bonus_id=4800/1507,enchant=incendiary_ammunition

# Gear Summary
# gear_ilvl=384.27
# gear_agility=4311
# gear_stamina=7207
# gear_crit_rating=792
# gear_haste_rating=1084
# gear_mastery_rating=664
# gear_versatility_rating=471
# gear_armor=2757
