2520 {
2523 {
2524 case 4:
2526 {
2528 }
2529 break;
2530 case 266:
2532 {
2534 }
2535 break;
2536 case 262:
2538 {
2540 }
2541 break;
2542 case 125:
2544 {
2546 }
2547 break;
2548 case 126:
2550 {
2552 }
2553 break;
2554 case 439:
2556 {
2558 }
2559 break;
2560 case 440:
2562 {
2564 }
2565 break;
2566 }
2569 }
static int[] BossHeadTextures
Associates an NPC type (F:Terraria.NPC.type) with the index in F:Terraria.GameContent....
static void BossHeadSlot(NPC npc, ref int index)
This serves as the central class from which NPC-related functions are carried out....
int lifeMax
The maximum life of this NPC.
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....
int alpha
0 is opaque, and 255 is transparent. Note that this is the opposite of how alpha is typically express...
int life
The current life of the NPC. Automatically set to the value of F:Terraria.NPC.lifeMax at the end of S...