void Start()
    {
        goblinController = GetComponent<GoblinController>();

        if (isCommon == true)
        {
            commonGoblin = RandCommonGoblin();
            enemyName.GetComponent<TextMesh>().text = commonGoblin.name;
            goblinHealth = commonGoblin.maxHealth;
            healthScaleConstant = 0.01f / (goblinHealth / 100f);
            goblinFinalDamage = commonGoblin.goblinDamage;
            goblinFinalCSpeed = commonGoblin.chaseSpeed;
            goblinFinalMSpeed = commonGoblin.movementSpeed;
            goblinFinalAxeDamage = commonGoblin.axeDamage;
            goblinController.moveSpeed = goblinFinalMSpeed;
            goblinController.chaseSpeed = goblinFinalCSpeed;

        }
        else if (isSwift == true)
        {
            swiftGoblin = RandSwiftGoblin();
            enemyName.GetComponent<TextMesh>().text = swiftGoblin.name;
            goblinHealth = swiftGoblin.maxHealth;
            healthScaleConstant = 0.01f / (goblinHealth / 100f);
            goblinFinalDamage = swiftGoblin.goblinDamage;
            goblinFinalCSpeed = swiftGoblin.chaseSpeed;
            goblinFinalMSpeed = swiftGoblin.movementSpeed;
            goblinFinalAxeDamage = swiftGoblin.axeDamage;
            goblinController.moveSpeed = goblinFinalMSpeed;
            goblinController.chaseSpeed = goblinFinalCSpeed;

        }
        else if (isStrong == true)
        {
            strongGoblin = RandStrongGoblin();
            enemyName.GetComponent<TextMesh>().text = strongGoblin.name;
            goblinHealth = strongGoblin.maxHealth;
            healthScaleConstant = 0.01f / (goblinHealth / 100f);
            goblinFinalDamage = strongGoblin.goblinDamage;
            goblinFinalCSpeed = strongGoblin.chaseSpeed;
            goblinFinalMSpeed = strongGoblin.movementSpeed;
            goblinFinalAxeDamage = strongGoblin.axeDamage;
            goblinController.moveSpeed = goblinFinalMSpeed;
            goblinController.chaseSpeed = goblinFinalCSpeed;
        }
    }
    CommonGoblinStats RandCommonGoblin()
    {
        CommonGoblinStats commonResult = new CommonGoblinStats();
        commonResult.goblinDamage = (int)Mathf.Lerp(commonResult.goblinMinDamage, commonResult.goblinMaxDamage, Random.value);
        commonResult.movementSpeed = (int)Mathf.Lerp(commonResult.goblinMinSpeed, commonResult.goblinMaxSpeed, Random.value);
        commonResult.chaseSpeed = (int)Mathf.Lerp(commonResult.chaseMinSpeed, commonResult.chaseMaxSpeed, Random.value);
        commonResult.maxHealth = (int)Mathf.Lerp(commonResult.goblinMinHealth, commonResult.goblinMaxHealth, Random.value);
        commonResult.axeDamage = (int)Mathf.Lerp(commonResult.axeMinDamage, commonResult.axeMaxDamage, Random.value);

        return commonResult;
    }