what if burning sea could rotate like a good boy. Wouldn't that be nice

This commit is contained in:
termigator1359 committed 2020-05-13 09:56:36 -04:00
1 parent a39293b097
commit 92dfee578a
1 file changed
+2 -5
+2 -5
View File
@@ -23,17 +23,14 @@ namespace CalamityMod.Projectiles.Magic
projectile.height = 20;
projectile.friendly = true;
projectile.magic = true;
projectile.aiStyle = 1;
projectile.aiStyle = 14;
projectile.penetrate = 4;
aiType = ProjectileID.ThornBall;
projectile.timeLeft = 300;
}
public override void AI()
{
//Doesn't use += to override vanilla rotation by AI
projectile.rotation = projectile.rotation + 0.7f;
projectile.rotation += projectile.velocity.Y * 0.1f * projectile.direction;
Lighting.AddLight(projectile.Center, 0.25f, 0f, 0f);
if (projectile.wet && !projectile.lavaWet)
{