Definition at line 84553 of file NPC.cs.
84554 {
84555 int stack = Main.rand.Next(5, 16);
84558 {
84560 }
84561 else if (
type == 35)
84562 {
84564 }
84565 else if (
type == 668)
84566 {
84568 }
84569 else if (
type == 222)
84570 {
84572 }
84573 else if (
type == 657)
84574 {
84576 }
84577 else if (
type > 113 &&
type < 222)
84578 {
84580 }
84581 else if (
type == 636)
84582 {
84584 }
84585 else if (
type == 245 ||
type == 262)
84586 {
84588 }
84589 else if (
type == 370)
84590 {
84592 }
84593 else if (
type == 395)
84594 {
84596 }
84597 else if (
type == 439)
84598 {
84600 }
84601 else if (
type == 398)
84602 {
84604 }
84607 int num2 = Main.rand.Next(5) + 5;
84608 for (
int i = 0; i <
num2; i++)
84609 {
84611 }
84613 {
84615 }
84616 else if (
type == 113)
84617 {
84619 }
84621 {
84624 }
84625 }
Vector2 position
The position of this Entity in world coordinates.
int width
The width of this Entity's hitbox, in pixels.
int height
The height of this Entity's hitbox, in pixels.
static void BossLoot(NPC npc, ref string name, ref int potionType)
This serves as the central class from which NPC-related functions are carried out....
static bool WoFKilledToday
static void ResetBadgerHatTime()
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
IEntitySource GetItemSource_Loot()
static bool EoCKilledToday
References Terraria.ModLoader.NPCLoader.BossLoot(), Terraria.NPC.EoCKilledToday, Terraria.NPC.GetItemSource_Loot(), Terraria.Entity.height, Terraria.Item.NewItem(), Terraria.Entity.position, Terraria.Main.rand, Terraria.NPC.ResetBadgerHatTime(), Terraria.NPC.type, Terraria.Entity.width, and Terraria.NPC.WoFKilledToday.
Referenced by Terraria.NPC.DoDeathEvents().