Files
CalamityModPublic/Balancing/BalancingConstants.cs
T
Ozzatron 9f62bfe8ad 1 - Reworked Stat Meter to use new Damage Classes
2 - Abyss is no longer somewhat darker in Death Mode
3 - Added more balancing constants
4 - Move speed is no longer saved on players
5 - Added more helper functions to get player stats
2022-05-22 02:03:31 -04:00

48 lines
2.5 KiB
C#

namespace CalamityMod.Balancing
{
public static class BalancingConstants
{
// The multiplier for the player's gravity (downwards acceleration) while they are holding the Down button (S by default).
internal static readonly float HoldingDownGravityMultiplier = 2f;
// Altered jump speed boost provided by Shiny Red Balloon via IL edit
// This is a const because it replaces a hardcoded value in vanilla
internal const float BalloonJumpSpeedBoost = 0.75f;
// Vanilla shield slam stats
// These are consts because they replace hardcoded values in vanilla
internal const int ShieldOfCthulhuBonkNoCollideFrames = 6;
internal const int SolarFlareIFrames = 12;
internal const float SolarFlareBaseDamage = 400f;
// Dodge cooldowns (in frames)
// TODO -- Some of these could be moved to the respective item files
internal static readonly int BeltDodgeCooldown = 5400;
internal static readonly int BrainDodgeCooldown = 7200;
internal static readonly int MirrorDodgeCooldown = 5400;
internal static readonly int DaedalusReflectCooldown = 5400;
internal static readonly int EvolutionReflectCooldown = 7200;
// Internal vanilla item damage variables
internal static readonly float LeatherWhipTagDamageMultiplier = 1.08f;
internal static readonly float SnapthornTagDamageMultiplier = 1.04f;
internal static readonly float SpinalTapTagDamageMultiplier = 1.08f;
internal static readonly float FirecrackerExplosionDamageMultiplier = 2.25f; // Relative to the whip, not the summon.
internal static readonly float DurendalTagDamageMultiplier = 1.09f;
internal static readonly float MorningStarTagDamageMultiplier = 1.11f;
internal static readonly float KaleidoscopeTagDamageMultiplier = 1.12f;
// Rogue stealth
internal static readonly float BaseStealthGenTime = 9f; // 9 seconds
internal static readonly float MovingStealthGenRatio = 0.333333f;
// Rippers
internal static readonly float FullAdrenalineDR = 0.5f; // 50%
internal static readonly float AdrenalineDRPerBooster = 0.05f; // +5% per booster
// TODO -- Add all balance related constants here that don't belong in other files.
// These constants were just the ones sitting in CalamityPlayer.
// Review all constants and static readonlys in the entire mod to find things to add.
}
}