fixed stupid brimflame frenzy sound for real

This commit is contained in:
termigator1359 committed 2020-08-21 17:25:37 -04:00
1 parent 47c3956fbd
commit c16f2d74eb
2 files changed
+4 -6

No files matched your search

-6
View File
@@ -1871,12 +1871,6 @@ namespace CalamityMod.CalPlayer
player.AddBuff(ModContent.BuffType<BrimflameFrenzyCooldown>(), BrimflameScowl.CooldownLength, true);
modPlayer.brimflameFrenzyTimer = BrimflameScowl.CooldownLength;
}
if (modPlayer.brimflameFrenzyTimer == 1) //sound when ready to use again
{
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/BrimflameRecharge"), player.Center);
}
if (!modPlayer.brimflameFrenzyCooldown)
modPlayer.brimflameFrenzyTimer = 0;
if (!modPlayer.bloodflareMelee && modPlayer.bloodflareFrenzy)
{
modPlayer.bloodflareFrenzy = false;
+4
View File
@@ -48,6 +48,10 @@ namespace CalamityMod.Items.Armor
modPlayer.brimflameFrenzyTimer = CooldownLength;
}
}
if (modPlayer.brimflameFrenzyTimer == 1) //sound when ready to use again
{
Main.PlaySound(mod.GetLegacySoundSlot(SoundType.Custom, "Sounds/Custom/BrimflameRecharge"), player.Center);
}
}
public override void UpdateEquip(Player player)