how can make combat attack with different dmg?

i`m trying making a 2d game .i want make combat attack .attack after another attack after another a hack slash game ,like dmc. but my problem is when i click left click my first attack launch and after that when i try to click anotherone for next attack my anim will go to base anim and stop (my mean is unity will stop anim after launching first anim and next attack didnt launch) .i use this code for launching first attack and next attack and in animator i maked a transition from first attack to next attack .

 if (anime.GetBool("attack_1"))
     anime.SetBool("attack_1", false);

    if (Input.GetKeyDown(KeyCode.Mouse0))
        anime.SetBool("attack_1", true);

also i dont have any idea about how can manage dmg for every fram of anime. can anyone talk about that?

i search in google and forum but no usefull .so pls help !

For having different animations played when attacking in a quick succession, you can have an int, called animToPlay. Also make a float, called timeSinceLastAttack. When you press the attack button, increment animToPlay by 1, and set timeSinceLastAttack to 0. Reset timeSinceLastAttack to 0. If you press the attack button quickly, you will run through all of the animations.

int animToPlay = 0;
float timeSinceLastAttack = 0;
float maxTimeBetweenAttacks = 1;

void Update () {
     if (Input.GetMouseButtonDown(0)) {
          if (timeSinceLastAttack > maxTimeBetweenAttacks) {
               switch (animToPlay) {
                    case 0:
                         anim.Play("Attack 1");
                    case 1:
               timeSinceLastAttack = 0;

Can you go into further detail about damage?