Files
CalamityModPublic/Projectiles/Typeless/HyperiusBleed.cs
T
Xyk b96d7e103f Hyperius Bullet Re-rework and fixes
-Fixed Custom Spark/Vel changing Spark/ Glow Spark Particles not fading out their glows properly.
-Fixed Tracking Disk Stealth having tile collision
-Fixed Septic Skewer pulling enemies multiple times during execution.
-Added a gfb feature that makes all custom sparks, vel changing sparks, glow sparks and custom pulses use the mammoth particle visual if it's Tuesday.
-Fixed some weird particle rotation on Vitriolic Viper
-Exorcism GFB sound (Thanks Shayy)
-The guaranteed crits on Hellkite and Compact Railgun now convert your crit chance into extra damage for the hit.
2025-04-15 23:32:11 -07:00

21 lines
690 B
C#

using CalamityMod.Items.Ammo;
using Terraria;
using Terraria.Audio;
using Terraria.ModLoader;
namespace CalamityMod.Projectiles.Typeless
{
public class HyperiusBleed : DirectStrike, ILocalizedModType
{
public new string LocalizationCategory => "Projectiles.Typeless";
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
{
Player Owner = Main.player[Projectile.owner];
modifiers.HideCombatText(); // Has special combat text
SoundEngine.PlaySound(HyperiusBullet.hit with { Volume = 0.45f, Pitch = Main.rand.NextFloat(-0.15f, 0.15f), MaxInstances = 10 }, Projectile.Center);
}
}
}