Advertisement
Guest User

Old Ovale Script

a guest
Oct 19th, 2010
725
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.41 KB | None | 0 0
  1. # Alaron's Feral Cat Ovale Script v1.2a (Thanks Leafkiller!) (13 Oct 2010)
  2. # (modified from Fatalsaints Feral Cat DPS Ovale Script/v1FixedRakeWhitespacesTabs/Leafv1.2)
  3. # Script source: http://fluiddruid.net/forum/viewtopic.php?f=3&t=33
  4. # Ovale source: http://wow.curse.com/downloads/wow-addons/details/ovale.aspx
  5. #
  6. # Instructions: Install the Ovale addon, start WoW, type /ovale code (or go thru menu) and copy-paste this script into the window.
  7. # Designed for lvl 80 feral druids, but should work fine as soon as you get Savage Roar.
  8. # The small boxes to the left are for tracking cooldowns, the large left box tracks OOC (if on), the large middle box tracks
  9. # the main rotation + shreds, the large right box tracks the main rotation only, the small right boxes track on-use trinkets.
  10. # Essentially, you follow what the middle box says, the right box lets you know what's coming, and pop other stuff when you can.
  11. # For look-and-feel stuff, modify the main Ovale options (Interface->Addons->Ovale)
  12. #
  13. # Options: Left-click on any box to open the script options.
  14. # Most are self-explanatory. The various "Suggest" options will force the recommendation of those CD's in the main box.
  15. # "Shred on OOC Proc" will force the recommendation of Shred when you have an Omen of Clarity proc, which is a dps increase.
  16. # Ferocious Bites: In general, I don't recommend the use of FB, as it is a dps decrease until you have ICC 25 gear.
  17. # If you want to use it, turn it on. High FB setting only recommended for ArP capped druids.
  18. #
  19. # Based on SimulationCraft actions located at
  20. # http://fluiddruid.net/forum/viewtopic.php?p=140#p140
  21. #
  22. # Indebted to the folloing sources:
  23. # http://elitistjerks.com/f73/t81052-best_possible_feral_dps_simulationcraft/
  24. # http://elitistjerks.com/f73/t84378-visualising_optimal_cat_rotation_ingame/
  25. #
  26. # Version History
  27. # v1.2a:
  28. # Corrected Rake spellid, hopefully should work with 4.0 now.
  29. # v1.2:
  30. # Added Leafkiller's changes:
  31. # -Don't cast TF with OOC active. (SimC neutral, but works better in actual testing).
  32. # -Fix Shred logic for better energy pooling.
  33. # -Redesign of second window to better clarify difference between fillers and rotation.
  34. # -2 extra boxes added for on-use trinkets.
  35. # v1.1:
  36. # Corrected missing parenthesis that was causing FB options to bug.
  37. # v1.0:
  38. # Full verification of action list against Simcraft.
  39. # Corrected TF condition. Loosened Berserk condition (slight deviation from SC).
  40. # Added Shred on OOC. (Might make this a checkbox)
  41. # Prioritized Rip.
  42. # Prioritized Mangle. Removed Manglebot option, no point anymore with 60s duration.
  43. # Added options for OOC icon and Shred on OOC proc.
  44. # Hopefully fixed bug with Rake being recommended even though it's already on target.
  45. # Added user-selectable logic for No FB/Few FB's/Many FB's. Default is no FB's which is best for most players. Logic
  46. # still needs some testing.
  47. # Rewrote several lines to track Simcraft closer, to make user-editing easier.
  48. # Added a few lines to catch bad situations (energy-cap, energy pooling while Rip is down).
  49. # -----------------------------------------------------------------------
  50. Define(FFF 16857)
  51. Define(FF 770)
  52. Define(RIP 1079)
  53. Define(MANGLE 33876)
  54. Define(SHRED 5221)
  55. Define(TIGER 5217)
  56. Define(RAKE 1822)
  57. Define(ROAR 52610)
  58. Define(BITE 22568)
  59. Define(BERSERK 50334)
  60. Define(OMEN 16870)
  61. Define(TRAUMA 46857)
  62. Define(MANGLEB 33878)
  63. SpellInfo(RIP resetcounter=ripshreds)
  64. SpellInfo(SHRED inccounter=ripshreds)
  65. AddListItem(FBOption HiFB "Many Ferocious Bites")
  66. AddListItem(FBOption LoFB "Few Ferocious Bites")
  67. AddListItem(FBOption NoFB "No Ferocious Bites" default)
  68. AddCheckBox(CheckBoxTF "Suggest Tiger's Fury" checked)
  69. AddCheckBox(CheckBoxFF "Suggest Faerie Fire" checked)
  70. AddCheckBox(CheckBoxBk "Suggest Berserk" checked)
  71. AddCheckBox(CheckBoxOOCShred "Shred On OOC Proc" checked)
  72. AddCheckBox(CheckBoxOOCIcon "OOC Proc Icon" checked)
  73.  
  74. # TF Icon
  75. AddIcon help=cd size=small
  76. {
  77. if Stance(3) { # Cat Form
  78. Spell(TIGER)
  79. }
  80. }
  81.  
  82. # Berserk Icon
  83. AddIcon help=cd size=small
  84. {
  85. if Stance(3) { # Cat Form
  86. Spell(BERSERK)
  87. }
  88. }
  89.  
  90. # OOC Icon
  91. AddIcon help=buff {
  92. if Stance(3) { # Cat Form
  93. if {CheckBoxOn(CheckBoxOOCIcon) and BuffPresent(OMEN)} Texture(Spell_Shadow_ManaBurn)
  94. }
  95. }
  96.  
  97. # Main Rotation + Shreds
  98. AddIcon help=main {
  99. if Stance(3) { # Cat Form
  100. # actions+=/faerie_fire_feral,debuff_only=1
  101. if {CheckBoxOn(CheckBoxFF)} and {TargetDebuffExpires(FFF 0) and TargetDebuffExpires(FF 0)} Spell(FFF)
  102.  
  103. # actions+=/tigers_fury,energy<=30,berserk=0
  104. if {CheckBoxOn(CheckBoxTF) and BuffExpires(BERSERK 0) and Mana(less 31)} {
  105. unless BuffPresent(OMEN) Spell(TIGER)
  106. }
  107. # actions+=/berserk_cat,energy>=80,energy<=90
  108. if {CheckBoxOn(CheckBoxBk) and Mana(more 69) and Mana(less 91)} Spell(BERSERK)
  109.  
  110. # actions+=/savage_roar,cp>=1,savage_roar<=1
  111. if {ComboPoints(more 0) and BuffExpires(ROAR 0)} Spell(ROAR)
  112.  
  113. # actions+=/shred,if=buff.omen_of_clarity.up
  114. if {CheckBoxOn(CheckBoxOOCShred) and BuffPresent(OMEN)} Spell(SHRED)
  115.  
  116. # actions+=/rip,cp>=5,time_to_die>=6
  117. if {TargetDebuffExpires(RIP 0 mine=1) and ComboPoints(more 4) and TargetDeadIn(more 7)} Spell(RIP)
  118.  
  119. # actions+=/mangle_cat,mangle<=1
  120. if {TargetDebuffExpires(MANGLE 1) and TargetDebuffExpires(MANGLEB 1) and TargetDebuffExpires(TRAUMA 1)} Spell(MANGLE) # has to be "and" here to check for all three
  121.  
  122. # actions+=/savage_roar,if=buff.combo_points.stack>=3&buff.savage_roar.remains-dot.rip.remains<=3&buff.savage_roar.remains<=8
  123. if {ComboPoints(more 2) and BuffExpires(ROAR 8) and TargetDeadIn(more 8) and less than 4s between BuffExpires(ROAR) and TargetDebuffExpires(RIP mine=1)} Spell(ROAR)
  124.  
  125. # actions+=/ferocious_bite,cp>=5,time_to_die<=6
  126. # actions+=/ferocious_bite,cp>=5,rip>=12,savage_roar>=12 (Low FB profile)
  127. # actions+=/ferocious_bite,cp>=5,rip>=8,savage_roar>=8 (High FB profile)
  128. if {{ComboPoints(more 4) and List(FBOption LoFB)} and {TargetDeadIn(less 7) or {TargetDebuffPresent(RIP 12 mine=1) and BuffPresent(ROAR 12)}}} Spell(BITE)
  129. if {{ComboPoints(more 4) and List(FBOption HiFB)} and {TargetDeadIn(less 7) or {TargetDebuffPresent(RIP 8 mine=1) and BuffPresent(ROAR 8)}}} Spell(BITE)
  130.  
  131. # actions+=/ferocious_bite,cp>=4,time_to_die<=1
  132. if {List(FBOption LoFB) or List(FBOption HiFB)} and {ComboPoints(more 3) and TargetDeadIn(less 2)} Spell(BITE)
  133.  
  134. # actions+=/shred,cp<=4,extend_rip=1,rip<=3
  135. if {ComboPoints(less 5) and TargetDebuffPresent(RIP mine=1) and TargetDebuffExpires(RIP 4 mine=1) and Counter(ripshreds less 3)} Spell(SHRED)
  136.  
  137. # actions+=/rake,time_to_die>=9
  138. if {TargetDebuffExpires(RAKE 0 mine=1) and TargetDeadIn(more 8)} Spell(RAKE)
  139.  
  140. # actions+=/shred,if=(energy>=80|buff.berserk.up|cooldown.tigers_fury.remains<=3)
  141. if {ComboPoints(less 4) or TargetDebuffPresent(RIP 1 mine=1)} and TargetDebuffPresent(RAKE 1 mine=1) and {Mana(more 79) or BuffPresent(BERSERK) or {3s before Spell(TIGER)}} Spell (SHRED)
  142.  
  143. # actions+=/shred,time_to_die<=9
  144. if {TargetDeadIn(less 10)} Spell(SHRED)
  145.  
  146. # actions+=/shred,cp<=0,savage_roar<=2
  147. if {ComboPoints(less 1) and BuffExpires(ROAR 2)} Spell(SHRED)
  148.  
  149. # extra line to ensure we never energy cap or energy pool if Rip is down
  150.  
  151. if {TargetDebuffExpires(Rip 0 mine=1) or Mana(more 90)} Spell(SHRED)
  152. }
  153. }
  154.  
  155. # Main Rotation (no filler shreds, otherwise copy of other rotation) Leaf - removed a lot more to just see cooldowns
  156. AddIcon help=main {
  157. if Stance(3) { # Cat Form
  158. # actions+=/savage_roar,cp>=1,savage_roar<=1
  159. if {ComboPoints(more 0) and BuffExpires(ROAR 0)} Spell(ROAR)
  160.  
  161. # actions+=/rip,cp>=5,time_to_die>=6
  162. if {TargetDebuffExpires(RIP 0 mine=1) and ComboPoints(more 4) and TargetDeadIn(more 7)} Spell(RIP)
  163.  
  164. # actions+=/mangle_cat,mangle<=1
  165. if {TargetDebuffExpires(MANGLE 1) and TargetDebuffExpires(MANGLEB 1) and TargetDebuffExpires(TRAUMA 1)} Spell(MANGLE)
  166.  
  167. # actions+=/savage_roar,if=buff.combo_points.stack>=3&buff.savage_roar.remains-dot.rip.remains<=3&buff.savage_roar.remains<=8
  168. if {ComboPoints(more 2) and BuffExpires(ROAR 8) and TargetDeadIn(more 8) and less than 4s between BuffExpires(ROAR) and TargetDebuffExpires(RIP mine=1)} Spell(ROAR)
  169.  
  170. # actions+=/shred,cp<=4,extend_rip=1,rip<=3
  171. if {ComboPoints(less 5) and TargetDebuffPresent(RIP mine=1) and TargetDebuffExpires(RIP 4 mine=1) and Counter(ripshreds less 3)} Spell(SHRED)
  172.  
  173. # actions+=/rake,time_to_die>=9
  174. if {TargetDebuffExpires(RAKE 0 mine=1) and TargetDeadIn(more 8)} Spell(RAKE)
  175. }
  176. }
  177. AddIcon help=cd
  178. {
  179. if Stance(3) or Stance(1) {
  180. Item(Trinket0Slot usable=1)
  181. }
  182. }AddIcon help=cd
  183. {
  184. if Stance(3) or Stance(1) {
  185. Item(Trinket1Slot usable=1)
  186. }
  187. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement