Jump to content

Meaningless calculation of giant vaggie weight ?


Legend_Master
  • Pending

image.thumb.png.fdf1d38c826ee6561fdee883d642d3ac.png

Is that the same thing between line.176 & line.178 ( prefabs\veggies.lua ) ? I don't really think they're any different tho

image.thumb.png.e7fb2b76b20d71ff31e88d9e7d4c464c.png

And I'm wondering what exaclly they wanna do

 

Edit: Never mind, (math.random() + math.random()) / 2 is not equals math.random(), my bad, but having a possibility to use the sigmod one is still quite confusing tho


Steps to Reproduce

Nope?

  • Haha 1



User Feedback


Yeah those two expressions are equal in the eyes of probability and expected values.

E:{{P:[0,1) + P:[0,1)}/2} == E:{P:[0,1)}

  • Like 1

Share this comment


Link to comment
Share on other sites



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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
  • Create New...