Register

4.06 Warlock Ovale script

This and that.

Moderator: Forum Administrators

Exalted
User avatar
Posts: 1147
Joined: Fri Jun 04, 2010 4:28 am

4.06 Warlock Ovale script

Postby Leafkiller » Fri Apr 01, 2011 8:37 pm

If someone does want to try this, make sure to install Librangecheck-2.0 ( http://wow.curse.com/downloads/wow-addo ... k-2-0.aspx ).

Code: Select all
# Ovale Warlock script from Leafkiller 1.4.5
# Starting from the Default Ovale Warlock script.
# 3/20/2011 1.4.5 - Make range finder work for all specs...
# 3/19/2011 1.4 - update afflic code. 1.4.2 - remove the checkbox for Shadowflame - the distance checkin code handles this now. Some cleanup.
#           1.4.3 - add new box for range finder - shows shadowflame icon if in range otherwise dash icon ;-) 1.4.4 tune range check: 8 yards
# 3/19/2011 1.3 - use the new TargetDistance function for Shadowflame. Need to have the addon LibRangeCheck 2.0.
# 03/19/2011 1.2 - Add in melee range check for Shadowflame.
# 03/19/2011 1.1 - Update Destro and demo code to match the new simcraft rotation.
# 02/08/2011 1.0.3 - update Demo for 4.06
# 01/12/2010 - Add cooldown for Demon Soul and meta checkbox
# 01/11/2010 - Add Immolation Aura, and also shadowflame checkbox
# 12/28/2010
# Demonology First
Define(BANEOFAGONY 980)
   SpellAddTargetDebuff(BANEOFAGONY BANEOFAGONY=24)
Define(BANEOFDOOM 603)
   SpellAddTargetDebuff(BANEOFDOOM BANEOFDOOM=60)
Define(BANEOFHAVOC 80240)
Define(CHAOSBOLT 50796)
   SpellInfo(CHAOSBOLT cd=12)
Define(CONFLAGRATE 17962)
   SpellInfo(CONFLAGRATE cd=10)
Define(CORRUPTION 172)
   SpellAddTargetDebuff(CORRUPTION CORRUPTION=18)
Define(CURSEELEMENTS 1490)
   SpellAddTargetDebuff(CURSEELEMENTS CURSEELEMENTS=300)
Define(CURSETONGUES 1714)
Define(CURSEWEAKNESS 702)
Define(DARKINTENT 80398)
Define(DEATHCOIL 6789)
Define(DEMONARMOR 687)
Define(DEMONICEMPOWERMENT 47193)
Define(DEMONSOUL 77801)
   SpellInfo(DEMONSOUL cd=120)
Define(DRAINLIFE 689)
Define(DRAINSOUL 1120)ƒ
   SpellInfo(DRAINSOUL canStopChannelling=5)
Define(FELARMOR 28176)
Define(FELFLAME 77799)
Define(HANDOFGULDAN 71521)
   SpellInfo(HANDOFGULDAN cd=12)
   SpellAddTargetDebuff(HANDOFGULDAN IMMOLATE=refresh)
Define(HAUNT 48181)
   SpellInfo(HAUNT cd=8)
Define(IMMOLATE 348)
   SpellInfo(IMMOLATE duration=15)
   SpellAddTargetDebuff(IMMOLATE IMMOLATE=15)
   SpellAddBuff(IMMOLATE MOLTENCORE=-1)
Define(IMMOLATIONAURA 50589)
   SpellInfo(IMMOLATIONAURA cd=30)
Define(INCINERATE 29722)
   SpellAddBuff(INCINERATE MOLTENCORE=-1)
Define(LIFETAP 1454)
Define(METAMORPHOSIS 47241)
Define(SEARINGPAIN 5676)
Define(SEEDOFCORRUPTION 27243)
Define(SHADOWBOLT 686)
   SpellAddTargetDebuff(SHADOWBOLT SHADOWEMBRACE=12)
Define(SHADOWBURN 17877)
Define(SHADOWFLAME 47897)
   SpellInfo(SHADOWFLAME cd=12)
Define(SOULFIRE 6353)
Define(IMPROVEDSOULFIREBUFF 18120)
Define(SOULBURN 74434)
   SpellInfo(SOULBURN cd=45)
   SpellAddBuff(SOULBURN SOULBURN=15)
Define(SUMMONINFERNAL 1122)
Define(SUMMONDOOMGUARD 18540)
Define(SUMMONFELGUARD 30146)
Define(SUMMONFELHUNTER 691)
Define(SUMMONIMP 688)
Define(SUMMONSUCCUBUS 712)
Define(UNSTABLEAFFLICTION 30108)
   SpellAddTargetDebuff(UNSTABLEAFFLICTION UNSTABLEAFFLICTION=15)

#Add in attack for rangechecking for Shadowflame
Define(ATTACK 88163)

#Buff
Define(DECIMATION 63167)
Define(MOLTENCORE 71165)
Define(EMPOWEREDIMP 47283)
Define(IMPROVEDSOULFIREBUFF 85383)
Define(SHADOWTRANCE 17941)
Define(FELSPARK 89937)

#Talent   
Define(IMPROVEDSOULFIRE 11197)
   
AddCheckBox(meta "Show Meta" mastery=2)
AddListItem(curse elements SpellName(CURSEELEMENTS))
AddListItem(curse tongues SpellName(CURSETONGUES))
AddListItem(curse weakness SpellName(CURSEWEAKNESS))
AddListItem(curse none L(None) default)
AddListItem(bane agony SpellName(BANEOFAGONY))
AddListItem(bane doom SpellName(BANEOFDOOM) default)
AddListItem(bane havoc SpellName(BANEOFHAVOC) mastery=3)
AddListItem(afflic shadow SpellName(SHADOWBOLT) default mastery=1)
AddListItem(afflic drain SpellName(DRAINLIFE) mastery=1)

ScoreSpells(CURSEELEMENTS SHADOWBOLT HAUNT UNSTABLEAFFLICTION IMMOLATE CONFLAGRATE CURSEWEAKNESS
   BANEOFAGONY CORRUPTION SOULFIRE DRAINSOUL INCINERATE SHADOWBOLT CHAOSBOLT)

AddIcon help=main mastery=1
{
   if InCombat(no) and BuffExpires(FELARMOR 300) Spell(FELARMOR)
    if BuffExpires(FELARMOR 5) Spell(FELARMOR)

   if List(curse elements) and TargetDebuffExpires(magicaldamagetaken 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
   if List(curse weakness) and TargetDebuffExpires(CURSEWEAKNESS 2) and TargetDeadIn(more 8) Spell(CURSEWEAKNESS)
   if TargetDebuffExpires(CORRUPTION 2 mine=1 haste=spell) and TargetDeadIn(more 6) Spell(CORRUPTION)
    if TargetDebuffExpires(UNSTABLEAFFLICTION 3 mine=1) and TargetDeadIn(more 5) and Speed(less 50) Spell(UNSTABLEAFFLICTION)
    if TargetDebuffExpires(BANEOFDOOM 0 mine=1) and TargetDebuffExpires(BANEOFAGONY 0 mine=1) and TargetDeadIn(more 20) Spell(ƒƒBANEOFDOOM)
    Spell(HAUNT)
    if BuffPresent(FELSPARK) and TargetDebuffExpires(UNSTABLEAFFLICTION 8 mine=1 haste=spell) {
       Spell(FELFLAME)
    }
    if TargetLifePercent(less 25) Spell(DRAINSOUL)
    if TargetDistance(less 8) Spell(SHADOWFLAME)
    if ManaPercent(less 35) Spell(LIFETAP)
    if BuffPresent(SOULBURN) Spell(SOULFIRE)
   Spell(DEMONSOUL)
   Spell(SHADOWBOLT)
}

AddIcon help=cd size=small mastery=1
{
   if BuffPresent(heroism) Spell(SUMMONINFERNAL)
   Spell(DEMONSOUL)
   Item(Trinket0Slot usable=1)
   Item(Trinket1Slot usable=1)
}

AddIcon help=main mastery=2  # Demonology
{   
   if InCombat(no) and BuffExpires(FELARMOR 300) Spell(FELARMOR)
    if BuffExpires(FELARMOR 5) Spell(FELARMOR)

   if List(curse elements) and TargetDebuffExpires(magicaldamagetaken 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
   if List(curse weakness) and TargetDebuffExpires(CURSEWEAKNESS 2) and TargetDeadIn(more 8) Spell(CURSEWEAKNESS)

   # Follow the sim script line for line - so we can have a testable rotation
   if CheckBoxOn(meta) Spell(METAMORPHOSIS)
   if BuffPresent(METAMORPHOSIS 10.1) Spell(IMMOLATIONAURA)
   if TargetDebuffExpires(BANEOFDOOM 0 mine=1) and TargetDebuffExpires(BANEOFAGONY 0 mine=1) and TargetDeadIn(more 20) Spell(ƒƒBANEOFDOOM)
   if TargetDebuffExpires(IMMOLATE 0 mine=1 haste=spell) and TargetDeadIn(more 4) Spell(IMMOLATE)   
   if TargetDebuffExpires(CORRUPTION 2 mine=1 haste=spell) and TargetDeadIn(more 6) Spell(CORRUPTION)
   if BuffPresent(FELSPARK) Spell(FELFLAME)
   if TargetDistance(less 8) Spell(SHADOWFLAME)
   Spell(HANDOFGULDAN)   
   if BuffPresent(MOLTENCORE) Spell(INCINERATE)   
   if BuffPresent(METAMORPHOSIS) {
      unless BuffPresent(heroism) Spell(SOULBURN usable)
   }
   if BuffPresent(DECIMATION) or BuffPresent(SOULBURN) Spell(SOULFIRE)
   if ManaPercent(less 50) {
      unless BuffPresent(METAMORPHOSIS) or BuffPresent(heroism) {
         Spell(LIFETAP)
      }
   }
   Spell(DEMONSOUL)
   Spell(SHADOWBOLT)
}

AddIcon help=cd size=small mastery=2
{
   Spell(METAMORPHOSIS)
   Spell(DEMONSOUL)
   if BuffPresent(METAMORPHOSIS) Spell(SUMMONINFERNAL)
   Item(Trinket0Slot usable=1)
   Item(Trinket1Slot usable=1)
}
   
AddIcon help=main mastery=3
{
   if InCombat(no) and BuffExpires(FELARMOR 300) Spell(FELARMOR)
    if BuffExpires(FELARMOR 5) Spell(FELARMOR)
   if List(curse elements) and TargetDebuffExpires(magicaldamagetaken 2) and TargetDeadIn(more 8) Spell(CURSEELEMENTS)
    if BuffPresent(SOULBURN) Spell(SOULFIRE)
    if BuffPresent(FELSPARK) and TargetDebuffExpires(IMMOLATE 8 mine=1 haste=spell) {
       Spell(FELFLAME)
    }
    if TargetDebuffExpires(IMMOLATE 2.5 mine=1 haste=spell) and TargetDeadIn(more 5) Spell(IMMOLATE)
    Spell(CONFLAGRATE)
    if TargetDebuffExpires(BANEOFDOOM 0 mine=1) and TargetDebuffExpires(BANEOFAGONY 0 mine=1)
   {
      if List(bane doom) and TargetDeadIn(more 15) Spell(BANEOFDOOM)
      if TargetDeadIn(more 10) unless List(bane havoc) Spell(BANEOFAGONY)
   }   
   if TargetDebuffExpires(CORRUPTION 2 mine=1 haste=spell) and TargetDeadIn(more 6) Spell(CORRUPTION)
   if TargetDistance(less 8) Spell(SHADOWFLAME)   
   if BuffPresent(EMPOWEREDIMP) and at most 1.5s from BuffExpires(IMPROVEDSOULFIREBUFF) until BuffExpires(EMPOWEREDIMP) Spell(SOULFIRE)   
   Spell(CHAOSBOLT)
   if BuffExpires(IMPROVEDSOULFIREBUFF 5) Spell(SOULFIRE)
   if TargetLifePercent(less 20) Spell(SHADOWBURN)
   if ManaPercent(less 10) Spell(LIFETAP)
   Spell(INCINERATE)
}

AddIcon help=cd size=small mastery=3
{
   if BuffPresent(heroism) Spell(SUMMONINFERNAL)
   Spell(DEMONSOUL)
   Item(Trinket0Slot usable=1)
   Item(Trinket1Slot usable=1)
}

AddIcon size=small
{
   Spell(SOULBURN usable=1)
}

AddIcon size=small mastery=1
{
    unless PetPresent()
    {
        if List(afflic shadow) Spell(SUMMONSUCCUBUS)
        if List(afflic drain) Spell(SUMMONIMP)
    }
}

AddIcon size=small mastery=2
{
    unless PetPresent() Spell(SUMMONFELGUARD)
}

AddIcon size=small mastery=3
{
    unless PetPresent() Spell(SUMMONIMP)
}
AddIcon size=small
{
    if TargetDistance(less 8) Texture(ability_warlock_shadowflame)
    Texture(Ability_druid_dash)
}

Posts: 2
Joined: Fri Oct 07, 2011 11:31 pm

Re: 4.06 Warlock Ovale script

Postby nidalee » Fri Oct 07, 2011 11:35 pm

Apologies for the necro post but any chance you have kept this updated? Recently been playing a warlock alt and this would be handy if its there to be had.

Revered
Posts: 457
Joined: Sat Jan 29, 2011 7:17 am

Re: 4.06 Warlock Ovale script

Postby shinryu » Sat Oct 08, 2011 2:41 am

That is one huge necro...and I somewhat doubt this has been updated much at all seeing how you're the first reply in over a year...

Posts: 2
Joined: Mon May 16, 2011 1:56 pm

Re: 4.06 Warlock Ovale script

Postby Viruzzz » Sat Oct 08, 2011 4:02 am

only half a year from what I can see.

Revered
Posts: 457
Joined: Sat Jan 29, 2011 7:17 am

Re: 4.06 Warlock Ovale script

Postby shinryu » Sat Oct 08, 2011 1:25 pm

Viruzzz wrote:only half a year from what I can see.

Oops you're right, was looking at joined date by mistake.

Still, semantics aside, still a big necro and I still doubt it's updated lol.

Exalted
User avatar
Posts: 1147
Joined: Fri Jun 04, 2010 4:28 am

Re: 4.06 Warlock Ovale script

Postby Leafkiller » Sat Oct 08, 2011 3:46 pm

Surprisingly the Afflic and Destro rotations were still correct last I checked - which was shortly after 4.2 came out. The demo section is not up to date as that has been changed radically with the new pet twisting code.

Pazarac has posted more up to date scripts on the Ovale forums at http://wow.curseforge.com/addons/ovale/forum/warlock/ , but my wife tells me script is still better for affliction.

I keep meaning to update it based on the most recent Simulationcraft scripts, but I have just not found the time.

Posts: 2
Joined: Fri Oct 07, 2011 11:31 pm

Re: 4.06 Warlock Ovale script

Postby nidalee » Sat Oct 08, 2011 8:31 pm

Thanks for the reply Leafkiller. I had remembered reading that you had made this for your wife so thought there was a possibility it was kept updated but not posted here due to the lack of feedback.

Thanks again.

Posts: 3
Joined: Wed Jun 29, 2011 8:04 am

Re: 4.06 Warlock Ovale script

Postby holytiamat » Sat Oct 22, 2011 1:52 pm

Leafkiller, don't you have any updated script for Demonology on patch 4.2 ?

Ty!

Exalted
User avatar
Posts: 1147
Joined: Fri Jun 04, 2010 4:28 am

Re: 4.06 Warlock Ovale script

Postby Leafkiller » Sat Oct 22, 2011 2:47 pm

holytiamat wrote:Leafkiller, don't you have any updated script for Demonology on patch 4.2 ?

Ty!


Call me lazy. My wife is running affliction...

Posts: 1
Joined: Sat Dec 10, 2011 3:43 am

Re: 4.06 Warlock Ovale script

Postby sfhd88 » Sat Dec 10, 2011 3:46 am

SpellAddTargetDebuff(BANEOFDOOM BANEOFDOOM=60)

Posts: 32
Joined: Wed Feb 09, 2011 11:25 am

Re: 4.06 Warlock Ovale script

Postby Xube » Mon Dec 19, 2011 2:03 pm

This is kind of cool,that people are putting up other scripts. Maybe this isnt the right place but, Would anyone else have any resources to where one can find other scripts like leaf's feral one. Like a Mage or ret paladin or Rogue?

Exalted
User avatar
Posts: 1147
Joined: Fri Jun 04, 2010 4:28 am

Re: 4.06 Warlock Ovale script

Postby Leafkiller » Mon Dec 19, 2011 7:17 pm

You can always check the Ovale forums: http://wow.curseforge.com/addons/ovale/forum/

I have also seen a Warlock script on the SimulationCraft thread at EJB although I did not like the way it was customized.

Posts: 32
Joined: Wed Feb 09, 2011 11:25 am

Re: 4.06 Warlock Ovale script

Postby Xube » Tue Dec 20, 2011 11:13 am

I have been unfortunatly most of the posts there are from like early 2011. So everythings out of date. Especially with changes to classes made in 4.2 then 4.3. But ya if any one has any resources to other class scripts that are more up to date. Let me know!

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 1 guest