Advertisement
Guest User

2h frost edit

a guest
Mar 19th, 2013
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.56 KB | None | 0 0
  1. if AoERotation == true then return false end
  2.  
  3. if PQI_RubimGeneralDeathKnight_DisableCleave_enable == false then
  4. IcyBlast = HowlingBlast
  5. elseif PQI_RubimGeneralDeathKnight_DisableCleave_enable == true then
  6. IcyBlast = IcyTouch
  7. end
  8.  
  9. --3 0.00 horn_of_winter
  10. if not HornofWinterBuff
  11. then
  12. CastSpell(HornofWinter)
  13. end
  14.  
  15. --COMBAT
  16. if not PlayerCombat then return false end
  17.  
  18. --A 6.88 pillar_of_frost
  19. --B 1.00 mogu_power_potion,if=target.time_to_die<=30|(target.time_to_die<=60&buff.pillar_of_frost.up)
  20. --C 3.31 raise_dead
  21.  
  22. if MeeleRange()
  23. then
  24. if Racial ~= 0 and PQR_SpellAvailable(Racial)
  25. and BossCheck()
  26. then
  27. CastSpell(Racial)
  28. end
  29.  
  30. if PQR_SpellAvailable(PillarofFrost)
  31. then
  32. CastSpell(PillarofFrost)
  33. end
  34.  
  35. if PQR_SpellAvailable(RaiseDead)
  36. and BossCheck()
  37. then
  38. CastSpell(RaiseDead)
  39. end
  40. end
  41.  
  42. --D 1.42 plague_leech,if=talent.plague_leech.enabled&(dot.blood_plague.remains<1|dot.frost_fever.remains<1)
  43. if TargetValidation("target",PlagueLeech)
  44. and (BPtimer > 0 and BPtimer < 1
  45. or FFtimer > 0 and FFtimer < 1)
  46. and MeeleRange()
  47. then
  48. CastSpell(PlagueLeech)
  49. end
  50.  
  51. --E 6.36 outbreak,if=!dot.frost_fever.ticking|!dot.blood_plague.ticking
  52. if TargetValidation("target",Outbreak)
  53. and (BPtimer == 0
  54. or FFtimer == 0)
  55. then
  56. CastSpell(Outbreak)
  57. end
  58.  
  59. --F 0.00 unholy_blight,if=talent.unholy_blight.enabled&(!dot.frost_fever.ticking|!dot.blood_plague.ticking)
  60. if PQR_SpellAvailable(UnholyBlight)
  61. and (BPtimer == 0
  62. or FFtimer == 0)
  63. then
  64. CastSpell(UnholyBlight)
  65. end
  66.  
  67. --G 23.17 soul_reaper,if=target.health.pct-3*(target.health.pct%target.time_to_die)<=35
  68. if TargetHP - 3 * (TargetHP/TimeToDie) <= 35
  69. and TargetValidation("target",SoulReaperFrost)
  70. then
  71. CastSpell(SoulReaperFrost)
  72. end
  73.  
  74. --actions+=/blood_tap,if=talent.blood_tap.enabled&(target.health.pct-3*(target.health.pct%target.time_to_die)<=35&cooldown.soul_reaper.remains=0)
  75. if PQR_SpellAvailable(BloodTap)
  76. and BCCount > 5
  77. and TargetHP - 3 * (TargetHP/TimeToDie) <= 35
  78. and CdCheck(SoulReaperFrost) < 1
  79. then
  80. CastSpell(BloodTap)
  81. end
  82.  
  83. --I 10.78 howling_blast,if=!dot.frost_fever.ticking
  84. if TargetValidation("target",IcyBlast)
  85. and FFtimer == 0
  86. then
  87. CastSpell(IcyBlast)
  88. end
  89.  
  90. --J 10.26 plague_strike,if=!dot.blood_plague.ticking
  91. if TargetValidation("target",PlagueStrike)
  92. and BPtimer == 0
  93. then
  94. CastSpell(PlagueStrike)
  95. end
  96.  
  97. --K 44.51 howling_blast,if=buff.rime.react
  98. if TargetValidation("target",IcyBlast)
  99. and Rime
  100. then
  101. CastSpell(IcyBlast)
  102. end
  103.  
  104. --L 19.99 obliterate,if=buff.killing_machine.react
  105. if TargetValidation("target",Obliterate)
  106. and KillingMachine
  107. then
  108. CastSpell(Obliterate)
  109. end
  110.  
  111. --M 0.00 blood_tap,if=talent.blood_tap.enabled&buff.killing_machine.react
  112. if TargetValidation("target",Obliterate)
  113. and KillingMachine
  114. and BCCount > 5
  115. CastSpell(BloodTap)
  116. end
  117.  
  118. --N 0.00 blood_tap,if=talent.blood_tap.enabled&buff.blood_charge.stack>10&runic_power>76
  119. if PQR_SpellAvailable(BloodTap)
  120. and BCCount > 10
  121. and PlayerRP >= 76
  122. then
  123. CastSpell(BloodTap)
  124. end
  125.  
  126. --O 21.54 frost_strike,if=runic_power>76
  127. if TargetValidation("target",FrostStrike)
  128. and SaveRP ~= 1
  129. and PlayerRP > 76
  130. and MeeleRange()
  131. then
  132. CastSpell(FrostStrike)
  133. end
  134.  
  135. --obliterate,if=blood=2|frost=2|unholy=2
  136. if TargetValidation("target",Obliterate)
  137. and (RuneCheck("Blood") == 2
  138. or RuneCheck("Frost") == 2
  139. or RuneCheck("Unholy") == 2)
  140. then
  141. CastSpell(Obliterate)
  142. end
  143.  
  144. --Q 6.00 plague_leech,if=talent.plague_leech.enabled&(dot.blood_plague.remains<3|dot.frost_fever.remains<3)
  145. if TargetValidation("target",PlagueLeech)
  146. and (BPtimer > 0 and BPtimer < 3
  147. or FFtimer > 0 and FFtimer < 3)
  148. and MeeleRange()
  149. then
  150. CastSpell(PlagueLeech)
  151. end
  152.  
  153. --R 0.09 outbreak,if=dot.frost_fever.remains<3|dot.blood_plague.remains<3
  154. if TargetValidation("target",Outbreak)
  155. and (BPtimer < 3
  156. or FFtimer < 3)
  157. then
  158. CastSpell(Outbreak)
  159. end
  160.  
  161. --S 0.00 unholy_blight,if=talent.unholy_blight.enabled&(dot.frost_fever.remains<3|dot.blood_plague.remains<3)
  162. if PQR_SpellAvailable(UnholyBlight)
  163. and (BPtimer < 3
  164. or FFtimer < 3)
  165. then
  166. CastSpell(UnholyBlight)
  167. end
  168.  
  169. --T 131.71 frost_strike,if=talent.runic_empowerment.enabled&frost=0
  170. if TargetValidation("target",FrostStrike)
  171. and SaveRP ~= 1
  172. and IsSpellKnown(RunicEmpowerment)
  173. and RuneCheck("Frost") == 0
  174. and MeeleRange()
  175. then
  176. CastSpell(FrostStrike)
  177. end
  178.  
  179. --U 0.00 frost_strike,if=talent.blood_tap.enabled&buff.blood_charge.stack<=10
  180. if TargetValidation("target",FrostStrike)
  181. and BCCount <= 10
  182. and MeeleRange90
  183. then
  184. CastSpell(FrostStrike)
  185. end
  186.  
  187. --V 19.05 horn_of_winter
  188. if PQR_SpellAvailable(HornofWinter)
  189. then
  190. CastSpell(HornofWinter)
  191. end
  192.  
  193. --W 0.00 frost_strike,if=talent.runic_corruption.enabled&buff.runic_corruption.down
  194.  
  195. --X 53.81 obliterate
  196. if TargetValidation("target",Obliterate)
  197. then
  198. CastSpell(Obliterate)
  199. end
  200.  
  201. --Y 0.00 empower_rune_weapon,if=target.time_to_die<=60&(buff.mogu_power_potion.up|buff.golemblood_potion.up)
  202. --CLEAN
  203.  
  204. --Z 0.00 blood_tap,if=talent.blood_tap.enabled&buff.blood_charge.stack>10&runic_power>=20
  205. if PQR_SpellAvailable(BloodTap)
  206. and BCCount > 10
  207. and PlayerRP >= 20
  208. then
  209. CastSpell(BloodTap)
  210. end
  211.  
  212. --a 12.39 frost_strike
  213. if TargetValidation("target",FrostStrike)
  214. and SaveRP ~= 1
  215. and MeeleRange()
  216. then
  217. CastSpell(FrostStrike)
  218. end
  219.  
  220. --b 7.91 plague_leech,if=talent.plague_leech.enabled
  221. if TargetValidation("target",PlagueLeech)
  222. and FFtimer > 0
  223. and BPtimer > 0
  224. and MeeleRange()
  225. then
  226. CastSpell(PlagueLeech)
  227. end
  228.  
  229. --c 1.82 empower_rune_weapon
  230. if PQR_SpellAvailable(EmpowerRuneWeapon)
  231. and MeeleRange()
  232. and BossCheck()
  233. and CdCheck(Obliterate) > 2
  234. and CdCheck(HowlingBlast) > 2
  235. and PlayerRP < 20
  236. then
  237. CastSpell(EmpowerRuneWeapon)
  238. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement