on death:
if victim is Zombie
clear the drops
chance of 50%
set {_drop} to diamond named "&9Custom Drop"
drop {_drop} at victim's location
stop
chance of 50%
set {_amount} to random integer between 1 and 3
set {_drop} to {_amount} of iron ingot named "&9Custom Drop"
drop {_drop} at victim's location
idk what i did wrong, but every mob drops 1 diamond every time its killed, anyone got ideas on how to fix this?
update: the error says it cant identify the victim "Zombie"
Question
razermuffinz
heres my script,
on death:
if victim is Zombie
clear the drops
chance of 50%
set {_drop} to diamond named "&9Custom Drop"
drop {_drop} at victim's location
stop
chance of 50%
set {_amount} to random integer between 1 and 3
set {_drop} to {_amount} of iron ingot named "&9Custom Drop"
drop {_drop} at victim's location
idk what i did wrong, but every mob drops 1 diamond every time its killed, anyone got ideas on how to fix this?
update: the error says it cant identify the victim "Zombie"
Edited by razermuffinzerror update
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now