Beispiel #1
0
 public void TakeProjectile(LSProjectile projectile)
 {
     if (Agent.IsActive && HealthAmount >= 0)
     {
         if (OnTakeProjectile.IsNotNull())
         {
             OnTakeProjectile(projectile);
         }
         TakeDamage(projectile.CheckExclusiveDamage(Agent.Tag));
     }
 }