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

Wait time syntax for routine

nucleotides

Active Member
Joined
Jun 2, 2012
Messages
1,060
Reaction score
11
I wanted to add something to the Mammon barb routine that forces it to wait 1 second after using sprint before attempting to use that again. Any ideas how to handle that?

[Class(ActorClass.Barbarian)]
[Behavior(BehaviorType.OutOfCombat)]
[Priority(2)]
public static Composite BarbarianBuffs()
{
return
new PrioritySelector(
Spell.Buff(SNOPower.Barbarian_WarCry),
// Fury spender out of combat, movement speed = King!
Spell.Buff(SNOPower.Barbarian_Sprint,
require => !ZetaDia.Me.HasBuff(SNOPower.Barbarian_Sprint)
)
);
}
 
Last edited:
Back
Top