void Start()
 {
     has            = enemy.GetComponent <HitAudioSource>();
     damaged_shield = false;
     damaged        = false;
     es             = enemy.GetComponent <EnemySkill>();
     ea             = enemy.GetComponent <SpearmanArmour>();
     infCtrl        = enemy.GetComponent <SpearmanController>();
 }
    void Start()
    {
        ic = this.GetComponent <SpearmanController>();
        es = this.GetComponent <EnemySkill>();
        ea = this.GetComponent <SpearmanArmour>();



        total_health = totalStartHealth = startHealth + ea.BreastPlate * breastPlatePower +
                                          ea.Tozluk * tozlukPower +
                                          ea.Helmet * helmetPower +
                                          es.GetEnemyVigor() * healthAmountPerSkill;

        startScaleX = healthLoad.transform.localScale.x;
    }
    void Start()
    {
        mas  = GetComponent <MovementAudioSource>();
        sas  = GetComponent <SwingAudioSource>();
        has  = GetComponent <HitAudioSource>();
        died = false;

        eh = this.GetComponent <SpearmanHealth>();
        ea = this.GetComponent <SpearmanArmour>();
        es = this.GetComponent <EnemySkill>();

        StartCoroutine(SetSpeedBoost());

        StartCoroutine(SetAttackDistance());

        StartCoroutine(SetPersonSize());

        defensed   = false;
        isAttacked = false;
        rb         = GetComponent <Rigidbody2D>();
        anim       = GetComponent <Animator>();
        StartCoroutine(SetSpear());
    }