Hello, anyone know how to fix the code?
when I drop a diamond pickaxe of efficiency 5 + diamond pickaxe of efficiency 3 the result will show efficiency 6 which should not.
the result should be diamond pickaxe of efficiency 5 + enchanted book of efficiency 5 = diamond pickaxe of efficiency 6 with lore
Code:
Skript 2.5.3, Skbee 1.10.2, Minecraft 1.16.5
[doublepost=1614513407,1613907063][/doublepost]bump help
when I drop a diamond pickaxe of efficiency 5 + diamond pickaxe of efficiency 3 the result will show efficiency 6 which should not.
the result should be diamond pickaxe of efficiency 5 + enchanted book of efficiency 5 = diamond pickaxe of efficiency 6 with lore
Code:
Code:
on anvil prepare:
if slot 0 of event-inventory is a diamond pickaxe:
if slot 1 of event-inventory is an enchanted book:
if stored enchants of slot 1 of event-inventory contains Efficiency 5:
set {_i} to slot 0 of event-inventory
set line 1 of the lore of {_i} to "&aWydajność VI/X"
enchant {_i} with Efficiency 6
set event-slot to {_i}
set repair cost of event-inventory to 30
[doublepost=1614513407,1613907063][/doublepost]bump help