Turned the gem softcap threshold into a constant
This commit is contained in:
1 parent
2b5e64cfcf
commit
02e248f2cd
2 files changed
+2
-1
No files matched your search
@@ -257,7 +257,7 @@ namespace CalamityMod.DataStructures
|
||||
Vector2 gemPosition = CalculateGemPosition(GemThatShouldBeLost);
|
||||
|
||||
// Softcap the damage. This is done primarily to dampen stealth interactions.
|
||||
gemDamage = CalamityUtils.DamageSoftCap(gemDamage, 100000);
|
||||
gemDamage = CalamityUtils.DamageSoftCap(gemDamage, GemTechHeadgear.GemDamageSoftcapThreshold);
|
||||
|
||||
if (Main.myPlayer == OwnerIndex)
|
||||
Projectile.NewProjectile(gemPosition, Vector2.Zero, ModContent.ProjectileType<GemTechArmorGem>(), gemDamage, 0f, OwnerIndex, 0f, (int)GemThatShouldBeLost);
|
||||
|
||||
@@ -13,6 +13,7 @@ namespace CalamityMod.Items.Armor
|
||||
{
|
||||
public const int GemBreakDamageLowerBound = 100;
|
||||
public const int GemDamage = 40000;
|
||||
public const int GemDamageSoftcapThreshold = 100000;
|
||||
public const int GemRegenTime = 1800;
|
||||
|
||||
public const int MeleeShardBaseDamage = 825;
|
||||
|
||||
Reference in new issue
Block a user