public void useSkill(Skill skill) {
        if (skill.getEffect().getType().equals("remove debuffs")) {
            skill.use(this, target);  
        }
        else if (hitAvailable && !isStunned && !skill.isUsed() && !isDead) {
            skill.use(this, target);            
            hitAvailable = false; 
            cooldownTimer.start();
        }
    }