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

◆ DropStarterCrystals()

static void Terraria.GameContent.Events.DD2Event.DropStarterCrystals ( )
inlinestaticprivate

Definition at line 991 of file DD2Event.cs.

992 {
993 //IL_0036: Unknown result type (might be due to invalid IL or missing references)
994 for (int i = 0; i < 200; i++)
995 {
996 if (Main.npc[i].active && Main.npc[i].type == 548)
997 {
998 for (int j = 0; j < 5; j++)
999 {
1000 Item.NewItem(new EntitySource_WorldEvent(), Main.npc[i].position, Main.npc[i].width, Main.npc[i].height, 3822, 2);
1001 }
1002 break;
1003 }
1004 }
1005 }
Inconsistently used by vanilla when spawning more exotic things like the lunatic pillars,...

References Terraria.Item.NewItem(), and Terraria.Main.npc.

Referenced by Terraria.GameContent.Events.DD2Event.SummonCrystalDirect().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: