Example #1
0
        private void OnEntityTakeDamage(BaseCombatEntity entity, HitInfo info)
        {
            ReactiveTarget target = entity as ReactiveTarget;

            if (target != null && target.IsKnockedDown())
            {
                timer.Once(3f, () =>
                {
                    target.ResetTarget();
                });
            }
        }