2 - Shield slams scale with melee instead of anything 3 - A few things scale with summon instead of anything, like Demonshade Red Devil 4 - Hide of Astrum Deus scales with melee instead of anything 5 - Other minor pedantic scaling changes 6 - Hundreds of compile errors
54 lines
2.8 KiB
C#
54 lines
2.8 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
|
|
// If stealth is too weak, increase this number. If stealth is too strong, decrease this number.
|
|
// This value is intentionally not readonly.
|
|
public static double UniversalStealthStrikeDamageFactor = 0.5;
|
|
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
|
|
|
|
// Summon damage bonuses counting less towards "scales with your best class"
|
|
internal static readonly float SummonAllClassScalingFactor = 0.75f;
|
|
|
|
// 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.
|
|
}
|
|
}
|