burning sea has given me more problems that it should have
This commit is contained in:
1 parent
c58de9772b
commit
a39293b097
2 files changed
+5
-1
No files matched your search
@@ -31,6 +31,9 @@ namespace CalamityMod.Projectiles.Magic
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
//Doesn't use += to override vanilla rotation by AI
|
||||
projectile.rotation = projectile.rotation + 0.7f;
|
||||
|
||||
Lighting.AddLight(projectile.Center, 0.25f, 0f, 0f);
|
||||
if (projectile.wet && !projectile.lavaWet)
|
||||
{
|
||||
|
||||
@@ -25,7 +25,8 @@ namespace CalamityMod.Projectiles.Magic
|
||||
public override void AI()
|
||||
{
|
||||
projectile.rotation = (float)Math.Atan2((double)projectile.velocity.Y, (double)projectile.velocity.X) + MathHelper.ToRadians(90);
|
||||
Dust.NewDust(new Vector2(projectile.position.X, projectile.position.Y), projectile.width, projectile.height, 229, 0f, 0f, 100, default, 0.6f);
|
||||
if (Main.rand.NextBool(2))
|
||||
Dust.NewDust(new Vector2(projectile.position.X, projectile.position.Y), projectile.width, projectile.height, 229, 0f, 0f, 100, default, 0.6f);
|
||||
|
||||
CalamityGlobalProjectile.HomeInOnNPC(projectile, false, 500f, 22f, 20f);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user