Meeting a damage threshold conditional branch script

Hi! I'm trying to create an event that, when activated, the player will have x amount of time to deal x amount of damage.
I think the easiest way to do this would be a conditional branch to script check if damage was dealt, but i don't know how to call that info.
Any help greatly appreciated ^^

Original thread: https://forums.rpgmakerweb.com/threads/meeting-a-damage-threshold-conditional-branch-script.131461/