Double jump config

Hey family!
So i found the tutorial about double jumping.
Is possible to make the second jump shorter? Or even change it to an jump"press button"attack?
I am trying do something simple and silly, like Torvak the warrior or it´s like.

I got most the other stuff working thanks to this forum and youtube.
Kickback, step-attack and combo-attacks are for later so be prepared.

I did something dorkey, just “player is jumping”…“current ani…” then another add condition in the same column “space key is pressed” and action “attackanimation”.
It didn´t work at all. now the player doing walking animation while jumping.
one thing did work tho. pressing space does jumping and attack at the same time, but i dont want that.