示例#1
0
        public override void Run(Combat.Character character)
        {
            Int32 explod_id = EvaluationHelper.AsInt32(character, Id, Int32.MinValue);
            Int32 time      = EvaluationHelper.AsInt32(character, Time, 1);

            foreach (Combat.Explod explod in character.GetExplods(explod_id))
            {
                explod.Data.BindTime = time;
            }
        }
示例#2
0
        public override void Run(Combat.Character character)
        {
            var explodId = EvaluationHelper.AsInt32(character, Id, int.MinValue);
            var time     = EvaluationHelper.AsInt32(character, Time, 1);

            foreach (var explod in character.GetExplods(explodId))
            {
                explod.Data.BindTime = time;
            }
        }
示例#3
0
        public override void Run(Combat.Character character)
        {
            Int32 explod_id = EvaluationHelper.AsInt32(character, ExplodId, Int32.MinValue);

            List <Combat.Explod> removelist = new List <Combat.Explod>(character.GetExplods(explod_id));

            foreach (Combat.Explod explod in removelist)
            {
                explod.Kill();
            }
        }
示例#4
0
        public override void Run(Combat.Character character)
        {
            var explodId = EvaluationHelper.AsInt32(character, ExplodId, int.MinValue);

            var removelist = new List <Combat.Explod>(character.GetExplods(explodId));

            foreach (var explod in removelist)
            {
                explod.Kill();
            }
        }
示例#5
0
        public override void Run(Combat.Character character)
        {
            Combat.ModifyExplodData data = CreateModifyExplodData(character);
            if (data == null)
            {
                return;
            }

            foreach (Combat.Explod explod in character.GetExplods(data.Id))
            {
                explod.Modify(data);
            }
        }
示例#6
0
        public static Int32 Evaluate(Object state, ref Boolean error, Int32 explod_id)
        {
            Combat.Character character = state as Combat.Character;
            if (character == null)
            {
                error = true;
                return(0);
            }

            Int32 count = 0;

            foreach (Combat.Explod explod in character.GetExplods(explod_id))
            {
                ++count;
            }

            return(count);
        }