Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
SetupTravelShop_AdjustSlotRarities()
static
void
Terraria.Chest.SetupTravelShop_AdjustSlotRarities
(
int
slotItemAttempts
,
ref
int[]
rarity
)
inline
static
Definition at line
985
of file
Chest.cs
.
986
{
987
if
(rarity[5] > 1 &&
slotItemAttempts
> 4700)
988
{
989
rarity[5] = 1;
990
}
991
if
(rarity[4] > 1 &&
slotItemAttempts
> 4600)
992
{
993
rarity[4] = 1;
994
}
995
if
(rarity[3] > 1 &&
slotItemAttempts
> 4500)
996
{
997
rarity[3] = 1;
998
}
999
if
(rarity[2] > 1 &&
slotItemAttempts
> 4400)
1000
{
1001
rarity[2] = 1;
1002
}
1003
if
(rarity[1] > 1 &&
slotItemAttempts
> 4300)
1004
{
1005
rarity[1] = 1;
1006
}
1007
if
(rarity[0] > 1 &&
slotItemAttempts
> 4200)
1008
{
1009
rarity[0] = 1;
1010
}
1011
}
System.Collections.Generic.Dictionary
Definition
Dictionary.cs:14
Referenced by
Terraria.Chest.SetupTravelShop()
.
Terraria
Chest
Generated by
1.10.0