Files
CalamityModPublic/Sounds/Item/SearedPanSmash.cs
T
ben-tk c3c43a4418 Added Seared Pan
okay projectiles getting deleted on enemy hits is fucking annoying.  I really hope it's not something I did and it's the lava slime il edits........  It's so inconsistent to trigger too.
2021-12-12 01:17:06 -05:00

19 lines
544 B
C#

using Microsoft.Xna.Framework.Audio;
using Terraria;
using Terraria.ModLoader;
namespace CalamityMod.Sounds.Item
{
public class SearedPanSmash : ModSound
{
public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance, float volume, float pan, SoundType type)
{
soundInstance = sound.CreateInstance();
soundInstance.Volume = volume;
soundInstance.Pan = pan;
Main.PlaySoundInstance(soundInstance);
return soundInstance;
}
}
}