Adds Xoshiro256** RNG (#67)
This commit is contained in:
parent
5e2be2d7b6
commit
853c8d21f7
21 changed files with 471 additions and 371 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue