Ejemplo n.º 1
0
 private static Composite Hymn()
 {
     return
         (new Decorator(ret => SpellManager.CanCast("Hymn of Hope") &&
                        KeyboardPolling.IsKeyDown(Keys.Z),
                        new Action(ret =>
     {
         SpellManager.Cast("Hymn of Hope");
         return;
     })));
 }
Ejemplo n.º 2
0
 private static Composite MockingBanner()
 {
     return
         (new Decorator(ret => SpellManager.CanCast("Mocking Banner") &&
                        KeyboardPolling.IsKeyDown(Keys.C),
                        new Action(ret =>
     {
         SpellManager.Cast("Mocking Banner");
         Lua.DoString("if SpellIsTargeting() then CameraOrSelectOrMoveStart() CameraOrSelectOrMoveStop() end");
         return;
     })));
 }
Ejemplo n.º 3
0
        public override void Pulse()
        {
            if (KeyboardPolling.IsKeyDown(Keys.NumPad4))
            {
                Movement.Movement.CoPulse();
            }

            if (Me.GotTarget && !Me.CurrentTarget.IsFriendly && Me.CurrentTarget.IsTargetingMeOrPet)
            {
                Movement.Movement.CoPulse();
            }
        }