Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
RollRandomSeaShellStyle()
static int Terraria.WorldGen.RollRandomSeaShellStyle
(
)
inline
static
private
Definition at line
36211
of file
WorldGen.cs
.
36212
{
36213
int
result =
genRand
.Next(2);
36214
if
(
genRand
.Next(10) == 0)
36215
{
36216
result = 2;
36217
}
36218
if
(
genRand
.Next(10) == 0)
36219
{
36220
result = 3;
36221
}
36222
if
(
genRand
.Next(50) == 0)
36223
{
36224
result = 4;
36225
}
36226
return
result;
36227
}
Terraria.WorldGen.genRand
static UnifiedRandom genRand
Definition
WorldGen.cs:1215
Terraria
WorldGen
Generated by
1.10.0