Elementium Sign in
Contents

Logic · Step

Player item damage: set damage

Changes the player item damage's damage before the server goes on with it. Only before any Wait.

Basic plan m.on.player_item_damage.set_damage

In a flow

“When a player's tool loses durability → Player item damage: set damage → Done”

When a player's tool loses durability → Player item damage: set damage → Done

What it does

Changes the player item damage's damage before the server goes on with it. Only 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: changes the player item damage's damage before the server goes on with it. Only before any Wait.

When not to

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

Typical wiring

Sockets: settings you can wire

Damage Number

The player item damage's new damage.

What goes there: Type it in the side panel, or wire in a number. e.g. 42

If it's empty: Optional. Left empty and unwired, it uses 0.

Connects fromA member's variablesAccept applicationActive membersAddAdd a forum tagAdd a labelAdd a row to a Google SheetAdd a staff noteand 501 more

Often next

Related in Logic

Wires and sockets · Data values · Plans