This commit is contained in:
Andrew Marheine committed 2020-08-21 18:09:33 -05:00
commit 3dbac7347b
3 files changed
+5 -7

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)
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Projectiles.Magic
public override void AI()
{
CalamityGlobalProjectile.MagnetSphereHitscan(projectile, 300f, 6f, 24f, 5, ModContent.ProjectileType<VividBolt>());
CalamityGlobalProjectile.MagnetSphereHitscan(projectile, 300f, 6f, 24f, 5, ModContent.ProjectileType<VividBolt>(), 1D, true);
}
}
}