I was already taught by you folks that I can make a damage formula [20,100,150,200].sample to output one of those as a damage amount.
That information has been extremely helpful and I appreciate that information. I have been using it in several projects.
But, what if I wanted [20,100,150,200].sample in a variable? Like I want the variable to generate a random number consisting of 20, 100, 150, or 200?
Do I just select "script" and input [20,100,150,200].sample like you do for a formula? I want a random amount of gold to be awarded with this in a chest.
That information has been extremely helpful and I appreciate that information. I have been using it in several projects.
But, what if I wanted [20,100,150,200].sample in a variable? Like I want the variable to generate a random number consisting of 20, 100, 150, or 200?
Do I just select "script" and input [20,100,150,200].sample like you do for a formula? I want a random amount of gold to be awarded with this in a chest.