command /yhym:
trigger:
give player stick named "&eKlatwa"
on rightclick:
if player's tool is stick named "&eKlatwa":
if target entity is set:
set {_} to location of player
set {_t} to target entity
while distance between {_} and location of {_t} > 1:
loop blocks between block at {_} and the block at location of {_t}:
show 100 "cloud" particles at location of loop-block for player offset by 0.2, 0.2, 0.2
set {_} to location of loop-block
exit loop
wait 1 tick
apply slowness 5 to {_t} for 10 second
błąd jest tutaj: show 100 "cloud" particles at location of loop-block for player offset by 0.2, 0.2, 0.2
error w konsoli:
'player offset by 0.2, 0.2, 0.2' is not an entity type (magia.sk,
line 233: show 10 "cloud" particles at location of loop-block for
player offset by 0.2, 0.2, 0.2')