• Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Singular Kite

    Discussion in 'Honorbuddy Forum' started by kicko, Feb 2, 2013.

    1. kicko

      kicko New Member

      Joined:
      Jan 8, 2013
      Messages:
      15
      Likes Received:
      0
      Trophy Points:
      0
      This is part of Elemental.cs
      Code:
      [Behavior(BehaviorType.Combat, WoWClass.Shaman, WoWSpec.ShamanElemental, WoWContext.Normal)]
              public static Composite CreateShamanElementalNormalCombat()
              {
                  return new PrioritySelector(
                      Safers.EnsureTarget(),
                      Movement.CreateMoveToLosBehavior(),
                      Movement.CreateFaceTargetBehavior(),
      
                      new Decorator(
                          ret => Me.GotTarget && Me.CurrentTarget.Distance < NormalPullDistance,
                          //Movement.CreateEnsureMovementStoppedBehavior(),
                           Helpers.Kite.CreateKitingBehavior(
                      new PrioritySelector(
                           //runaway
                           Spell.Cast("Grounding Totem"),
                           Spell.BuffSelf("Earthbind Totem"),
                           //Spell.Cast("Tremor Totem")
                          ),
                          new PrioritySelector(
                          //stop folowers
                               Spell.Buff("Frost Shock"),
                              Spell.Cast("Lightning Bolt")
                              )
                          )
                          ),
      
                      Spell.WaitForCastOrChannel(),
      
                      new Decorator(
                          ret => !Spell.IsGlobalCooldown(),
                          new PrioritySelector(
                              CreateElementalDiagnosticOutputBehavior(),
      ..... spellls rotation.....
      
      Problem is it does not move away when mob comes near
      Is this implementation correct?

      I am sorry for not putting it in Singular post, I am competely lost in that post
       

    Share This Page