Advertisement
Guest User

Untitled

a guest
Apr 25th, 2017
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.17 KB | None | 0 0
  1. local _, Rubim = ...
  2.  
  3. local exeOnLoad = function()
  4. -- NePCR.Splash()
  5. Rubim.meleeSpell = 193315
  6. print("|cffFFFF00 ----------------------------------------------------------------------|r")
  7. print("|cffFFFF00 --- |rCLASS NAME: |cffFFF569Outlaw |r")
  8. print("|cffFFFF00 --- |rRecommended Talents: 1/1 - 2/3 - 3/1 - 4/0 - 5/1 - 6/2 - 7/2")
  9. print("|cffFFFF00 --- |rRead the Readme avaiable at github.")
  10. print("|cffFFFF00 ----------------------------------------------------------------------|r")
  11.  
  12. NeP.Interface:AddToggle({
  13. key = 'useArush',
  14. icon = 'Interface\\Icons\\spell_shadow_shadowworddominate',
  15. name = 'Use Adrenaline Rush',
  16. text = 'The cooldown toggle will use Adrenaline Rush'
  17. })
  18.  
  19. NeP.Interface:AddToggle({
  20. key = 'useCotDB',
  21. icon = 'Interface\\Icons\\inv_sword_1h_artifactskywall_d_01dual',
  22. name = 'Use Curse of the Dreadblades',
  23. text = 'The cooldown toggle will use Curse of the Dreadblades'
  24. })
  25.  
  26.  
  27. NeP.Interface:AddToggle({
  28. key = 'trickstank',
  29. icon = 'Interface\\Icons\\ability_rogue_tricksofthetrade.png',
  30. name = 'Tricks of the Trade',
  31. text = 'Keep Tricks of the Trade up on targettarget'
  32. })
  33.  
  34. NeP.Interface:AddToggle({
  35. key = 'feint',
  36. icon = 'Interface\\Icons\\ability_rogue_feint.png',
  37. name = 'Use Feint',
  38. text = 'Keep Feint Up'
  39. })
  40.  
  41. end
  42.  
  43. local Interrupts = {
  44. {'Kick'},
  45. }
  46.  
  47. local Survival = {
  48. {'Feint', 'toggle(feint)&player.health<=50&target.enemy&target.combat&target.inMelee&targettarget.isself&!player.buff(Feint)'},
  49. {'Crimson Vial', 'player.health < 60'},
  50.  
  51. }
  52.  
  53. local build = {
  54. --# Builders
  55. --actions.build=ghostly_strike,if=comrbo_points.deficit>=1+buff.broadsides.up&!buff.curse_of_the_dreadblades.up&(debuff.ghostly_strike.remains<debuff.ghostly_strike.duration*0.3|(cooldown.curse_of_the_dreadblades.remains<3&debuff.ghostly_strike.remains<14))&(combo_points>=3|(variable.rtb_reroll&time>=10))
  56. -- {'Ghostly Strike', {'player.buff(Broadsides)', '!player.buff(Curse of the Dreadblades)', 'target.debuff(Ghostly Strike).duration < 2'}},
  57. -- {'Ghostly Strike', {'player.spell(Curse of the Dreadblades).cooldown > 1', 'player.combodeficit >= 1', 'target.debuff{Ghostly Strike).duration < 2'}},
  58. {'Ghostly Strike', {'player.combodeficit >= 1', 'target.debuff(Ghostly Strike).duration < 2'}},
  59. --actions.build+=/pistol_shot,if=combo_points.deficit>=1+buff.broadsides.up&buff.opportunity.up&energy.time_to_max>2-talent.quick_draw.enabled
  60. --{'Pistol Shot', {'player.buff(Opportunity)', 'player.combodeficit >= 1' }},
  61. {'Pistol Shot', {'player.buff(Opportunity)', 'player.combopoints < 5' }},
  62. --actions.build+=/saber_slash,if=variable.ss_useable
  63. --{'Saber Slash', 'player.combopoints < 5'},
  64. {'Saber Slash', 'player.combopoints < 5||player.combopoints <= 5&player.buff(Broadsides)'},
  65. }
  66.  
  67. local finish = {
  68. --# Finishers
  69. --actions.finish=between_the_eyes,if=equipped.greenskins_waterlogged_wristcuffs&buff.shark_infested_waters.up
  70. -- {'Between the Eyes', {'player.combopoints >= 5', 'player.buff(Shark Infested Waters)'}},
  71. --actions.finish+=/run_through,if=!talent.death_from_above.enabled|energy.time_to_max<cooldown.death_from_above.remains+3.5
  72. --{'Run Through', {'player.combopoints >= 5', '!player.talent(7,3)'}},
  73. {'Run Through', 'player.combopoints >= 5'},
  74. }
  75.  
  76. local bf = {
  77. --# Blade Flurry
  78. --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
  79. -- {'Blade Flurry', {'player.equipped()', 'player.area(7).enemies >= 2'}},
  80. --actions.bf+=/blade_flurry,if=spell_targets.blade_flurry>=2&!buff.blade_flurry.up
  81. {'Blade Flurry', {'player.area(7).enemies > 2', '!player.buff(Blade Flurry)'}},
  82. {'Blade Flurry', {'player.area(7).enemies = 1', 'player.buff(Blade Flurry)'}},
  83. {'Cannonball Barrage', 'player.area(7).enemies >= 3'},
  84. }
  85.  
  86. local cds = {
  87. --# Cooldowns
  88. --actions.cds=potion,name=old_war,if=buff.bloodlust.react|target.time_to_die<=25|buff.adrenaline_rush.up
  89. --actions.cds+=/use_item,slot=trinket2,if=buff.bloodlust.react|target.time_to_die<=20|combo_points.deficit<=2
  90. --actions.cds+=/blood_fury
  91. --actions.cds+=/berserking
  92. --actions.cds+=/arcane_torrent,if=energy.deficit>40
  93. --actions.cds+=/cannonball_barrage,if=spell_targets.cannonball_barrage>=1
  94.  
  95. --actions.cds+=/adrenaline_rush,if=!buff.adrenaline_rush.up&energy.deficit>0
  96. {'Adrenaline Rush', 'player.energydeficit > 0&toggle(useArush)'},
  97. --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)
  98. --actions.cds+=/sprint,if=equipped.thraxis_tricksy_treads&!variable.ss_useable
  99. --actions.cds+=/curse_of_the_dreadblades,if=combo_points.deficit>=4&(!talent.ghostly_strike.enabled|debuff.ghostly_strike.up)
  100. -- {'Curse of the Dreadblades', {'player.combodeficit >= 4', 'target.debuff(Ghostly Strike)'}},
  101. {'Curse of the Dreadblades', 'player.combodeficit >= 4&target.debuff(Ghostly Strike)&toggle(useCotDB)'},
  102.  
  103. }
  104.  
  105. local inCombat = {
  106. {'Marked for Death', {'player.combopoints <= 5', 'player.energy >= 26'}},
  107. --variable,name=rtb_reroll,value=!talent.slice_and_dice.enabled&(rtb_buffs<=1&!rtb_list.any.6&((!buff.curse_of_the_dreadblades.up&!buff.adrenaline_rush.up)|!rtb_list.any.5))
  108. -- {'Roll the Bones', {'player.combopoints >= 5', '!player.talent(7,1)', '!player.buff(Broadsides)', '!player.buff(Jolly Roger)', '!player.buff(Grand Melee)', '!player.buff(Shark Infested Waters)', '!player.buff(True Bearing)', '!player.buff(Buried Treasure)'}},
  109. -- {'Roll the Bones', '!player.buff(Curse of the Dreadblades)&!player.buff(Adrenaline Rush)&player.combopoints >= 5&!player.talent(7,1)&player.spell(Adrenaline Rush).cooldown > 15&player.spell(Curse of the Dreadblades).cooldown > 15&!player.talent(7,1)&player.buff(Broadsides)&!player.buff(Jolly Roger)&!player.buff(Grand Melee)&!player.buff(Shark Infested Waters)&!player.buff(True Bearing)&!player.buff(Buried Treasure)||!player.buff(Curse of the Dreadblades)&!player.buff(Adrenaline Rush)&player.combopoints >= 5&!player.talent(7,1)&player.spell(Adrenaline Rush).cooldown > 15&player.spell(Curse of the Dreadblades).cooldown > 15&!player.buff(Broadsides)&player.buff(Jolly Roger)&!player.buff(Grand Melee)&!player.buff(Shark Infested Waters)&!player.buff(True Bearing)&!player.buff(Buried Treasure)||!player.buff(Curse of the Dreadblades)&!player.buff(Adrenaline Rush)&player.combopoints >= 5&!player.talent(7,1)&player.spell(Adrenaline Rush).cooldown > 15&player.spell(Curse of the Dreadblades).cooldown > 15&!player.buff(Broadsides)&!player.buff(Jolly Roger)&player.buff(Grand Melee)&!player.buff(Shark Infested Waters)&!player.buff(True Bearing)&!player.buff(Buried Treasure)||!player.buff(Curse of the Dreadblades)&!player.buff(Adrenaline Rush)&player.combopoints >= 5&!player.talent(7,1)&player.spell(Adrenaline Rush).cooldown > 15&player.spell(Curse of the Dreadblades).cooldown > 15&!player.buff(Broadsides)&!player.buff(Jolly Roger)&!player.buff(Grand Melee)&player.buff(Shark Infested Waters)&!player.buff(True Bearing)&!player.buff(Buried Treasure)||!player.buff(Curse of the Dreadblades)&!player.buff(Adrenaline Rush)&player.combopoints >= 5&!player.talent(7,1)&player.spell(Adrenaline Rush).cooldown > 15&player.spell(Curse of the Dreadblades).cooldown > 15&!player.buff(Broadsides)&!player.buff(Jolly Roger)&!player.buff(Grand Melee)&!player.buff(Shark Infested Waters)&!player.buff(True Bearing)&player.buff(Buried Treasure)'},
  110. {'Roll the Bones', 'player.combopoints >= 5&!RtB'},
  111. --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))
  112. --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)))
  113. --call_action_list,name=bf
  114. { bf, 'toggle(aoe)'},
  115. --call_action_list,name=cds
  116. { cds, 'toggle(cooldowns)&RtB'},
  117. --call_action_list,name=stealth,if=stealthed|cooldown.vanish.up|cooldown.shadowmeld.up
  118. --death_from_above,if=energy.time_to_max>2&!variable.ss_useable_noreroll
  119. --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
  120. --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)
  121. --killing_spree,if=energy.time_to_max>5|energy<15
  122. --call_action_list,name=build
  123. { build },
  124. --call_action_list,name=finish,if=!variable.ss_useable
  125. { finish },
  126. --gouge,if=talent.dirty_tricks.enabled&combo_points.deficit>=1
  127. {'Tricks of the Trade', 'target.boss&toggle(trickstank)&!targettarget.buff(Tricks of the Trade)', 'targettarget'},
  128.  
  129. }
  130.  
  131. local Shared = {
  132. {'Ambush', 'target.combat&target.range<5&target.infront&player.buff(Stealth)'},
  133.  
  134. }
  135.  
  136. local outCombat = {
  137. {Shared}
  138. }
  139.  
  140. NeP.CR:Add(260, 'WinnerRubim (WIP) Rogue - Outlaw', {
  141. {'%pause', 'player.channeling'},
  142. {Survival},
  143. {Shared},
  144. {Interrupts, 'target.interruptAt(64)'},
  145. {inCombat, 'target.range < 11'}
  146. }, outCombat, exeOnLoad)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement