Exemple #1
0
        public override void PlayNote(Note note)
        {
            var bell2Note = Bell2Note.From(note);

            if (RequiresAction(bell2Note))
            {
                if (bell2Note.Key == Bell2Note.Keys.None)
                {
                    PressNote(GuildWarsControls.EliteSkill);
                }
                else
                {
                    bell2Note = OptimizeNote(bell2Note);
                    PressNote(NoteMap[bell2Note.Key]);
                }
            }
        }
Exemple #2
0
        public override void GoToOctave(Note note)
        {
            var bell2Note = Bell2Note.From(note);

            if (RequiresAction(bell2Note))
            {
                bell2Note = OptimizeNote(bell2Note);

                while (_currentOctave != bell2Note.Octave)
                {
                    if (_currentOctave < bell2Note.Octave)
                    {
                        IncreaseOctave();
                    }
                    else
                    {
                        DecreaseOctave();
                    }
                }
            }
        }