Ejemplo n.º 1
0
        public static void ClearCurrentMove(Mobile m)
        {
            SpecialMove move = null;

            m_Table.TryGetValue(m, out move);

            if (move != null)
            {
                move.OnClearMove(m);

                int moveID = SpellRegistry.GetRegistryNumber(move);

                if (moveID > 0)
                {
                    m.Send(new ToggleSpecialAbility(moveID + 1, false));
                }
            }

            m_Table.Remove(m);
        }