Skip to content
#995
Auto-translated
Is "Sun" really the right name for the hero? Did you set it in Shared?
r=random(5) -- this needs to be placed inside the function body, otherwise it will only be called once.
OpenCircleFog(0,0,0,9999,PLAYER_1) -- is this for testing, am I right?

Yes, it's set in shared.

Okay, I understand, I'll put it in the function body.

Yes, it's for testing.

Added 2 minutes later
And how do I make it generate a random number, because it only generates 5?