We wanted to heal the boss a bit when the player dies but we didin't have much time to playtest and balance the whole thing so we decided not to punish the player so everyone could beat it.
Thank you very much for your feedback !