Adds Xoshiro256** RNG (#67)

This commit is contained in:
Kamron Batman 2020-01-09 00:42:09 -08:00 committed by GitHub
parent 5e2be2d7b6
commit 853c8d21f7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 471 additions and 371 deletions

View file

@ -498,7 +498,7 @@ namespace Server.Spells
/*
int offset = Utility.Random( 8 ) * 2;
for( int i = 0; i < m_Offsets.Length; i += 2 )
for ( int i = 0; i < m_Offsets.Length; i += 2 )
{
int x = caster.X + m_Offsets[(offset + i) % m_Offsets.Length];
int y = caster.Y + m_Offsets[(offset + i + 1) % m_Offsets.Length];