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

◆ GetMoonEventPointScalar()

float Terraria.NPC.GetMoonEventPointScalar ( )
inlineprivate

Definition at line 84083 of file NPC.cs.

84084 {
84085 if (Main.masterMode)
84086 {
84087 return 2.5f;
84088 }
84089 if (Main.expertMode)
84090 {
84091 return 2f;
84092 }
84093 return 1f;
84094 }

References Terraria.Main.expertMode, and Terraria.Main.masterMode.

Referenced by Terraria.NPC.CheckProgressFrostMoon(), and Terraria.NPC.CheckProgressPumpkinMoon().

+ Here is the caller graph for this function: