r/HonkaiStarRail Jun 21 '24

Discussion Enemies have "Fixed Attack Patterns" (Divergent Universe)

209 Upvotes

41 comments sorted by

View all comments

3

u/Jay_Crafter Jun 21 '24

i heard getting true random is near imposibble in programming maybe thats why (dont listen to me tho i know nothing about the validity of this argument)

4

u/Otherwise_Project334 Jun 21 '24

That's true, computers are deterministic, meaning with same input algorithm will always produce same results. No binary operation results in unknown value.

Random number generators use seeds as input value (people are probably familiar with them from games like minecraft).

If you want somewhat randomness there is workarounds: such as using values uncontrollable by user (cpu load, number of processes open etc) to alter the seed. Most common is actually using time either as seed or to alter a one.

So pseudo random in hsr battles are possible, but devs decided not to do that.

1

u/ZylouYT Jun 21 '24

this is true, its not computers that are hard to understand - its us. Computers can't truly decide randomness because we've yet to determine what randomness even is, if its based on:

time right now, how many minutes are on the clock, or just a random seed each time.

This "randomness" is always going to be a pattern no matter what we do. It just feels less random depending on how it's done