Merge branch 'master' of https://github.com/UncleDanny/CalamityMod
This commit is contained in:
commit
3dbac7347b
3 files changed
+5
-7
No files matched your search
@@ -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;
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user