chenxin
2020-11-07 d35d31d85fd4b827dc37008aef39c019b6a7781d
Assets/Scripts/ActionGameFramework/Health/DamageCollider.cs
@@ -54,7 +54,7 @@
            var agent = this.gameObject.GetComponent<Agent>();
            if (agent == null)
                return;
            BallisticProjectile ballistic = c.gameObject.GetComponent<BallisticProjectile>();
            if (ballistic.IsHitEnemy)
@@ -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);
        }