rogue="Rogue_Outlaw_T18H"
level=100
race=night_elf
timeofday=day
role=attack
position=back
talents=3010022
spec=outlaw

# 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+=/roll_the_bones,if=!talent.slice_and_dice.enabled

# Executed every time the actor is available.

#  Condition to continue rerolling RtB; if SnD, consider that you never have to reroll
actions=variable,name=rtb_reroll,value=((!talent.slice_and_dice.enabled)&(rtb_buffs<=1&!(equipped.thraxis_tricksy_treads&buff.true_bearing.up)))
#  Condition to use Saber Slash when not rerolling RtB or when using SnD
actions+=/variable,name=ss_useable_noreroll,value=(combo_points<5+talent.deeper_stratagem.enabled-(buff.broadsides.up|buff.jolly_roger.up)-(talent.alacrity.enabled&buff.alacrity.stack<=4))
#  Condition to use Saber Slash, when you have RtB or not
actions+=/variable,name=ss_useable,value=((talent.anticipation.enabled&(combo_points<4))|(!talent.anticipation.enabled&(variable.rtb_reroll&(combo_points<4+talent.deeper_stratagem.enabled)|!variable.rtb_reroll&variable.ss_useable_noreroll)))
#  Normal rotation
actions+=/call_action_list,name=bf
actions+=/call_action_list,name=cds
actions+=/call_action_list,name=stealth
actions+=/death_from_above,if=energy.time_to_max>2&!variable.ss_useable_noreroll
actions+=/slice_and_dice,if=!variable.ss_useable&buff.slice_and_dice.remains<target.time_to_die&buff.slice_and_dice.remains<(1+combo_points)*1.8
actions+=/roll_the_bones,if=!variable.ss_useable&buff.roll_the_bones.remains<target.time_to_die&(buff.roll_the_bones.remains<=3|variable.rtb_reroll)
actions+=/killing_spree,if=energy.time_to_max>5|energy<15
actions+=/call_action_list,name=build
actions+=/call_action_list,name=finish,if=!variable.ss_useable

# Blade Flurry
actions.bf=cancel_buff,name=blade_flurry,if=equipped.shivarran_symmetry&cooldown.blade_flurry.up&buff.blade_flurry.up&spell_targets.blade_flurry>=2|spell_targets.blade_flurry<2&buff.blade_flurry.up
actions.bf+=/blade_flurry,if=spell_targets.blade_flurry>=2&!buff.blade_flurry.up

# Cooldowns
actions.cds=potion,name=draenic_agility,if=buff.bloodlust.react|target.time_to_die<=25|buff.adrenaline_rush.up
actions.cds+=/blood_fury
actions.cds+=/berserking
actions.cds+=/arcane_torrent,if=energy.deficit>40
actions.cds+=/cannonball_barrage,if=spell_targets.cannonball_barrage>=1
actions.cds+=/adrenaline_rush,if=!buff.adrenaline_rush.up
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|buff.true_bearing.remains>15)&combo_points.deficit>=4+talent.deeper_strategem.enabled+talent.anticipation.enabled)
actions.cds+=/sprint,if=equipped.thraxis_tricksy_treads&!variable.ss_useable
actions.cds+=/curse_of_the_dreadblades,if=combo_points.deficit>=4&(!talent.ghostly_strike.enabled|debuff.ghostly_strike.up)

#  Condition to use stealth abilities
actions.stealth=variable,name=stealth_condition,value=(combo_points.deficit>=2+2*(talent.ghostly_strike.enabled&!debuff.ghostly_strike.up)+buff.broadsides.up&energy>60&!buff.jolly_roger.up&!buff.hidden_blade.up&!buff.curse_of_the_dreadblades.up)
# Stealth
actions.stealth+=/ambush
actions.stealth+=/vanish,if=variable.stealth_condition
actions.stealth+=/shadowmeld,if=variable.stealth_condition

#  Finishers
actions.finish=between_the_eyes,if=equipped.greenskins_waterlogged_wristcuffs&buff.shark_infested_waters.up
actions.finish+=/run_through,if=!talent.death_from_above.enabled|energy.time_to_max<cooldown.death_from_above.remains+3.5

#  Builders
actions.build=ghostly_strike,if=talent.ghostly_strike.enabled&(debuff.ghostly_strike.remains<debuff.ghostly_strike.duration*0.3|(cooldown.curse_of_the_dreadblades.remains<3&debuff.ghostly_strike.remains<14))&combo_points.deficit>=1+buff.broadsides.up&!buff.curse_of_the_dreadblades.up&(combo_points>=3|variable.rtb_reroll&time>=10)
actions.build+=/pistol_shot,if=buff.opportunity.up&energy.time_to_max>2-talent.quick_draw.enabled&combo_points.deficit>=1+buff.broadsides.up
actions.build+=/saber_slash,if=variable.ss_useable

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
