Creates random element extension (#196)
This commit is contained in:
parent
0926b5abaa
commit
4403d6c1c7
84 changed files with 226 additions and 330 deletions
|
|
@ -204,7 +204,7 @@ namespace Server.Items
|
|||
maxIntensity = 15;
|
||||
}
|
||||
|
||||
int propertyCount = propertyCounts[Utility.Random(propertyCounts.Length)];
|
||||
int propertyCount = propertyCounts.RandomElement();
|
||||
|
||||
BaseRunicTool.ApplyAttributesTo(this, true, 0, propertyCount, minIntensity, maxIntensity);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue