What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Hunter - Aspect of the Pack out of comat

Ozon

New Member
Joined
Dec 16, 2011
Messages
19
Reaction score
0
Hey, I'm in need of a simple plugin that cause my hunter to use Aspect of the Pack while out of combat and remove it while in combat.
Is something like that possible :)?
 
I would love to see the same man, mostly for grim batol dungeon farming ;)
 
Just curious, why would you need this w/ Aspect of the Cheetah Glyphed?
 
Just curious, why would you need this w/ Aspect of the Cheetah Glyphed?

Well if you farm the entire instance in cheetah u gonna be slowed 90% of the time so if we could manage to get a plugin that activate and deactivate on combat/movement, it would farm the entire instance with no slows then run back with the 38% speed bonus.
Btw i found some code to activate aspects on combat based on the old iron aspect If someone could help and adapt it to our needs it would be awesome!!!!

Here is the code

public static Composite HandleAspectSwitching()
{
return new Decorator( ret => Me.IsMoving && CLUSettings.Instance.Hunter.HandleAspectSwitching,
new Sequence(
// Waiting for a bit just incase we are only moving outa the fire!
new WaitContinue(1, ret => false, new ActionAlwaysSucceed()), // Hmm..check this...-- wulf
Buff.CastBuff("Aspect of the Fox", ret => Me.IsMoving, "[Aspect] of the Fox - Moving"),
new PrioritySelector(
Buff.CastBuff("Aspect of the Hawk", ret => !Me.IsMoving, "[Aspect] of the Hawk"),
Buff.CastBuff("Aspect of the Iron Hawk", ret => !Me.IsMoving, "[Aspect] of the Iron Hawk")


O btw this is part of the combat routine not a plugin...
 
k lets give some love to the community :)

I wrote you the Plugin. If there is any bug pm me.
HTML:
using System;
using Styx;
using Styx.CommonBot;
using Styx.Plugins;

namespace HB.Plugins.NoMoveDetector
{
    class NoMoveDetector : HBPlugin
    {
        #region Overrides of HBPlugin

      
        public override string ButtonText { get { return "---"; } }
        public override bool WantButton { get { return false; } }
        public override void OnButtonPress() { }
        public override string Name { get { return "Aspect-of-the-pack"; } }
        public override string Author { get { return "Bloodyfinale"; } }
        public override Version Version { get { return new Version(1, 0, 0); } }

        #endregion
        public override void Pulse()
        {
            if (!StyxWoW.Me.IsActuallyInCombat 
                && !StyxWoW.Me.Mounted
                && !StyxWoW.Me.HasAura(13159)
                && SpellManager.CanCast(13159))
            {
                SpellManager.Cast(13159);
            }
        }

     }
}
 

Attachments

Thanks!, but I don't think it is working for me, it doesn't cancel the aspect of the pack when I enter combat or recasting it when I don't have it on me, am I doing something wrong?
 
Back
Top