So the i frames thing I considered, and it actually *is* implemented, but the invincibility time is set to 0. I did this because most metroidvania bosses don't have i-frames, you can just spam hit them as the player.