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

◆ NPCKillCounterInfoElement()

Terraria.GameContent.Bestiary.NPCKillCounterInfoElement.NPCKillCounterInfoElement ( int npcNetId)
inline

Definition at line 16 of file NPCKillCounterInfoElement.cs.

17 {
18 _instance = new NPC();
19 _instance.SetDefaults(npcNetId, new NPCSpawnParams
20 {
21 gameModeData = GameModeData.NormalMode,
22 strengthMultiplierOverride = null
23 });
24 }
static readonly GameModeData NormalMode
void SetDefaults(int Type, NPCSpawnParams spawnparams=default(NPCSpawnParams))
Definition NPC.cs:2523

References Terraria.GameContent.Bestiary.NPCKillCounterInfoElement._instance, Terraria.DataStructures.GameModeData.NormalMode, and Terraria.NPC.SetDefaults().