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

◆ GetEaterOfWorldsSegmentsCountByGamemode()

static int Terraria.NPC.GetEaterOfWorldsSegmentsCountByGamemode ( int gamemode)
inlinestatic

Definition at line 53962 of file NPC.cs.

53963 {
53964 if (!Main.RegisteredGameModes.TryGetValue(gamemode, out var gameModeData))
53965 {
53966 return 65;
53967 }
53968 if (!gameModeData.IsExpertMode)
53969 {
53970 return 65;
53971 }
53972 return 70;
53973 }

References Terraria.Main.RegisteredGameModes.

Referenced by Terraria.GameContent.Bestiary.BestiaryDatabaseNPCsPopulator.AdjustEaterOfWorldStats().

+ Here is the caller graph for this function: