chenxin
2020-11-07 53d87db7d89d71eede56b19e25e5cb95ce2bbe76
Assets/Scripts/ActionGameFramework/Health/DamageCollider.cs
@@ -54,12 +54,12 @@
            var agent = this.gameObject.GetComponent<Agent>();
            if (agent == null)
                return;
            BallisticProjectile ballistic = c.gameObject.GetComponent<BallisticProjectile>();
            if (ballistic.IsHitEnemy)
            {
                Debug.LogError("--------------------- 已发生过碰撞 ---------------------");
                Debug.Log("--------------------- 已发生过碰撞 ---------------------");
                return;
            }
@@ -68,7 +68,7 @@
            LazyLoad();
            BallisticAttack ballisticAttack = damager.GetComponent<BallisticAttack>();
            ballisticAttack.DealDamage((Targetable)damageableBehaviour);
            ballisticAttack.DealDamage((Targetable)damageableBehaviour, ballisticAttack.attributeId);
            damager.HasDamaged(c.transform.position, damageableBehaviour.configuration.alignmentProvider);
        }