1 - Several ammo rebalances
2 - Remove Astrum Deus Relic tooltip
This commit is contained in:
1 parent
a572ebb4c7
commit
091bd9453e
6 files changed
+14
-11
No files matched your search
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
Item.width = 8;
|
||||
Item.height = 8;
|
||||
Item.damage = 7;
|
||||
Item.damage = 11;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.maxStack = 9999;
|
||||
Item.consumable = true;
|
||||
|
||||
@@ -360,7 +360,7 @@ AstrumAureusRelic: {
|
||||
|
||||
AstrumDeusRelic: {
|
||||
DisplayName: Astrum Deus Relic
|
||||
Tooltip: A glimpse into what could have been...
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
BrimstoneElementalRelic: {
|
||||
|
||||
@@ -102,13 +102,13 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
for (int b = 0; b < 3; b++)
|
||||
{
|
||||
Vector2 velocity = Vector2.UnitY.RotatedByRandom(0.8f) * Main.rand.NextFloat(-3.5f, -3f);
|
||||
Projectile shrapnel = Projectile.NewProjectileDirect(Projectile.GetSource_FromThis(), Projectile.Center, velocity, ModContent.ProjectileType<CinderArrowProj>(), (int)(Projectile.damage * 0.1f), 0f, Projectile.owner, ai2: 1f);
|
||||
Projectile shrapnel = Projectile.NewProjectileDirect(Projectile.GetSource_FromThis(), Projectile.Center, velocity, ModContent.ProjectileType<CinderArrowProj>(), (int)(Projectile.damage * 0.06f), 0f, Projectile.owner, ai2: 1f);
|
||||
shrapnel.timeLeft = 300;
|
||||
shrapnel.arrow = false;
|
||||
shrapnel.MaxUpdates = 4;
|
||||
}
|
||||
|
||||
Projectile.damage = (int)(Projectile.damage * 0.5f);
|
||||
Projectile.damage = (int)(Projectile.damage * 0.4f);
|
||||
Projectile.penetrate = -1;
|
||||
Projectile.ExpandHitboxBy(110);
|
||||
Projectile.Damage();
|
||||
|
||||
@@ -34,6 +34,9 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
Lighting.AddLight(Projectile.Center, Color.LimeGreen.ToVector3() * 0.25f);
|
||||
|
||||
if (Projectile.localAI[0] == 0f)
|
||||
Projectile.damage = (int)(Projectile.damage * 0.75f);
|
||||
|
||||
Projectile.localAI[0] += 1f;
|
||||
if (Projectile.localAI[0] > 4f)
|
||||
{
|
||||
@@ -60,7 +63,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
for (int b = 0; b < 2; b++)
|
||||
{
|
||||
Vector2 velocity = CalamityUtils.RandomVelocity(100f, 70f, 100f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity, ModContent.ProjectileType<DryadsTearSplit>(), (int)(Projectile.damage * 0.3), 0f, Projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity, ModContent.ProjectileType<DryadsTearSplit>(), (int)(Projectile.damage * 0.4), 0f, Projectile.owner, 0f, 0f);
|
||||
}
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Projectile.extraUpdates = 6;
|
||||
Projectile.timeLeft = 1000;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = 15 * Projectile.extraUpdates;
|
||||
Projectile.localNPCHitCooldown = 15 * Projectile.MaxUpdates;
|
||||
Projectile.Calamity().pointBlankShotDuration = CalamityGlobalProjectile.DefaultPointBlankDuration;
|
||||
}
|
||||
|
||||
@@ -119,10 +119,10 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
|
||||
{
|
||||
if (falling)
|
||||
modifiers.SourceDamage *= 1.35f;
|
||||
modifiers.SourceDamage *= 1.1f;
|
||||
|
||||
if (Projectile.numHits > 1 && falling)
|
||||
Projectile.damage = (int)(Projectile.damage * 0.6f);
|
||||
Projectile.damage = (int)(Projectile.damage * 0.5f);
|
||||
if (Projectile.damage < 1)
|
||||
Projectile.damage = 1;
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
if (Projectile.ai[0] == 0)
|
||||
{
|
||||
Projectile.damage = (int)(Projectile.damage * 0.18f);
|
||||
Projectile.damage = (int)(Projectile.damage * 0.3f);
|
||||
Projectile.velocity *= 0.25f;
|
||||
LineParticle spark = new LineParticle(Projectile.Center + Projectile.velocity * 4, Projectile.velocity * 4.95f, false, 9, 2.4f, Color.LimeGreen);
|
||||
GeneralParticleHandler.SpawnParticle(spark);
|
||||
@@ -51,8 +51,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Vector2 vel1 = (Projectile.velocity * 0.4f).RotatedBy(Main.rand.NextFloat(0.015f, 0.04f));
|
||||
Vector2 vel2 = (Projectile.velocity * 0.4f).RotatedBy(Main.rand.NextFloat(-0.015f, -0.04f));
|
||||
|
||||
int split1 = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, vel1 * Main.rand.NextFloat(0.95f, 1.05f), ModContent.ProjectileType<SproutingArrowSplit>(), (int)(Projectile.damage * 3), 0f, Projectile.owner, 0f, hitDirect ? 1f : 0f);
|
||||
int split2 = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, vel2 * Main.rand.NextFloat(0.95f, 1.05f), ModContent.ProjectileType<SproutingArrowSplit>(), (int)(Projectile.damage * 3), 0f, Projectile.owner, 0f, hitDirect ? 1f : 0f);
|
||||
int split1 = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, vel1 * Main.rand.NextFloat(0.95f, 1.05f), ModContent.ProjectileType<SproutingArrowSplit>(), (int)(Projectile.damage * 2), 0f, Projectile.owner, 0f, hitDirect ? 1f : 0f);
|
||||
int split2 = Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, vel2 * Main.rand.NextFloat(0.95f, 1.05f), ModContent.ProjectileType<SproutingArrowSplit>(), (int)(Projectile.damage * 2), 0f, Projectile.owner, 0f, hitDirect ? 1f : 0f);
|
||||
if (Projectile.Calamity().allProjectilesHome) // Allows the split arrows to home when using Arterial Assault as well
|
||||
{
|
||||
Main.projectile[split1].Calamity().allProjectilesHome = true;
|
||||
|
||||
Reference in new issue
Block a user