void EnemyDeath()
 {
     if (enemyhealth <= 0f)
     {
         dropTable.GetComponent <DropTable>().CalculateLoot();
         Instantiate(effect, transform.position, Quaternion.identity);
         IncrementKillCount();
         DecrementKillCount();
         player.gameObject.GetComponent <AudioSource>().PlayOneShot(deathSound);
         Destroy(this.gameObject);
     }
 }