Elementium Sign in
Contents

Logic · Step

Cancel: a player's tool loses durability

Stops this from happening, as if it never did: a player's tool loses durability. Only in a flow that starts when a player's tool loses durability, before any Wait.

Basic plan m.on.player_item_damage.cancel

In a flow

“When a player's tool loses durability → If something → Cancel: a player's tool loses durability”

When a player's tool loses durability → If something → Cancel: a player's tool loses durability

What it does

Stops this from happening, as if it never did: a player's tool loses durability. Only in a flow that starts when a player's tool loses durability, before any Wait. It's a step: it runs when the white wire reaches it, then the flow carries on from its Then pin. Find it under Logic in the palette.

When to use it

Use it to decide what happens next: stops this from happening, as if it never did: a player's tool loses durability. Only in a flow that starts when a player's tool loses durability, before any Wait.

When not to

If nothing should change in Discord, a value node or a check is lighter.

Typical wiring

Often next

Related in Logic

Wires and sockets · Data values · Plans