Beispiel #1
0
        private void ToggleOff(int index)
        {
            Spell spell = spells [index];

            spell.StopCast();
            SpellToggle [index] = false;
        }
Beispiel #2
0
        public void StopCast(int index)
        {
            Spell toStop = spells [index];

            if (toStop == null)
            {
                return;
            }

            if (toStop.Channeled)
            {
                toStop.StopCast();
                StopCoroutine(channelManaDrain);
                channeling = false;
            }
        }