rockets now destroy tiles w/ cluster and mini nuke II's
no shrapnel tho on the cluster rockets
This commit is contained in:
1 parent
008133a12a
commit
ede0fe960a
7 files changed
+19
-7
No files matched your search
@@ -191,10 +191,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
float kb = 0f;
|
||||
player.PickAmmo(FalseLauncher, out projID, out shootSpeed, out damage, out kb, out _, true);
|
||||
int blastRadius = 0;
|
||||
if (projID == ProjectileID.RocketII)
|
||||
if (projID == ProjectileID.RocketII || projID == ProjectileID.ClusterRocketII) // Not adding the actual shrapnel tho
|
||||
blastRadius = 3;
|
||||
else if (projID == ProjectileID.RocketIV)
|
||||
blastRadius = 6;
|
||||
else if (projID == ProjectileID.MiniNukeRocketII)
|
||||
blastRadius = 9;
|
||||
|
||||
Projectile.ExpandHitboxBy(14);
|
||||
|
||||
|
||||
@@ -170,7 +170,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
Projectile.ExpandHitboxBy(16);
|
||||
|
||||
if (Projectile.owner == Main.myPlayer && (projID == ProjectileID.RocketII || projID == ProjectileID.RocketIV))
|
||||
if (Projectile.owner == Main.myPlayer && (projID == ProjectileID.RocketII || projID == ProjectileID.RocketIV || projID == ProjectileID.MiniNukeRocketII || projID == ProjectileID.ClusterRocketII))
|
||||
{
|
||||
CalamityUtils.ExplodeandDestroyTiles(Projectile, 23, true, new List<int>() { }, new List<int>() { });
|
||||
}
|
||||
|
||||
@@ -191,10 +191,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
float kb = 0f;
|
||||
player.PickAmmo(FalseLauncher, out projID, out shootSpeed, out damage, out kb, out _, true);
|
||||
int blastRadius = 0;
|
||||
if (projID == ProjectileID.RocketII)
|
||||
if (projID == ProjectileID.RocketII || projID == ProjectileID.ClusterRocketII)
|
||||
blastRadius = 6;
|
||||
else if (projID == ProjectileID.RocketIV)
|
||||
blastRadius = 9;
|
||||
else if (projID == ProjectileID.MiniNukeRocketII)
|
||||
blastRadius = 12;
|
||||
|
||||
Projectile.ExpandHitboxBy(14);
|
||||
|
||||
|
||||
@@ -191,10 +191,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
float kb = 0f;
|
||||
player.PickAmmo(FalseLauncher, out projID, out shootSpeed, out damage, out kb, out _, true);
|
||||
int blastRadius = 0;
|
||||
if (projID == ProjectileID.RocketII)
|
||||
if (projID == ProjectileID.RocketII || projID == ProjectileID.ClusterRocketII)
|
||||
blastRadius = 4;
|
||||
else if (projID == ProjectileID.RocketIV)
|
||||
blastRadius = 7;
|
||||
else if (projID == ProjectileID.MiniNukeRocketII)
|
||||
blastRadius = 10;
|
||||
|
||||
Projectile.ExpandHitboxBy(14);
|
||||
|
||||
|
||||
@@ -191,10 +191,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
float kb = 0f;
|
||||
player.PickAmmo(FalseLauncher, out projID, out shootSpeed, out damage, out kb, out _, true);
|
||||
int blastRadius = 0;
|
||||
if (projID == ProjectileID.RocketII)
|
||||
if (projID == ProjectileID.RocketII || projID == ProjectileID.ClusterRocketII)
|
||||
blastRadius = 5;
|
||||
else if (projID == ProjectileID.RocketIV)
|
||||
blastRadius = 8;
|
||||
else if (projID == ProjectileID.MiniNukeRocketII)
|
||||
blastRadius = 11;
|
||||
|
||||
Projectile.ExpandHitboxBy(14);
|
||||
|
||||
|
||||
@@ -160,10 +160,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
float kb = 0f;
|
||||
player.PickAmmo(FalseLauncher, out projID, out shootSpeed, out damage, out kb, out _, true);
|
||||
int blastRadius = 0;
|
||||
if (projID == ProjectileID.RocketII)
|
||||
if (projID == ProjectileID.RocketII || projID == ProjectileID.ClusterRocketII)
|
||||
blastRadius = 3;
|
||||
else if (projID == ProjectileID.RocketIV)
|
||||
blastRadius = 6;
|
||||
else if (projID == ProjectileID.MiniNukeRocketII)
|
||||
blastRadius = 9;
|
||||
|
||||
Projectile.ExpandHitboxBy(14);
|
||||
|
||||
|
||||
@@ -164,10 +164,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
float kb = 0f;
|
||||
player.PickAmmo(FalseLauncher, out projID, out shootSpeed, out damage, out kb, out _, true);
|
||||
int blastRadius = 0;
|
||||
if (projID == ProjectileID.RocketII)
|
||||
if (projID == ProjectileID.RocketII || projID == ProjectileID.ClusterRocketII)
|
||||
blastRadius = 6;
|
||||
else if (projID == ProjectileID.RocketIV)
|
||||
blastRadius = 12;
|
||||
else if (projID == ProjectileID.MiniNukeRocketII)
|
||||
blastRadius = 18;
|
||||
|
||||
Projectile.ExpandHitboxBy(22);
|
||||
|
||||
|
||||
Reference in new issue
Block a user