Definition at line 12891 of file NPC.cs.
12892 {
12895 {
12898 }
12899 else if (
type == 14)
12900 {
12903 }
12904 else if (
type == 15)
12905 {
12908 }
12909 else if (
type == 35)
12910 {
12912 }
12913 else if (
type == 36)
12914 {
12916 }
12917 else if (
type == 113)
12918 {
12922 }
12923 else if (
type == 114)
12924 {
12928 }
12929 else if (
type == 115)
12930 {
12932 }
12933 else if (
type == 116)
12934 {
12936 }
12937 else if (
type == 222)
12938 {
12940 }
12941 else if (
type == 245)
12942 {
12945 }
12946 else if (
type == 246)
12947 {
12950 }
12951 else if (
type == 247 ||
type == 248)
12952 {
12955 }
12956 else if (
type == 249)
12957 {
12959 }
12960 else if (
type == 262)
12961 {
12963 }
12964 else if (
type == 266)
12965 {
12969 }
12970 else if (
type == 125)
12971 {
12973 }
12974 else if (
type == 126)
12975 {
12977 }
12978 else if (
type == 127)
12979 {
12981 }
12982 else if (
type == 128)
12983 {
12985 }
12986 else if (
type == 129)
12987 {
12989 }
12990 else if (
type == 130)
12991 {
12993 }
12994 else if (
type == 131)
12995 {
12997 }
12998 else if (
type == 134)
12999 {
13001 }
13002 else if (
type == 135)
13003 {
13005 }
13006 else if (
type == 136)
13007 {
13009 }
13010 else
13011 {
13013 {
13014 return;
13015 }
13017 }
13019 {
13021 return;
13022 }
13025 }
int width
The width of this Entity's hitbox, in pixels.
int height
The height of this Entity's hitbox, in pixels.
int defense
How resistant to damage this NPC is. The List of NPCs wiki pagecan be useful for finding appropriat...
int damage
The amount of contact damage this NPC deals. Changing this WILL NOT change the amount of damage done...
int lifeMax
The maximum life of this NPC.
float scale
Makes the NPC bigger or smaller. Bigger than 1f is bigger. Defaults to 1f.
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
bool IsABestiaryIconDummy
References Terraria.NPC.canDisplayBuffs, Terraria.NPC.damage, Terraria.NPC.defense, Terraria.Entity.height, Terraria.NPC.IsABestiaryIconDummy, Terraria.NPC.lifeMax, Terraria.NPC.scale, Terraria.NPC.type, and Terraria.Entity.width.
Referenced by Terraria.NPC.SetDefaults().