Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ DropEoWLoot()

void Terraria.NPC.DropEoWLoot ( bool fromCheckDead = true)
inlineprivate

Definition at line 70707 of file NPC.cs.

70708 {
70709 bool flag = true;
70710 for (int i = 0; i < 200; i++)
70711 {
70712 if (i != whoAmI && Main.npc[i].active && (Main.npc[i].type == 13 || Main.npc[i].type == 14 || Main.npc[i].type == 15))
70713 {
70714 flag = false;
70715 break;
70716 }
70717 }
70718 if (flag)
70719 {
70720 boss = true;
70721 NPCLoot();
70722 }
70723 else
70724 {
70725 NPCLoot();
70726 }
70727 }
bool boss
Definition NPC.cs:515
void NPCLoot()
Definition NPC.cs:71114

References Terraria.NPC.boss, Terraria.Main.npc, Terraria.NPC.NPCLoot(), and Terraria.Entity.whoAmI.

Referenced by Terraria.NPC.checkDead().