diff --git a/Items/Weapons/Melee/Orderbringer.cs b/Items/Weapons/Melee/Orderbringer.cs index 1490126c7e..d4192e2eda 100644 --- a/Items/Weapons/Melee/Orderbringer.cs +++ b/Items/Weapons/Melee/Orderbringer.cs @@ -30,7 +30,7 @@ namespace CalamityMod.Items.Weapons.Melee public override void SetDefaults() { Item.width = Item.height = 108; - Item.damage = 400; + Item.damage = 415; Item.DamageType = DamageClass.Melee; Item.useAnimation = Item.useTime = useTime; Item.useStyle = ItemUseStyleID.Swing; @@ -101,7 +101,7 @@ namespace CalamityMod.Items.Weapons.Melee } public override void OnHitNPC(Player player, NPC target, NPC.HitInfo hit, int damageDone) { - int beamDamage = player.CalcIntDamage(Item.damage); + int beamDamage = player.CalcIntDamage(Item.damage * 0.5f); Vector2 mouseClamped = player.ClampedMouseWorld(); for (int i = 0; i < 2; i++) { diff --git a/Items/Weapons/Rogue/UrchinStinger.cs b/Items/Weapons/Rogue/UrchinStinger.cs index 395ef3a5fd..a4fea72bfc 100644 --- a/Items/Weapons/Rogue/UrchinStinger.cs +++ b/Items/Weapons/Rogue/UrchinStinger.cs @@ -8,18 +8,13 @@ namespace CalamityMod.Items.Weapons.Rogue { public class UrchinStinger : RogueWeapon { - public override void SetStaticDefaults() - { - Item.ResearchUnlockCount = 99; - } - public override void SetDefaults() { Item.width = 10; Item.height = 26; - Item.damage = 15; + Item.damage = 9; Item.DamageType = RogueDamageClass.Instance; - Item.useAnimation = Item.useTime = 14; + Item.useAnimation = Item.useTime = 17; Item.knockBack = 1.5f; Item.noMelee = true; @@ -28,9 +23,7 @@ namespace CalamityMod.Items.Weapons.Rogue Item.UseSound = SoundID.Item1; Item.autoReuse = true; - Item.consumable = true; - Item.maxStack = Item.CommonMaxStack; - Item.value = Item.sellPrice(silver: 2); + Item.value = CalamityGlobalItem.RarityBlueBuyPrice; Item.rare = ItemRarityID.Blue; Item.shoot = ModContent.ProjectileType(); Item.shootSpeed = 12f; @@ -38,10 +31,28 @@ namespace CalamityMod.Items.Weapons.Rogue public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback) { - int proj = Projectile.NewProjectile(source, position, velocity, type, damage, knockback, player.whoAmI); - if (player.Calamity().StealthStrikeAvailable()) - Main.projectile[proj].Calamity().stealthStrike = true; - return false; + Vector2 newVel = velocity.RotatedByRandom(MathHelper.ToRadians(23f)) * 0.6f; + Vector2 newVel2 = velocity.RotatedByRandom(MathHelper.ToRadians(23f)) * 0.8f; + if (!player.Calamity().StealthStrikeAvailable()) + { + Projectile.NewProjectile(source, position, newVel, type, damage / 2, knockback, player.whoAmI); + Projectile.NewProjectile(source, position, newVel2, type, damage / 2, knockback, player.whoAmI); + } + + if (player.Calamity().StealthStrikeAvailable()) //setting the stealth strike + { + for (int i = 0; i < 3; i++) + { + newVel = velocity.RotatedByRandom(MathHelper.ToRadians(23f)); + int stealth = Projectile.NewProjectile(source, position, newVel, type, damage, knockback, player.whoAmI); + if (stealth.WithinBounds(Main.maxProjectiles)) + { + Main.projectile[stealth].Calamity().stealthStrike = true; + } + } + return false; + } + return true; } } } diff --git a/NPCs/SulphurousSea/AquaticUrchin.cs b/NPCs/SulphurousSea/AquaticUrchin.cs index be52ddff23..6d911aa579 100644 --- a/NPCs/SulphurousSea/AquaticUrchin.cs +++ b/NPCs/SulphurousSea/AquaticUrchin.cs @@ -150,7 +150,7 @@ namespace CalamityMod.NPCs.SulphurousSea public override void ModifyNPCLoot(NPCLoot npcLoot) { - npcLoot.Add(ModContent.ItemType(), 1, 30, 50); + npcLoot.Add(ModContent.ItemType(), 15); } public override void HitEffect(NPC.HitInfo hit)