starbustercore dmg cap

This commit is contained in:
termigator1359 committed 2020-03-23 12:29:17 -04:00
1 parent b5effd83a5
commit 2fb50e03e1
3 files changed
+8 -1

No files matched your search

+2
View File
@@ -321,6 +321,7 @@ namespace CalamityMod.CalPlayer
public bool statisBeltOfCurses = false;
public int statisTimer = 0;
public bool creationApparatus = false;
public bool nuclearRod = false;
public bool elysianAegis = false;
public bool elysianGuard = false;
public bool nCore = false;
@@ -1240,6 +1241,7 @@ namespace CalamityMod.CalPlayer
eTalisman = false;
statisBeltOfCurses = false;
creationApparatus = false;
nuclearRod = false;
heartOfDarkness = false;
shadowMinions = false;
tearMinions = false;
Binary file not shown.

After

Width:  |  Height:  |  Size: 580 B

+6 -1
View File
@@ -1534,8 +1534,13 @@ namespace CalamityMod.Projectiles
{
if (Main.rand.NextBool(3))
{
int newDamage = (int)((double)projectile.damage * 0.5);
if (newDamage > 75)
{
newDamage = 75;
}
int boom = Projectile.NewProjectile(projectile.Center, Vector2.Zero, ModContent.ProjectileType<SummonAstralExplosion>(),
(int)(projectile.damage * 0.5f), 3f, projectile.owner);
newDamage, 3f, projectile.owner);
}
}
else if (modPlayer.jellyChargedBattery)