Пример #1
0
        public override void Process(Mobile from, BaseCommand command, string[] args)
        {
            RangeCommandImplementor impl = RangeCommandImplementor.Instance;

            if (impl == null)
            {
                return;
            }

            impl.Process(18, from, command, args);
        }
Пример #2
0
        public RangeCommandImplementor()
        {
            Accessors            = new string[] { "Range" };
            SupportRequirement   = CommandSupport.Area;
            SupportsConditionals = true;
            AccessLevel          = AccessLevel.GameMaster;
            Usage       = "Range <range> <command> [condition]";
            Description = "Invokes the command on all appropriate objects within a specified range of you. Optional condition arguments can further restrict the set of objects.";

            m_Instance = this;
        }