Definition at line 57534 of file Player.cs.
57535 {
57540 for (int i = 0; i < array.Length; i++)
57541 {
57543 }
57545 for (
int j = 0;
j < array.Length;
j++)
57546 {
57548 }
57550 for (
int k = 0;
k < array.Length;
k++)
57551 {
57553 }
57555 for (
int l = 0;
l < array.Length;
l++)
57556 {
57558 }
57560 for (
int m = 0;
m < array.Length;
m++)
57561 {
57563 }
57565 for (
int n = 0;
n < array.Length;
n++)
57566 {
57568 }
57570 {
57573 {
57575 }
57576 }
57577 if (list.Count == 0)
57578 {
57579 return false;
57580 }
57582 if (Main.rand.NextDouble() < (
double)
totalChance)
57583 {
57585 }
57588 {
57589 itemIdToDrop = Main.rand.NextFromList(list.ToArray());
57590 return true;
57591 }
57592 return false;
57593 }
Item[] item
The items this chest contains. F:Terraria.Chest.maxItems elements long.
Item[] armor
The player's armor and accessories. Indexes 0-2 hold head, chest, and legs armor while 10-12 hold the...
EquipmentLoadout[] Loadouts
void RemoveAnglerAccOptionsFromRewardPool(List< int > itemIdsOfAccsWeWant, Item itemToTestAgainst)
Item[] inventory
The player's normal inventory. Indexes 0-9 hold the hotbar items, 10-49 the rest of the main inventor...
References Terraria.EquipmentLoadout.Armor, Terraria.Player.armor, Terraria.Player.bank, Terraria.Player.bank2, Terraria.Player.bank3, Terraria.Player.bank4, Terraria.Player.inventory, Terraria.Chest.item, Terraria.Player.Loadouts, Terraria.Main.rand, and Terraria.Player.RemoveAnglerAccOptionsFromRewardPool().
Referenced by Terraria.Player.GetAnglerReward_MainReward().