set {_sharpness} to random integer between 0 and 5
set {_enc1} to "sharpness" parsed as enchantment
give player wooden sword with enchantment "%{_enc1}% %{_sharpness}%" parsed as enchantment type
this won't work help me please
error
Line 13: (random weapon.sk)
[11:56:01] [Server thread/INFO]: 'wooden sword with enchantment "%{_enc1}% %{_sharpness}%" parsed as enchantment type' can't be added to a player because the former is neither an item type, an inventory nor an experience point
[11:56:01] [Server thread/INFO]: Line: give player wooden sword with enchantment "%{_enc1}% %{_sharpness}%" parsed as enchantment type
skript version: Skript-2.7.0-beta3
no addons
set {_enc1} to "sharpness" parsed as enchantment
give player wooden sword with enchantment "%{_enc1}% %{_sharpness}%" parsed as enchantment type
this won't work help me please
error
Line 13: (random weapon.sk)
[11:56:01] [Server thread/INFO]: 'wooden sword with enchantment "%{_enc1}% %{_sharpness}%" parsed as enchantment type' can't be added to a player because the former is neither an item type, an inventory nor an experience point
[11:56:01] [Server thread/INFO]: Line: give player wooden sword with enchantment "%{_enc1}% %{_sharpness}%" parsed as enchantment type
skript version: Skript-2.7.0-beta3
no addons