Hello people ! I am trying to define a random number of xp, but my code does not work
drop 1 xp at the victim work ...
Thank's for help
code_language.skript:
on death of pig:
clear drops
if victim is pig:
set {_xp} to random number between 1 and 3
drop {_xp} xp at the victim
drop 1 xp at the victim work ...
Thank's for help