Star of Destruction now always has a minimum of 4 bolts and halved the local i frames

This commit is contained in:
ben-tk authored and Cameron Ewell committed 2022-09-18 10:35:36 -04:00
1 parent 2525df7db7
commit 7aa69fa96a
1 file changed
+3 -1
+3 -1
View File
@@ -27,7 +27,7 @@ namespace CalamityMod.Projectiles.Rogue
Projectile.friendly = true;
Projectile.penetrate = 16;
Projectile.usesLocalNPCImmunity = true;
Projectile.localNPCHitCooldown = 10;
Projectile.localNPCHitCooldown = 5;
Projectile.ignoreWater = true;
Projectile.tileCollide = false;
Projectile.timeLeft = 300;
@@ -76,6 +76,8 @@ namespace CalamityMod.Projectiles.Rogue
}
if (Projectile.owner == Main.myPlayer)
{
if (hitCount < 4)
hitCount = 4;
for (int i = 0; i < hitCount; i++)
{
Vector2 velocity = CalamityUtils.RandomVelocity(100f, 70f, 100f);