Fix Unstable Prism infinitely proccing in 1 frame

This commit is contained in:
Dominic committed 2022-06-14 22:49:59 -05:00
1 parent 2ab5d48023
commit bc729ecb73
1 file changed
+1
+1
View File
@@ -733,6 +733,7 @@ namespace CalamityMod.CalPlayer
Vector2 velocity = CalamityUtils.RandomVelocity(50f, 30f, 60f);
int graniteSparkDamage = (int)Player.GetBestClassDamage().ApplyTo(15);
Projectile.NewProjectile(source, position, velocity, ProjectileType<UnstableSpark>(), graniteSparkDamage, 0f, Player.whoAmI);
Player.ownedProjectileCounts[ProjectileType<UnstableSpark>()]++;
}
}