I was trying to add custom mob drops that were affected by the amount of looting a sword had. this is my skript
the error is in the line below
Code:
on death:
if victim is pig:
if colored name of victim is "&7Pig &8(&c1&8)":
clear drops
remove all xp from drops
chance of 15%:
drop 1 exp at victim's location
exit
set {_looting} to level of looting of player's tool + 1
drop {_looting} raw porkchop named "&f&lRaw Pork" with lore "" and "&8Rarity:&7 Common" at victim's location
the error is in the line below
Code:
drop {_looting} raw porkchop named "&f&lRaw Pork" with lore "" and "&8Rarity:&7 Common" at victim's location
Last edited: