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

◆ VanillaBaseDefenseEffectiveness()

static float Terraria.Player.VanillaBaseDefenseEffectiveness ( )
inlinestaticprivate

Definition at line 36985 of file Player.cs.

36986 {
36987 if (Main.masterMode)
36988 {
36989 return 1f;
36990 }
36991 if (Main.expertMode)
36992 {
36993 return 0.75f;
36994 }
36995 return 0.5f;
36996 }

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

Referenced by Terraria.Player.ResetEffects().

+ Here is the caller graph for this function: