Elementium Sign in
Contents

Logic · Step

Enchant item: set exp level cost

Changes the enchant item's exp level cost before the server goes on with it. Paper: the cost (minimum level) which is displayed as a number on the right hand side of the enchantment offer. Only before any Wait.

Basic plan m.on.enchant_item.set_exp_level_cost

In a flow

“When a player enchants an item → Enchant item: set exp level cost → Done”

When a player enchants an item → Enchant item: set exp level cost → Done

What it does

Changes the enchant item's exp level cost before the server goes on with it. Paper: the cost (minimum level) which is displayed as a number on the right hand side of the enchantment offer. 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 enchant item's exp level cost before the server goes on with it. Paper: the cost (minimum level) which is displayed as a number on the right hand side of the enchantment offer. 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

Exp level cost Number

The enchant item's new exp level cost.

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