From 95a7bf5e0bc8c4db217716d4042671eee333c6d9 Mon Sep 17 00:00:00 2001 From: "Johnny C. Lam" Date: Wed, 21 May 2014 13:08:29 +0000 Subject: [PATCH] Death Knight: Add Outbreak to 1H Frost rotation. This looks to be an omission in the SimC code, but one should obviously apply diseases for free using Outbreak before using Unholy Blight for the same purpose. Fixes ticket 366 by @neevor who noticed the problem in the rotation. git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1484 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- scripts/ovale_deathknight.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/ovale_deathknight.lua b/scripts/ovale_deathknight.lua index 53825d7..2147c0e 100644 --- a/scripts/ovale_deathknight.lua +++ b/scripts/ovale_deathknight.lua @@ -348,6 +348,8 @@ AddFunction FrostOneHandSingleTargetActions if BuffPresent(killing_machine_buff) or RunicPower() > 88 Spell(frost_strike) #howling_blast,if=death>1|frost>1 if Rune(death) >= 2 or Rune(frost) >= 2 Spell(howling_blast) + #outbreak,if=!dot.frost_fever.ticking|!dot.blood_plague.ticking + if not target.DebuffPresent(frost_fever_debuff) or not target.DebuffPresent(blood_plague_debuff) Spell(outbreak) #soul_reaper,if=target.health.pct-3*(target.health.pct%target.time_to_die)<=35 if target.HealthPercent() -3 * { target.HealthPercent() / target.TimeToDie() } <= 35 Spell(soul_reaper_frost) #blood_tap,if=talent.blood_tap.enabled&((target.health.pct-3*(target.health.pct%target.time_to_die)<=35&cooldown.soul_reaper.remains=0)) @@ -383,6 +385,7 @@ AddFunction FrostOneHandSingleTargetShortCdActions unless { TalentPoints(blood_tap_talent) and { BuffStacks(blood_charge_buff) > 10 and { RunicPower() > 76 or { RunicPower() >= 20 and BuffPresent(killing_machine_buff) } } } } or { { BuffPresent(killing_machine_buff) or RunicPower() > 88 } and Spell(frost_strike) } or { Rune(death) >= 2 or Rune(frost) >= 2 } + or { { not target.DebuffPresent(frost_fever_debuff) or not target.DebuffPresent(blood_plague_debuff) } and Spell(outbreak) } { #unholy_blight,if=talent.unholy_blight.enabled&((dot.frost_fever.remains<3|dot.blood_plague.remains<3)) if TalentPoints(unholy_blight_talent) and { { target.DebuffRemains(frost_fever_debuff) < 3 or target.DebuffRemains(blood_plague_debuff) < 3 } } Spell(unholy_blight) -- 1.7.9.5