• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • [MoP] Demonology Warlock (Singular Revised)

    Discussion in 'Archives' started by Smarter, Oct 22, 2012.

    1. jgcw

      jgcw Member

      Joined:
      Oct 6, 2012
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      6
      when the you have not summond a demon or it dies, it wil stand stil and do nothing....
       
    2. Smarter

      Smarter Member

      Joined:
      Jan 15, 2010
      Messages:
      763
      Likes Received:
      9
      Trophy Points:
      18
      It's actually attempting to cast Doom. It's an issue we are working on :-\
       
    3. cameronmc88

      cameronmc88 Member

      Joined:
      Jun 25, 2012
      Messages:
      241
      Likes Received:
      1
      Trophy Points:
      18
      My felguard pet dies a lot, he never heals it..
       
    4. Nightmare

      Nightmare New Member

      Joined:
      Oct 12, 2012
      Messages:
      110
      Likes Received:
      0
      Trophy Points:
      0
      Just wanted to say this CC is working pretty damn good for leveling. Thanks for this Smarter.
       
    5. Dubzie

      Dubzie New Member

      Joined:
      Oct 22, 2012
      Messages:
      58
      Likes Received:
      0
      Trophy Points:
      0
      So i found the issue, why do doesnt attack, trying to cast Corruption when he cant,

      public static Composite CreateWarlockDemonologyNormalPull()
      {
      return new PrioritySelector(
      Safers.EnsureTarget(),
      Movement.CreateMoveToLosBehavior(),
      Movement.CreateFaceTargetBehavior(),
      Spell.WaitForCast(true),
      Spell.Buff("Corruption",true),
      Movement.CreateMoveToTargetBehavior(true, 35f)
      );
      }

      I've tryed this code:
      Code:
              public static Composite CreateWarlockDemonologyNormalPull()
              {
                  return new PrioritySelector(
                      Safers.EnsureTarget(),
                      Movement.CreateMoveToLosBehavior(),
                      Movement.CreateFaceTargetBehavior(),
                      Spell.WaitForCast(true),
                      Spell.Cast("Shadowbolt", ret => StyxWow.Me.Level < 36 && StyxWoW.Me.HasAura("Metamorphosis")),
      		Spell.Buff("Corruption",true),
                      Movement.CreateMoveToTargetBehavior(true, 35f)
                      );
              }
      But it returns an error "The name 'StyxWow' does not exist in the current context"
      Anyone know how to return the level value, as that is what is used in the documentation.

      For now use this:
      Code:
              public static Composite CreateWarlockDemonologyNormalPull()
              {
                  return new PrioritySelector(
                      Safers.EnsureTarget(),
                      Movement.CreateMoveToLosBehavior(),
                      Movement.CreateFaceTargetBehavior(),
                      Spell.WaitForCast(true),
                      Spell.Cast("Shadowbolt", ret => StyxWoW.Me.HasAura("Metamorphosis")),
      		Spell.Buff("Corruption",true),
                      Movement.CreateMoveToTargetBehavior(true, 35f)
                      );
              }
       
    6. Wayno

      Wayno Member

      Joined:
      Jun 11, 2012
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      6
      hello, i have update the code for the summoning of pets,

      so at certain lvls it will summon the correct pets.

      Level 1: Imp
      Level 8: Void Walker
      Level 20: Succubus
      Level 29: Felhunter
      Level 42: FelGuard

      update code for the Corruption Issue
       

      Attached Files:

      Last edited: Oct 24, 2012
    7. Wayno

      Wayno Member

      Joined:
      Jun 11, 2012
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      6
      i havent tested this yet but could be something like this?

      string MetaSpell = "";

      public static Composite CreateWarlockDemonologyNormalPull()
      {

      if (StyxWoW.Me.Level >= 36)
      Metaspell = "Corruption";

      else if (StyxWoW.Me.Level < 36)
      {
      MetaSpell = "Shadowbolt";
      }

      return new PrioritySelector(
      Safers.EnsureTarget(),
      Movement.CreateMoveToLosBehavior(),
      Movement.CreateFaceTargetBehavior(),
      Spell.WaitForCast(true),
      Spell.Cast("MetaSpell" && StyxWoW.Me.HasAura("Metamorphosis")),
      Spell.Buff("Corruption",true),
      Movement.CreateMoveToTargetBehavior(true, 35f)
      );
      }

      for meta issue?
       
    8. Dubzie

      Dubzie New Member

      Joined:
      Oct 22, 2012
      Messages:
      58
      Likes Received:
      0
      Trophy Points:
      0
      Nope doesnt work
       
    9. Wayno

      Wayno Member

      Joined:
      Jun 11, 2012
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      6
      I have fixed the issue with the Meta and Corruption.

      if u are below 36 it will cast shadowbolt when get higher lvl it will cast corruption/doom

      Added pet heals @ 30% of its life.
      Added harvest life @ 30% of its life.
       

      Attached Files:

      Last edited: Oct 24, 2012
    10. jgcw

      jgcw Member

      Joined:
      Oct 6, 2012
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      6
      demons fix works great! love this routine!
       
    11. Dubzie

      Dubzie New Member

      Joined:
      Oct 22, 2012
      Messages:
      58
      Likes Received:
      0
      Trophy Points:
      0
      Code:
      string MetaSpell = "";
      			
      			if (StyxWoW.Me.Level >= 36 && StyxWoW.Me.HasAura("Metamorphosis"))
      			MetaSpell = "Corruption";
      
      			else if (StyxWoW.Me.Level < 36 && StyxWoW.Me.HasAura("Metamorphosis"))
      			{
      			MetaSpell = "Shadowbolt";
      			}
      			
      			else if (StyxWoW.Me.Level < 36 && !StyxWoW.Me.HasAura("Metamorphosis"))
      			{
      			MetaSpell = "Corruption";
      			}
      Can be replaced with:
      Code:
      		Spell.Cast("Shadowbolt", ret => StyxWoW.Me.Level < 36 && StyxWoW.Me.HasAura("Metamorphosis")),
      		Spell.Buff("Corruption",true),
      My original code had a typo

      Also you'll want to change:
      Code:
      				new Decorator(ret => StyxWoW.Me.HasAura("Metamorphosis"),
                          new PrioritySelector(
                              Spell.Buff("Corruption", ret => StyxWoW.Me.Level >= 36 && StyxWoW.Me.CurrentTarget.HasAura("Doom")),
                              Spell.Cast("Shadowbolt")),
       
    12. jgcw

      jgcw Member

      Joined:
      Oct 6, 2012
      Messages:
      57
      Likes Received:
      0
      Trophy Points:
      6
      isent it better to post the updated files instead of letting us changing the code (doesent work for me lol just a noob at coding)
       
    13. Wayno

      Wayno Member

      Joined:
      Jun 11, 2012
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      6
      just use my uploaded code it does the same thing, when i finished adding some other features ill upload it.
       
    14. Dubzie

      Dubzie New Member

      Joined:
      Oct 22, 2012
      Messages:
      58
      Likes Received:
      0
      Trophy Points:
      0
      @Wayno
      Both your fix for Meta and myne is still not working...
       
    15. Wayno

      Wayno Member

      Joined:
      Jun 11, 2012
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      6
      its working for me
       
    16. Smarter

      Smarter Member

      Joined:
      Jan 15, 2010
      Messages:
      763
      Likes Received:
      9
      Trophy Points:
      18
      Kindly remove yourself from my post, if you would like to share changes, do so in your own post. Do not thread jack mine. Thank you.
       
    17. Wayno

      Wayno Member

      Joined:
      Jun 11, 2012
      Messages:
      52
      Likes Received:
      0
      Trophy Points:
      6
      wow, guess u cant help some ppl
       
    18. Smarter

      Smarter Member

      Joined:
      Jan 15, 2010
      Messages:
      763
      Likes Received:
      9
      Trophy Points:
      18
      It wasn't meant to be rude, making a suggestion or bug change is one thing, but please don't release code in this post. People get confused and start using your things, then complaining in the topic then my bug reports aren't accurate, understand?
       
    19. Smarter

      Smarter Member

      Joined:
      Jan 15, 2010
      Messages:
      763
      Likes Received:
      9
      Trophy Points:
      18
      10/24/2012 - 3:40PM - Updated Meta Casting for Lower Levels, Added ReSummoning Pet if in Combat, Added Pet Healing.
       
    20. ycyanxiaotao

      ycyanxiaotao New Member

      Joined:
      Apr 2, 2012
      Messages:
      37
      Likes Received:
      0
      Trophy Points:
      0
      Why doesn't it use Dark Intent to buff itself? Dark Intent will increase spell power by 10%
       

    Share This Page