diff --git a/Items/Weapons/DraedonsArsenal/PlasmaGrenade.cs b/Items/Weapons/DraedonsArsenal/PlasmaGrenade.cs index 3a40a34e13..5b4db1ecd6 100644 --- a/Items/Weapons/DraedonsArsenal/PlasmaGrenade.cs +++ b/Items/Weapons/DraedonsArsenal/PlasmaGrenade.cs @@ -26,13 +26,13 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal item.width = 22; item.height = 28; - item.damage = 9572; + item.damage = 11780; item.noMelee = true; item.noUseGraphic = true; item.consumable = true; item.maxStack = 999; item.useStyle = ItemUseStyleID.SwingThrow; - item.useAnimation = item.useTime = 22; + item.useAnimation = item.useTime = 27; item.knockBack = 3f; item.UseSound = SoundID.Item1; item.autoReuse = true; @@ -42,7 +42,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal modItem.customRarity = CalamityRarity.DraedonRust; item.shoot = ModContent.ProjectileType(); - item.shootSpeed = 19f; + item.shootSpeed = 14f; modItem.rogue = true; } diff --git a/Items/Weapons/DraedonsArsenal/PoleWarper.cs b/Items/Weapons/DraedonsArsenal/PoleWarper.cs index cb86275d2d..aa87a24f5c 100644 --- a/Items/Weapons/DraedonsArsenal/PoleWarper.cs +++ b/Items/Weapons/DraedonsArsenal/PoleWarper.cs @@ -22,7 +22,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal CalamityGlobalItem modItem = item.Calamity(); item.shootSpeed = 10f; - item.damage = 700; + item.damage = 810; item.mana = 12; item.width = 38; item.height = 24; diff --git a/Items/Weapons/DraedonsArsenal/PulseRifle.cs b/Items/Weapons/DraedonsArsenal/PulseRifle.cs index a988bf5811..4a1956849e 100644 --- a/Items/Weapons/DraedonsArsenal/PulseRifle.cs +++ b/Items/Weapons/DraedonsArsenal/PulseRifle.cs @@ -10,7 +10,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal { public class PulseRifle : ModItem { - private int BaseDamage = 8560; + private int BaseDamage = 10000; public override void SetStaticDefaults() { @@ -46,7 +46,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal modItem.UsesCharge = true; modItem.MaxCharge = 250f; - modItem.ChargePerUse = 0.3f; + modItem.ChargePerUse = 0.24f; } public override bool Shoot(Player player, ref Vector2 position, ref float speedX, ref float speedY, ref int type, ref int damage, ref float knockBack) diff --git a/Items/Weapons/DraedonsArsenal/TeslaCannon.cs b/Items/Weapons/DraedonsArsenal/TeslaCannon.cs index 4943771a4a..63b1e839a5 100644 --- a/Items/Weapons/DraedonsArsenal/TeslaCannon.cs +++ b/Items/Weapons/DraedonsArsenal/TeslaCannon.cs @@ -10,7 +10,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal { public class TeslaCannon : ModItem { - private int BaseDamage = 15000; + private int BaseDamage = 16200; public override void SetStaticDefaults() { diff --git a/Projectiles/DraedonsArsenal/PlasmaGrenadeProjectile.cs b/Projectiles/DraedonsArsenal/PlasmaGrenadeProjectile.cs index 16708ad75c..f0584eb66b 100644 --- a/Projectiles/DraedonsArsenal/PlasmaGrenadeProjectile.cs +++ b/Projectiles/DraedonsArsenal/PlasmaGrenadeProjectile.cs @@ -9,15 +9,14 @@ namespace CalamityMod.Projectiles.DraedonsArsenal { public override string Texture => "CalamityMod/Items/Weapons/DraedonsArsenal/PlasmaGrenade"; + private static readonly float Gravity = 0.09f; + public float Time { get => projectile.ai[0]; set => projectile.ai[0] = value; } - public const float FallAcceleration = 0.15f; - public const float MaxFallSpeed = 12f; - public override void SetStaticDefaults() { DisplayName.SetDefault("Plasma Grenade"); @@ -29,7 +28,8 @@ namespace CalamityMod.Projectiles.DraedonsArsenal projectile.height = 28; projectile.friendly = true; projectile.penetrate = 1; - projectile.timeLeft = 180; + projectile.timeLeft = 300; + projectile.MaxUpdates = 2; projectile.Calamity().rogue = true; } @@ -37,29 +37,29 @@ namespace CalamityMod.Projectiles.DraedonsArsenal { projectile.rotation = projectile.velocity.ToRotation() + MathHelper.PiOver2; Vector2 projectileTop = projectile.Center + new Vector2(0f, projectile.height * -0.5f).RotatedBy(projectile.rotation); - if (projectile.velocity.Y < MaxFallSpeed && Time > 30f) - { - projectile.velocity.Y += 0.5f; - } + + if (Time > 10f) + projectile.velocity.Y += Gravity; + if (!Main.dedServ) { Dust dust = Dust.NewDustPerfect(projectileTop, 107); dust.velocity = projectile.rotation.ToRotationVector2().RotatedByRandom(0.35f) * Main.rand.NextFloat(2f, 4f); - dust.velocity += projectile.velocity; + dust.velocity += projectile.velocity * 0.25f; dust.scale = Main.rand.NextFloat(0.95f, 1.3f); } Time++; } - public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection) - { - damage += target.defense / 4; - } + public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection) + { + damage += target.defense / 4; + } public override void Kill(int timeLeft) { - Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/PlasmaGrenadeExplosion"), (int)projectile.position.X, (int)projectile.position.Y); - if (projectile.Calamity().stealthStrike) + Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Item, "Sounds/Item/PlasmaGrenadeExplosion"), (int)projectile.position.X, (int)projectile.position.Y); + if (projectile.Calamity().stealthStrike) { if (Main.myPlayer == projectile.owner) {