示例#1
0
        private void _AttachHit(IIndividual target, HitForce hit_force)
        {
            if (_Attacked.Contains(target.Id) == false)
            {
                _Attacked.Add(target.Id);

                if (_Caster.HasHit() && _HitNextsEvent != null)
                {
                    _HitNextsEvent(_Caster.Data.HitNexts);
                }


                target.AttachHit(_Player.Id, hit_force);
            }
        }
        private void _AttachHit(IIndividual target, HitForce hit_force)
        {
            if (_Attacked.Contains(target.Id) == false)
            {
                _Attacked.Add(target.Id);

                if (_Caster.HasHit() && _HitNextsEvent !=null)
                    _HitNextsEvent(_Caster.Data.HitNexts);

                target.AttachHit(_Player.Id , hit_force);

            }
        }