2 - New DoG, Slime God and Brimstone Monster sounds. 3 - Fixed Aquatic Scourge toxic cloud issues. 4 - Green Jellyfish can now spawn in prehm. 5 - Blue Jellyfish can now spawn in hardmode.
19 lines
551 B
C#
19 lines
551 B
C#
using Microsoft.Xna.Framework.Audio;
|
|
using Terraria;
|
|
using Terraria.ModLoader;
|
|
|
|
namespace CalamityMod.Sounds.Custom
|
|
{
|
|
public class DevourerAttack : ModSound
|
|
{
|
|
public override SoundEffectInstance PlaySound(ref SoundEffectInstance soundInstance, float volume, float pan, SoundType type)
|
|
{
|
|
soundInstance = sound.CreateInstance();
|
|
soundInstance.Volume = volume * 1f;
|
|
soundInstance.Pan = pan;
|
|
Main.PlaySoundInstance(soundInstance);
|
|
return soundInstance;
|
|
}
|
|
}
|
|
}
|