Creates random element extension (#196)
This commit is contained in:
parent
0926b5abaa
commit
4403d6c1c7
84 changed files with 226 additions and 330 deletions
|
|
@ -277,7 +277,7 @@ namespace Server.Spells.Necromancy
|
|||
|
||||
Type[] animates = entry.m_ToSummon;
|
||||
|
||||
toSummon = animates[Utility.Random(animates.Length)];
|
||||
toSummon = animates.RandomElement();
|
||||
}
|
||||
|
||||
if (toSummon == null)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue