Hey I was just wondering if anyone knows how OTM makes things "random" like sometimes I wonder if there's a set list on each world for what you get in the event chests and everytime someone opens one it goes down the list for what you're ganna get. Can opening a chest a minute after you planned to open the chest change the item you would get? I have the same question with mobs when mob spawns do they have the items set there until a player kills them or can it change at any moment?
How it works on most games I've played is every item in the loot table is given a % chance to drop. As soon as the boss dies these drops are calculated instantly and dropped. More common items are given a higher % chance to drop and rare are given a lower percent.
It's kinda like if you were to put all the loot on a big wheel and spin it 3-4 times in a fraction of a second. A dark sacrifice skull would have a big piece on that wheel, and a void fire bolt skull would have a tiny piece on it.
I'm just assuming that's how it works here as stated above someone said the drops are generated as soon as the boss dies.
For you question on chests. Yes your drop could be theoretically different if you opened it 5 minutes from no instead of now, but you would never know this because you can't open the same chest twice. I'm willing to bet chest drops work the same as boss drops.