Jon310
Member
- Joined
- Jan 15, 2010
- Messages
- 368
Pretty sure this is very simple but I'm new to C. I want to have my druid do nothing while I'm in normal form.
You can look in the Combat cc for rogues, it has some code that allows it to do nothing while vanished.
Code:
[Class(WoWClass.Rogue)]
[Spec(TalentSpec.CombatRogue)]
[Behavior(BehaviorType.Combat)]
[Context(WoWContext.Normal)]
public static Composite CreateCombatRogueNormalCombat()
{
return new PrioritySelector(
Safers.EnsureTarget(),
Movement.CreateMoveToLosBehavior(),
Movement.CreateFaceTargetBehavior(),
new Decorator(
ret => !StyxWoW.Me.HasAura("Vanish"),
Helpers.Common.CreateAutoAttack(true)),
Helpers.Common.CreateInterruptSpellCast(ret => StyxWoW.Me.CurrentTarget),
// Don't do anything if we casted vanish
new Decorator(
ret => StyxWoW.Me.HasAura("Vanish"),
new ActionAlwaysSucceed()),
Last edited: