Definition at line 2571 of file NPC.cs.
2572 {
2575 {
2576 case 68:
2577 case 262:
2579 break;
2580 case 35:
2581 case 127:
2582 if (
ai[1] == 1
f ||
ai[1] == 2
f)
2583 {
2585 }
2586 break;
2587 case 345:
2589 {
2591 }
2592 break;
2593 }
2596 }
static void BossHeadRotation(NPC npc, ref float rotation)
This serves as the central class from which NPC-related functions are carried out....
float[] ai
An array with 4 slots used for any sort of data storage, which is occasionally synced from the server...
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
References Terraria.NPC.ai, Terraria.ModLoader.NPCLoader.BossHeadRotation(), Terraria.NPC.rotation, and Terraria.NPC.type.