• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Singular: PROT PAL - UNDYING

    Discussion in 'Archives' started by dracoe, Oct 12, 2012.

    1. dracoe

      dracoe Member

      Joined:
      Jan 15, 2010
      Messages:
      302
      Likes Received:
      3
      Trophy Points:
      18
      ** NOTE: This is Singular Code. Just modify to my liking. **

      The Undying

      How To Use:
      Backup your Protection.cs from the Singular Routine included on HB. Replace Singular Default Protection.cs with this one.

      What It Does:
      This would use Seal of Insight as your main seal and keep you healed and spams sacred shield. This will also pull with Avengers Shield to pick 2-3 mobs. it also uses Hammer of Righteous on single targets for the Demoralizing debuff, in addition it uses Hammer of Wrath when available.

      I have very little downtime because is always full on HP and Mana.

      This is not for quick dispatch of mobs. This is to pull multiple-mobs without dying, and keep a consistent stream of XP coming in.

      What Spec/Glyphs:
      Look Here At WoWHead


      ** Update **
      Just added to use Word of Glory if health is below 80% and has 2 or more Holy Power.
       

      Attached Files:

      Last edited: Oct 13, 2012
      Exmortem likes this.
    2. Exmortem

      Exmortem Community Developer

      Joined:
      Mar 28, 2010
      Messages:
      799
      Likes Received:
      16
      Trophy Points:
      18
      works great, thanks!
       
    3. aaranx

      aaranx New Member

      Joined:
      Mar 30, 2012
      Messages:
      33
      Likes Received:
      0
      Trophy Points:
      0
      Works like a charm thanks :)
       
    4. OnLy4FuN

      OnLy4FuN Member

      Joined:
      Dec 21, 2011
      Messages:
      57
      Likes Received:
      1
      Trophy Points:
      8
      "This is not for quick dispatch of mobs."

      So, could you make few adjustments so i can clear quickly lvl 80 instances, for example.. i got 463 gear... if you need help with testing, i'm also avaiable!

      thx in advance! =)
       
    5. arenty

      arenty New Member

      Joined:
      Jan 4, 2011
      Messages:
      181
      Likes Received:
      0
      Trophy Points:
      0
      You should add Word of Glory

      Code:
                      Spell.Cast("Word of Glory",
                          ret => (StyxWoW.Me.CurrentHolyPower == 3 || StyxWoW.Me.ActiveAuras.ContainsKey("Divine Purpose")) &&
                                  StyxWoW.Me.HealthPercent <= 70),

      And you should never use Hammer of the Righteous if the target has Weakened Blows, only Crusader Strike on single target.

      Code:
                      Spell.Cast("Hammer of the Righteous", ret => !StyxWoW.Me.CurrentTarget.ActiveAuras.ContainsKey("Weakened Blows")),
                      Spell.Cast("Crusader Strike"),

      This is mine Singular Prot, it uses Seal of Insight, have Sacred shield up and Heal you with Word of Glory.
      It Support flawless Aoe/Single Rotation(imo)
      Code:
      using System.Linq;
      using Singular.Dynamics;
      using Singular.Helpers;
      using Singular.Managers;
      using Singular.Settings;
      using Styx;
      
      using Styx.CommonBot;
      using Styx.WoWInternals;
      using Styx.WoWInternals.WoWObjects;
      
      using Styx.TreeSharp;
      using Rest = Singular.Helpers.Rest;
      
      namespace Singular.ClassSpecific.Paladin
      {
          public class Protection
          {
              [Behavior(BehaviorType.Rest, WoWClass.Paladin, WoWSpec.PaladinProtection)]
              public static Composite CreatePaladinHolyRest()
              {
                  return new PrioritySelector(
                      // Rest up damnit! Do this first, so we make sure we're fully rested.
                      Rest.CreateDefaultRestBehaviour(),
                      // Can we res people?
                      Spell.Resurrect("Redemption"));
              }
      
      
              [Behavior(BehaviorType.Combat, WoWClass.Paladin, WoWSpec.PaladinProtection)]
              public static Composite CreatePaladinProtectionCombat()
              {
                  return new PrioritySelector(
                      ctx => TankManager.Instance.FirstUnit ?? StyxWoW.Me.CurrentTarget,
                      Safers.EnsureTarget(),
                      Movement.CreateMoveToLosBehavior(),
                      Movement.CreateFaceTargetBehavior(),
                      Helpers.Common.CreateAutoAttack(true),
                      Helpers.Common.CreateInterruptSpellCast(ret => (WoWUnit)ret),
      
                      // Seal twisting. If our mana gets stupid low, just throw on insight to get some mana back quickly, then put our main seal back on.
                      // This is Seal of Insight once we get it, Righteousness when we dont.
                      Spell.BuffSelf("Seal of Insight", ret => StyxWoW.Me.ManaPercent < 5),
                      Spell.BuffSelf("Seal of Insight", ret => StyxWoW.Me.ManaPercent >= 5),
                      Spell.BuffSelf("Seal of Righteousness", ret => StyxWoW.Me.ManaPercent >= 5 && !SpellManager.HasSpell("Seal of Insight")),
      
                      // Defensive
                      Spell.BuffSelf("Hand of Freedom",
                          ret => StyxWoW.Me.HasAuraWithMechanic(WoWSpellMechanic.Dazed,
                                                                WoWSpellMechanic.Disoriented,
                                                                WoWSpellMechanic.Frozen,
                                                                WoWSpellMechanic.Incapacitated,
                                                                WoWSpellMechanic.Rooted,
                                                                WoWSpellMechanic.Slowed,
                                                                WoWSpellMechanic.Snared)),
      
                      Spell.BuffSelf("Divine Shield",
                          ret => StyxWoW.Me.CurrentMap.IsBattleground && StyxWoW.Me.HealthPercent <= 20 && !StyxWoW.Me.HasAura("Forbearance")),
      
                      Spell.Cast("Reckoning",
                          ret => TankManager.Instance.NeedToTaunt.FirstOrDefault(),
                          ret => SingularSettings.Instance.EnableTaunting && StyxWoW.Me.IsInInstance),
      
                      //Multi target
                      new Decorator(
                          ret => Unit.UnfriendlyUnitsNearTarget(8f).Count() >= 2,
                          new PrioritySelector(
                     Spell.Cast("Word of Glory",
                          ret => (StyxWoW.Me.CurrentHolyPower == 3 || StyxWoW.Me.ActiveAuras.ContainsKey("Divine Purpose")) &&
                                  StyxWoW.Me.HealthPercent < 70 ),
                              Spell.BuffSelf("Sacred Shield", ret => SpellManager.HasSpell("Sacred Shield")),
                              Spell.Cast("Avenger's Shield"),
                              Spell.Cast("Shield of the Righteous",
                          ret => (StyxWoW.Me.CurrentHolyPower == 3 || StyxWoW.Me.ActiveAuras.ContainsKey("Divine Purpose"))),
                              Spell.Cast("Hammer of the Righteous"),
                              Spell.Cast("Judgment"),
                              Spell.Cast("Hammer of Wrath"),
                              Spell.Cast("Holy Prism"),
                              Spell.Cast("Consecration"),
                              Spell.Cast("Holy Wrath"),
                              Movement.CreateMoveToMeleeBehavior(true)
                              )),
                      //Single target
                     Spell.Cast("Word of Glory",
                          ret => (StyxWoW.Me.CurrentHolyPower == 3 || StyxWoW.Me.ActiveAuras.ContainsKey("Divine Purpose")) &&
                                  StyxWoW.Me.HealthPercent < 70 ),
                      Spell.BuffSelf("Sacred Shield", ret => SpellManager.HasSpell("Sacred Shield")),
                      Spell.Cast("Avenger's Shield"),
                      Spell.Cast("Shield of the Righteous",
                          ret => (StyxWoW.Me.CurrentHolyPower == 3 || StyxWoW.Me.ActiveAuras.ContainsKey("Divine Purpose"))),
                      Spell.Cast("Hammer of the Righteous", ret => !StyxWoW.Me.CurrentTarget.ActiveAuras.ContainsKey("Weakened Blows")),
                      Spell.Cast("Crusader Strike"),
                      Spell.Cast("Judgment"),
                      Spell.Cast("Holy Prism"),
                      Spell.Cast("Hammer of Wrath"),
                      Spell.Cast("Consecration"),
                      Spell.Cast("Holy Wrath"),
                      Movement.CreateMoveToMeleeBehavior(true));
              }
      
              [Behavior(BehaviorType.Pull, WoWClass.Paladin, WoWSpec.PaladinProtection)]
              public static Composite CreatePaladinProtectionPull()
              {
                  return
                      new PrioritySelector(
                          Movement.CreateMoveToLosBehavior(),
                          Movement.CreateFaceTargetBehavior(),
                          Helpers.Common.CreateAutoAttack(true),
                          Spell.BuffSelf("Sacred Shield", ret => SpellManager.HasSpell("Sacred Shield")),
                          Spell.Cast("Judgment"),
                          Spell.Cast("Avenger's Shield"),
                          Movement.CreateMoveToTargetBehavior(true, 5f)
                          );
              }
      
              [Behavior(BehaviorType.CombatBuffs, WoWClass.Paladin, WoWSpec.PaladinProtection)]
              public static Composite CreatePaladinProtectionCombatBuffs()
              {
                  return
                      new PrioritySelector(
                          Spell.Cast(
                              "Reckoning",
                              ret => TankManager.Instance.NeedToTaunt.FirstOrDefault(),
                              ret => SingularSettings.Instance.EnableTaunting && TankManager.Instance.NeedToTaunt.Count != 0),
                          Spell.BuffSelf("Avenging Wrath"),
                          Spell.BuffSelf(
                              "Lay on Hands",
                              ret => StyxWoW.Me.HealthPercent <= SingularSettings.Instance.Paladin.LayOnHandsHealth && !StyxWoW.Me.HasAura("Forbearance")),
                          Spell.BuffSelf(
                              "Guardian of Ancient Kings",
                              ret => StyxWoW.Me.HealthPercent <= SingularSettings.Instance.Paladin.GoAKHealth),
                          Spell.BuffSelf(
                              "Ardent Defender",
                              ret => StyxWoW.Me.HealthPercent <= SingularSettings.Instance.Paladin.ArdentDefenderHealth),
                          Spell.BuffSelf(
                              "Divine Protection",
                              ret => StyxWoW.Me.HealthPercent <= SingularSettings.Instance.Paladin.DivineProtectionHealthProt),
      
                          Spell.BuffSelf("Word of Glory", ret => StyxWoW.Me.HealthPercent < 50 && StyxWoW.Me.CurrentHolyPower == 3),
                          Spell.BuffSelf("Word of Glory", ret => StyxWoW.Me.HealthPercent < 25 && StyxWoW.Me.CurrentHolyPower == 2),
                          Spell.BuffSelf("Word of Glory", ret => StyxWoW.Me.HealthPercent < 15 && StyxWoW.Me.CurrentHolyPower == 1)
                          );
              }
      
              /*[Class(WoWClass.Paladin)]
              [Spec(WoWSpec.PaladinProtection)]
              [Behavior(BehaviorType.PullBuffs)]
              [Context(WoWContext.All)]
              public static Composite CreatePaladinProtectionPullBuffs()
              {
                  return
                      new PrioritySelector(
                          Spell.BuffSelf("Divine Plea")
                          );
              }*/
          }
      }
      
       
      Last edited: Oct 18, 2012
    6. dracoe

      dracoe Member

      Joined:
      Jan 15, 2010
      Messages:
      302
      Likes Received:
      3
      Trophy Points:
      18
      I actually added WoG later on to heal if is lower than 80% and have more than 2 Holy Power.

      The profiles I am using are not intended to have single mob, and I created this aiming to that. Prot for single target is slow and does not benefit from everything prot has to offer. For single target ret is way better. You should only have one single mob for no more than 30 sec which should be the last mob from pulled group. Yes, this can be used for single or maybe boss tank but it won't really be efficient. This routine is more for pull everything you ca, hit everything you can, without dying.
       
      Last edited: Oct 18, 2012
    7. dracoe

      dracoe Member

      Joined:
      Jan 15, 2010
      Messages:
      302
      Likes Received:
      3
      Trophy Points:
      18
      Well the idea of this routine is to pull groups of mobs without dying, this different from other tank routines. If you are grinding this is perfect, I have not tested this on dungeons.
       
    8. hodge74

      hodge74 Member

      Joined:
      Oct 12, 2012
      Messages:
      400
      Likes Received:
      1
      Trophy Points:
      18
      GREAT CC but it wont cast this
      [Singular] Casting Consecration on Dread Fearbringer
      the Consecration aura just hovers on the ground and if i dont manually enable it then the spell wont happen??
       
    9. oggamer

      oggamer New Member

      Joined:
      Jul 11, 2012
      Messages:
      37
      Likes Received:
      1
      Trophy Points:
      0
      If you have Consecration glyphed it wont work just drop that glyph and pick the the avenging wrath on it heals you while wrath is active
       
    10. ysosrslawl

      ysosrslawl New Member

      Joined:
      Dec 13, 2011
      Messages:
      411
      Likes Received:
      12
      Trophy Points:
      0
      Using this now, pretty much exactly what I wanted. Thanks!
       
    11. oggamer

      oggamer New Member

      Joined:
      Jul 11, 2012
      Messages:
      37
      Likes Received:
      1
      Trophy Points:
      0
      np : )
       
    12. HamadB

      HamadB Member

      Joined:
      Oct 12, 2012
      Messages:
      34
      Likes Received:
      0
      Trophy Points:
      6
      Thanks for making a awesome multi-target profile!
       
    13. OnLy4FuN

      OnLy4FuN Member

      Joined:
      Dec 21, 2011
      Messages:
      57
      Likes Received:
      1
      Trophy Points:
      8
      can you make it cast light's hammer (talent) if 4 or more monsters?
       
    14. powery

      powery Member

      Joined:
      Oct 8, 2012
      Messages:
      130
      Likes Received:
      3
      Trophy Points:
      18
      normaly the Combat Routines are in an folder so i can just put it in my Bot\Routines but his one is an tex document and when i paste it in i cant find it when i start up my bot

      this is wat im getting help plz

      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(6,16) : error CS0234: The type or namespace name 'Dynamics' does not exist in the namespace 'Singular' (are you missing an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(7,16) : error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Singular' (are you missing an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(8,16) : error CS0234: The type or namespace name 'Managers' does not exist in the namespace 'Singular' (are you missing an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(9,16) : error CS0234: The type or namespace name 'Settings' does not exist in the namespace 'Singular' (are you missing an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(17,23) : error CS0234: The type or namespace name 'Helpers' does not exist in the namespace 'Singular' (are you missing an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(23,10) : error CS0246: The type or namespace name 'Behavior' could not be found (are you missing a using directive or an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(23,10) : error CS0246: The type or namespace name 'BehaviorAttribute' could not be found (are you missing a using directive or an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(34,10) : error CS0246: The type or namespace name 'Behavior' could not be found (are you missing a using directive or an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(34,10) : error CS0246: The type or namespace name 'BehaviorAttribute' could not be found (are you missing a using directive or an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(98,10) : error CS0246: The type or namespace name 'Behavior' could not be found (are you missing a using directive or an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(98,10) : error CS0246: The type or namespace name 'BehaviorAttribute' could not be found (are you missing a using directive or an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(113,10) : error CS0246: The type or namespace name 'Behavior' could not be found (are you missing a using directive or an assembly reference?)
      Compiler Error: c:\Users\Martin\Desktop\Ny mappe\Routines\Protection\Protection.cs(113,10) : error CS0246: The type or namespace name 'BehaviorAttribute' could not be found (are you missing a using directive or an assembly reference?)
      [Singular] Starting Singular v2.5.6441.507
      [Singular] Determining talent spec.
      [Singular] TalentManager - looks like a PaladinProtection
      [Singular] Current spec is Paladin Protection
      [Singular] Building method list
      [Singular] Added 228 methods
      [Singular] Matched CreateUseTrinketsBehaviour to behavior Combat for Paladin Paladin Protection with priority 999
      [Singular] Matched CreateRacialBehaviour to behavior Combat for Paladin Paladin Protection with priority 998
      [Singular] Matched CreatePotionAndHealthstoneBehavior to behavior Combat for Paladin Paladin Protection with priority 997
      [Singular] Matched CreatePaladinProtectionCombat to behavior Combat for Paladin Paladin Protection with priority 0
      [Singular] Matched CreatePaladinProtectionPull to behavior Pull for Paladin Paladin Protection with priority 0
      [Singular] Matched CreatePaladinHolyRest to behavior Rest for Paladin Paladin Protection with priority 0
      [Singular] Matched CreatePaladinProtectionCombatBuffs to behavior CombatBuffs for Paladin Paladin Protection with priority 0
      [Singular] Matched CreateFlasksBehaviour to behavior PreCombatBuffs for Paladin Paladin Protection with priority 999
      [Singular] Matched CreatePaladinPreCombatBuffs to behavior PreCombatBuffs for Paladin Paladin Protection with priority 0
      [Singular] Behaviors created!
      [Singular] Matched CreateUseTrinketsBehaviour to behavior Combat for Paladin Paladin Protection with priority 999
      [Singular] Matched CreateRacialBehaviour to behavior Combat for Paladin Paladin Protection with priority 998
      [Singular] Matched CreatePotionAndHealthstoneBehavior to behavior Combat for Paladin Paladin Protection with priority 997
      [Singular] Matched CreatePaladinProtectionCombat to behavior Combat for Paladin Paladin Protection with priority 0
      [Singular] Matched CreatePaladinProtectionPull to behavior Pull for Paladin Paladin Protection with priority 0
      [Singular] Matched CreatePaladinHolyRest to behavior Rest for Paladin Paladin Protection with priority 0
      [Singular] Matched CreatePaladinProtectionCombatBuffs to behavior CombatBuffs for Paladin Paladin Protection with priority 0
      [Singular] Matched CreateFlasksBehaviour to behavior PreCombatBuffs for Paladin Paladin Protection with priority 999
      [Singular] Matched CreatePaladinPreCombatBuffs to behavior PreCombatBuffs for Paladin Paladin Protection with priority 0
      Initialization complete.
       
      Last edited: Nov 2, 2012
    15. HB7032V76

      HB7032V76 New Member

      Joined:
      Apr 20, 2011
      Messages:
      599
      Likes Received:
      1
      Trophy Points:
      0
      oh man i hope it works , i was always complaining ab this , this is 1000000 % leveling cc for my palas :D thx so much , ill test it at home...
       
    16. Lulutk

      Lulutk Member

      Joined:
      Sep 27, 2012
      Messages:
      103
      Likes Received:
      0
      Trophy Points:
      16
      Is this for end game prots? I'm looking for a Prot Pal cc for lazyraider, currently lv16 and would like to start que'ing with a nice prot cc.
       
    17. Klimo

      Klimo New Member

      Joined:
      Feb 13, 2010
      Messages:
      118
      Likes Received:
      0
      Trophy Points:
      0
      this is the best PROT CC really awesome !
       
    18. kulkun

      kulkun New Member

      Joined:
      Dec 10, 2011
      Messages:
      26
      Likes Received:
      0
      Trophy Points:
      0
      Did you manage to make it work with the lastest HB updates? It crash my HB when I try to open it.
      Used it and is a good CC btw.
       
    19. Klimo

      Klimo New Member

      Joined:
      Feb 13, 2010
      Messages:
      118
      Likes Received:
      0
      Trophy Points:
      0
      u only have to delete the protection.cs and then put this one in it ... i use the betaversion .63
       
    20. icenode

      icenode Member

      Joined:
      Jan 15, 2010
      Messages:
      101
      Likes Received:
      0
      Trophy Points:
      16
      Thanks for this, raking in the Motes! One quick question from a pally noob - should I gear mitigation and use ReforgeLite set fully for tanking spec? Or just use this spec with a shield then reforge for retri to kill faster? I mean, he never dies anyway so wouldn't hurt to kill quicker once you're at that level of survivability, maybe?
       

    Share This Page