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

◆ GetMoonEventPointScalar()

float Terraria.NPC.GetMoonEventPointScalar ( )
inlineprivate

Definition at line 70729 of file NPC.cs.

70730 {
70731 if (Main.masterMode)
70732 {
70733 return 2.5f;
70734 }
70735 if (Main.expertMode)
70736 {
70737 return 2f;
70738 }
70739 return 1f;
70740 }

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

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