what if burning sea could rotate like a good boy. Wouldn't that be nice
This commit is contained in:
1 parent
a39293b097
commit
92dfee578a
1 file changed
+2
-5
@@ -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)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user