Change the invulnerability property of the bomb with the verse

Do you know how I can assign a certain bomb via Verse a property?

An example of the pseudocode I attached in the screenshot below: