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

◆ UpdateCreativeGameModeOverride()

static void Terraria.Main.UpdateCreativeGameModeOverride ( )
inlinestaticpackage

Definition at line 16811 of file Main.cs.

16812 {
16815 if (gameMenu || !_currentGameModeInfo.IsJourneyMode)
16816 {
16817 return;
16818 }
16820 if (power.GetIsUnlocked())
16821 {
16822 float num = power.StrengthMultiplierToGiveNPCs;
16823 if (getGoodWorld)
16824 {
16825 num += 1f;
16826 }
16827 if (num >= 2f)
16828 {
16830 }
16831 if (num >= 3f)
16832 {
16834 }
16835 }
16836 }
static ? bool _overrideForExpertMode
Definition Main.cs:363
static GameModeData _currentGameModeInfo
Definition Main.cs:341
static bool getGoodWorld
Definition Main.cs:369
static ? bool _overrideForMasterMode
Definition Main.cs:365
static bool gameMenu
Definition Main.cs:2076

References Terraria.Main._currentGameModeInfo, Terraria.Main._overrideForExpertMode, Terraria.Main._overrideForMasterMode, Terraria.Main.gameMenu, Terraria.Main.getGoodWorld, and Terraria.GameContent.Creative.CreativePowerManager.Instance.

Referenced by Terraria.Main.DoUpdate().

+ Here is the caller graph for this function: