Double-jumping (air-jumping)
max jumps
second jump strength
jump count
In the get input function
If the player is jumping and in the jump state and the jump count is between 0 and 2 then allow the double-jump
When you land on the ground
Play test and decide if you need any adjustments to the second jump.