Fix Unstable Prism infinitely proccing in 1 frame
This commit is contained in:
1 parent
2ab5d48023
commit
bc729ecb73
1 file changed
+1
@@ -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>()]++;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user