stewiethecat
Member
- Joined
- Feb 4, 2011
- Messages
- 454
looking for a simple hold key down, force enmity rotation to kupo warrior routine. I used to use this written by Exmortem. But I think it's now obsolite?
any help with this would be appreciated. Something that can hold me over until some of the newer routines come out which then i can donate
Code:
protected override Composite CreateCombat() {
return new PrioritySelector(
new Decorator(ret => {
if (KeyboardPolling.IsKeyDown(System.Windows.Forms.Keys.LShiftKey))
return true;
return false;
}, new PrioritySelector(
Cast("Butcher's Block", r => Actionmanager.LastSpell.Name == "Skull Sunder", r => Core.Player.CurrentTarget),
Cast("Skull Sunder", r => Actionmanager.LastSpell.Name == "Heavy Swing", r => Core.Player.CurrentTarget),
Cast("Heavy Swing", r => true, r => Core.Player.CurrentTarget)
)),
new Decorator(ret => {
if (KeyboardPolling.IsKeyDown(System.Windows.Forms.Keys.LControlKey))
return true;
return false;
}, new PrioritySelector(
Apply("Fracture"),
Cast("Storm's Eye", r => !Core.Player.CurrentTarget.HasAura("Storm's Eye", true, msLeft:3000) && Actionmanager.LastSpell.Name == "Maim", r => Core.Player.CurrentTarget),
Cast("Storm's Path", r => !Core.Player.CurrentTarget.HasAura("Storm's Path", true, msLeft:3000) && Actionmanager.LastSpell.Name == "Maim", r => Core.Player.CurrentTarget),
Cast("Maim", r => Actionmanager.LastSpell.Name == "Heavy Swing", r => Core.Player.CurrentTarget),
Cast("Heavy Swing", r => true, r => Core.Player.CurrentTarget)
)),
any help with this would be appreciated. Something that can hold me over until some of the newer routines come out which then i can donate
