#how would i go about making it so everyone who damages a dragon gets a drop?
1 messages · Page 1 of 1 (latest)
and then add the attacker to a list
then check when the dragon dies
ye pretty much
thats the concept
make a function to make it easier to see
set {_random} to random integer between 1 and 10
if {_random} is 1:
give {_p} bonemeal```
this is an example
u can edit it
but u can just loop the players and then input them into the function
loop {AllAttackers::*}:
randomitems(loop-value)```
i sent u the concept of the function
from there u should be able to understand it
and edit it
- These variables are probably better off as lists
- why the heck are you passing in
{AllAttackers::*}but then looping it (the original, not the parameter) as well? - ^,
give loop-value random element of ...
wait whats number 3 x8ight
whats that suoposed to do.. teach me wise one
wdym give loop-value random element of?
u can just do it without a function?
!give me random element of (diamond, emerald, coal)