Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function Dropcalculator(i: item, n1: number, n2: number):
- set {_anzahl} to a random number between {_n1} and {_n2}
- set {_anzahl} to {_anzahl} of {_i}
- add {_anzahl} to {droplist::*}
- on death of monster:
- clear drops
- clear {droplist::*}
- Dropcalculator(endstone, 2, 64)
- Dropcalculator(diamond, 2, 64)
- set {_drop} to a random element out of {droplist::*}
- drop {_drop} at victim
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement