rogue="Rogue_Subtlety_T18H"
level=100
race=night_elf
timeofday=day
role=attack
position=back
talents=1230011
spec=subtlety

# 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,type=greater_draenic_agility_flask
actions.precombat+=/augmentation,type=hyper
actions.precombat+=/food,type=jumbo_sea_dog
# Snapshot raid buffed stats before combat begins and pre-potting is done.
actions.precombat+=/snapshot_stats
actions.precombat+=/stealth
actions.precombat+=/potion,name=draenic_agility
actions.precombat+=/marked_for_death,if=raid_event.adds.in>40
actions.precombat+=/symbols_of_death
actions.precombat+=/vanish,if=set_bonus.tier18_4pc

# Executed every time the actor is available.

actions=nightblade,if=set_bonus.tier18_4pc&refreshable&time<5
actions+=/variable,name=ssw_er,value=equipped.shadow_satyrs_walk*(10-floor(target.distance*0.5))
actions+=/variable,name=ed_threshold,value=energy.deficit<=(20+talent.vigor.enabled*35+talent.master_of_shadows.enabled*25+variable.ssw_er)
actions+=/call_action_list,name=cds
# Fully switch to the Stealthed Rotation (by doing so, it forces pooling if nothing is available)
actions+=/run_action_list,name=stealthed,if=stealthed|buff.shadowmeld.up
actions+=/call_action_list,name=finish,if=combo_points>=5|(combo_points>=4&spell_targets.shuriken_storm>=3&spell_targets.shuriken_storm<=4)
actions+=/call_action_list,name=stealth_cds,if=combo_points.deficit>=2+talent.premeditation.enabled&(variable.ed_threshold|(cooldown.shadowmeld.up&!cooldown.vanish.up&cooldown.shadow_dance.charges<=1))
actions+=/call_action_list,name=build,if=variable.ed_threshold

# Cooldowns
actions.cds=potion,name=draenic_agility,if=buff.bloodlust.react|target.time_to_die<=25|buff.shadow_blades.up
actions.cds+=/blood_fury,if=stealthed
actions.cds+=/berserking,if=stealthed
actions.cds+=/arcane_torrent,if=stealthed&energy.deficit>70
actions.cds+=/shadow_blades,if=!(stealthed|buff.shadowmeld.up)
actions.cds+=/goremaws_bite,if=!buff.shadow_dance.up&((combo_points.deficit>=4-(time<10)*2&energy.deficit>55+talent.vigor.enabled*25-(time>=10)*10)|target.time_to_die<8)
actions.cds+=/marked_for_death,target_if=min:target.time_to_die,if=target.time_to_die<combo_points.deficit|(raid_event.adds.in>40&combo_points.deficit>=4+talent.deeper_strategem.enabled+talent.anticipation.enabled)

# Stealthed Rotation
actions.stealthed=symbols_of_death,if=buff.shadowmeld.down&buff.symbols_of_death.remains<target.time_to_die-4&buff.symbols_of_death.remains<=buff.symbols_of_death.duration*0.3
actions.stealthed+=/call_action_list,name=finish,if=combo_points>=5
actions.stealthed+=/shuriken_storm,if=buff.shadowmeld.down&combo_points.deficit>=3&spell_targets.shuriken_storm>=3+equipped.bleeding_hollow_toxin_vessel*talent.premeditation.enabled
actions.stealthed+=/shadowstrike

# Stealth Cooldowns
actions.stealth_cds=shadow_dance,if=charges>=3
actions.stealth_cds+=/vanish
actions.stealth_cds+=/shadow_dance,if=charges>=2&combo_points<=1
actions.stealth_cds+=/pool_resource,for_next=1,extra_amount=40-variable.ssw_er
actions.stealth_cds+=/shadowmeld,if=energy>=40-variable.ssw_er
actions.stealth_cds+=/shadow_dance,if=combo_points<=1

# Finishers
actions.finish=enveloping_shadows,if=buff.enveloping_shadows.remains<target.time_to_die&buff.enveloping_shadows.remains<=combo_points*1.8
actions.finish+=/death_from_above,if=spell_targets.death_from_above>=10
actions.finish+=/nightblade,target_if=max:target.time_to_die,if=target.time_to_die>10&refreshable
actions.finish+=/death_from_above
actions.finish+=/eviscerate

# Builders
actions.build=shuriken_storm,if=spell_targets.shuriken_storm>=2
actions.build+=/gloomblade
actions.build+=/backstab

head=felblade_hood,id=124263,bonus_id=566
neck=choker_of_the_great_betrayer,id=124210,bonus_id=566,enchant_id=5321
shoulders=felblade_spaulders,id=124274,bonus_id=566
back=cloak_of_desperate_temerity,id=124134,bonus_id=566,enchant_id=5314
chest=felblade_chestguard,id=124248,bonus_id=566
wrists=bloodcult_bracers,id=124279,bonus_id=566
hands=felblade_gloves,id=124257,bonus_id=566
waist=waistwrap_of_banishment,id=124276,bonus_id=566
legs=empowered_demonskin_kilt,id=124266,bonus_id=566
feet=jungle_assassins_footpads,id=124252,bonus_id=566
finger1=spellbound_runic_band_of_unrelenting_slaughter,id=118307,enchant_id=5328
finger2=portal_key_signet,id=124189,bonus_id=566,enchant_id=5328
trinket1=stone_of_the_elements,id=128024
trinket2=bleeding_hollow_toxin_vessel,id=124520,bonus_id=566
main_hand=fang_of_the_pit,id=124367,bonus_id=566,enchant_id=5330
off_hand=fang_of_the_pit,id=124367,bonus_id=566,enchant_id=5330

# Gear Summary
# gear_ilvl=713.75
# gear_agility=3498
# gear_stamina=5248
# gear_crit_rating=2337
# gear_haste_rating=1212
# gear_mastery_rating=975
# gear_versatility_rating=754
# gear_armor=1258
# set_bonus=tier18_2pc=1
# set_bonus=tier18_4pc=1
