sand elemental dmg type fixes
This commit is contained in:
1 parent
d1e1b92470
commit
552caceaae
3 files changed
+5
-5
No files matched your search
@@ -19,6 +19,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
projectile.penetrate = 1;
|
||||
projectile.light = 1f;
|
||||
projectile.timeLeft = 300;
|
||||
projectile.minion = true;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
|
||||
@@ -239,8 +239,8 @@ namespace CalamityMod.Projectiles.Summon
|
||||
}
|
||||
if (num651 > 2000f)
|
||||
{
|
||||
projectile.position.X = Main.player[projectile.owner].Center.X - (float)(projectile.width / 2);
|
||||
projectile.position.Y = Main.player[projectile.owner].Center.Y - (float)(projectile.height / 2);
|
||||
projectile.position.X = player.Center.X - (float)(projectile.width / 2);
|
||||
projectile.position.Y = player.Center.Y - (float)(projectile.height / 2);
|
||||
projectile.netUpdate = true;
|
||||
}
|
||||
if (num651 > 70f)
|
||||
|
||||
@@ -23,6 +23,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
projectile.timeLeft = 900;
|
||||
projectile.ignoreWater = true;
|
||||
projectile.alpha = 255;
|
||||
projectile.minion = true;
|
||||
projectile.penetrate = -1;
|
||||
projectile.usesLocalNPCImmunity = true;
|
||||
projectile.localNPCHitCooldown = 30 -
|
||||
@@ -132,9 +133,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
projectile.localAI[1] += 1f;
|
||||
if (projectile.localAI[1] == 60f && projectile.owner == Main.myPlayer)
|
||||
{
|
||||
int storm = Projectile.NewProjectile(projectile.Center, Vector2.Zero, ModContent.ProjectileType<SandTornado>(), projectile.damage, 2f, projectile.owner, 1f, 0f);
|
||||
Main.projectile[storm].minion = true;
|
||||
Main.projectile[storm].melee = false;
|
||||
Projectile.NewProjectile(projectile.Center, Vector2.Zero, ModContent.ProjectileType<SandTornado>(), projectile.damage, 2f, projectile.owner, 0f, 0f);
|
||||
}
|
||||
if (projectile.localAI[1] >= 120f)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user