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

◆ NeedsExpertScaling

bool [] Terraria.ID.NPCID.Sets.NeedsExpertScaling
static

If true for a given NPC type (F:Terraria.NPC.type), then that NPC will receive stat scaling in Expert Mode, even if its normal stats would prevent that.
Defaults to false.

NPCs with less than 5 health are most prone to needing this set. The full scaling conditions can be found at the start of M:Terraria.NPC.ScaleStats(System.Nullable<System.Int32>,Terraria.DataStructures.GameModeData,System.Nullable<System.Single>).

Definition at line 357 of file NPCID.cs.

Referenced by Terraria.ID.NPCID.Sets.Sets(), and Terraria.NPC.ScaleStats().