public void Start() { //Set XP granted by killing this NPC xpGranted = xpBase * (int)Mathf.Pow((float)level, (float)difficulty); //Set Tag transform.gameObject.tag = npcTag.ToString(); transform.gameObject.name = npcName; }