How would i go about making a combat system like this

one like the video bellow

the exact name for it is a Conditional Turn Based Battle system