Lucrecia fixes

This commit is contained in:
CongratsIsTrash committed 2025-09-05 20:16:53 -04:00
1 parent bbf2f3147c
commit c19c1abed5
4 files changed
+5 -7

No files matched your search

+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Weapons.Melee
Item.width = 54;
Item.height = 54;
Item.useStyle = ItemUseStyleID.Shoot;
Item.damage = 57;
Item.damage = 170;
Item.DamageType = DamageClass.Melee;
Item.useAnimation = Item.useTime = 34;
Item.shootSpeed = 10f;
@@ -307,5 +307,6 @@ MirrorBladeSlash.DisplayName: Mirror Blade Slash
MirrorBladeSlashCreator.DisplayName: Mirror Blade Slash Creator
GildedProboscisProj.DisplayName: Gilded Proboscis
LucreciaProj.DisplayName: Lucrecia
LucreciaDNATrailCreator.DisplayName: Lucrecia DNA
LucreciaDoubleHelix.DisplayName: Lucrecia Helix Comet
LucreciaSmallProjectile.DisplayName: Lucrecia
+1 -4
View File
@@ -1,17 +1,14 @@
using System;
using System.Collections.Generic;
using CalamityMod.Graphics.Primitives;
using CalamityMod.Items.Weapons.Melee;
using CalamityMod.Particles;
using CalamityMod.Projectiles.BaseProjectiles;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using ReLogic.Content;
using Terraria;
using Terraria.Graphics.Shaders;
using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Melee.Shortswords
namespace CalamityMod.Projectiles.Melee
{
public class LucreciaDNATrailCreator : ModProjectile
{
+2 -2
View File
@@ -163,7 +163,7 @@ namespace CalamityMod.Projectiles.Melee
// Fire the bigass projectile
if (!trailFXTriggered)
{
Projectile.NewProjectile(Projectile.GetSource_FromThis(), player.Center, fireDirection * 5, ModContent.ProjectileType<LucreciaDNATrailCreator>(), Projectile.damage * 24, Projectile.knockBack, Projectile.owner, 0f, 0f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), player.Center, fireDirection * 5, ModContent.ProjectileType<LucreciaDNATrailCreator>(), Projectile.damage * 8, Projectile.knockBack, Projectile.owner, 0f, 0f);
SoundStyle swish = new("CalamityMod/Sounds/Custom/MeatySlash");
SoundEngine.PlaySound(swish with { Volume = 0.45f, Pitch = Main.rand.NextFloat(-0.1f, 0.1f) }, Projectile.Center);
@@ -221,7 +221,7 @@ namespace CalamityMod.Projectiles.Melee
var fireDirection = Vector2.Normalize(mousePosition - player.Center);
var helixSpeed = 12f;
var helixVelocity = fireDirection * helixSpeed;
Projectile.NewProjectile(Projectile.GetSource_FromThis(), player.Center + fireDirection * 3, helixVelocity, ModContent.ProjectileType<LucreciaSmallProjectile>(), Projectile.damage * 3, Projectile.knockBack, Projectile.owner);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), player.Center + fireDirection * 3, helixVelocity, ModContent.ProjectileType<LucreciaSmallProjectile>(), Projectile.damage, Projectile.knockBack, Projectile.owner);
SoundStyle projectile = new("CalamityMod/Sounds/Item/LucreciaBoltFire");
SoundEngine.PlaySound(projectile with { Volume = 0.8f, Pitch = Main.rand.NextFloat(-0.06f, 0.1f) }, Projectile.Center);