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

◆ getZenithSeedAdjustmentsBeforeEverything()

void Terraria.NPC.getZenithSeedAdjustmentsBeforeEverything ( )
inlineprivate

Definition at line 12882 of file NPC.cs.

12883 {
12884 int num = type;
12885 if ((uint)(num - 125) <= 6u || num == 139)
12886 {
12887 lifeMax = (int)((float)lifeMax * 0.8f);
12888 }
12889 }
int lifeMax
The maximum life of this NPC.
Definition NPC.cs:1077
int type
The NPC ID of this NPC. The NPC ID is a unique number assigned to each NPC loaded into the game....
Definition NPC.cs:990

References Terraria.NPC.lifeMax, and Terraria.NPC.type.

Referenced by Terraria.NPC.SetDefaults().

+ Here is the caller graph for this function: