Cluster Rockets new size
Made cluster rockets get a size in between rocket 3's and nukes. (They used to have the same AoE size as nukes, a post ML ammo) increased spread of uncharged Hive shots a bit
This commit is contained in:
1 parent
6400350d58
commit
0508796b41
3 files changed
+8
-7
No files matched your search
@@ -1251,8 +1251,8 @@ TheHive: {
|
||||
Tooltip:
|
||||
'''
|
||||
Launches a wide spread of 4 missiles that explode on contact with enemies and tiles
|
||||
Charging the launcher decreases the spread and increases the velocity of the missile barrage
|
||||
Fully charging the launcher will cause it to fire a nuke to decimate a massive area on impact
|
||||
Charging the launcher decreases the spread and increases the velocity of the missile barrage
|
||||
Fully charging the launcher will cause it to fire a nuke to decimate a massive area on impact
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -222,7 +222,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
SoundEngine.PlaySound(fire with { Volume = 0.4f, Pitch = 0.7f }, Projectile.Center);
|
||||
|
||||
int numProj = 4;
|
||||
float rotation = MathHelper.ToRadians(MathHelper.Clamp(25 - VelocityMultiplier * 20, 3, 25));
|
||||
float rotation = MathHelper.ToRadians(MathHelper.Clamp(35 - VelocityMultiplier * 26, 2, 25));
|
||||
for (int i = 0; i < numProj; i++)
|
||||
{
|
||||
Vector2 perturbedSpeed = (shootDirection).RotatedBy(MathHelper.Lerp(-rotation, rotation, i / (float)(numProj - 1)));
|
||||
@@ -236,7 +236,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Projectile.owner,
|
||||
rocketType);
|
||||
}
|
||||
PostFireCooldown = 35;
|
||||
PostFireCooldown = 30;
|
||||
}
|
||||
|
||||
NetUpdate();
|
||||
|
||||
@@ -440,7 +440,8 @@ namespace CalamityMod
|
||||
// Explosion radii for various rocket ammos. Defaults to the sizes used in vanilla launchers.
|
||||
public int smallRadius = 3; // Rocket I and II
|
||||
public int mediumRadius = 6; // Rocket III and IV
|
||||
public int largeRadius = 9; // Mini Nuke and Cluster Rockets
|
||||
public int bigRadius = 7; // Cluster Rockets
|
||||
public int largeRadius = 9; // Mini Nukes
|
||||
|
||||
public bool respectStandardBlastImmunity = true;
|
||||
public List<int> tilesToCheck = null;
|
||||
@@ -523,12 +524,12 @@ namespace CalamityMod
|
||||
break;
|
||||
|
||||
case ItemID.ClusterRocketI:
|
||||
explosionRadius = info.largeRadius;
|
||||
explosionRadius = info.bigRadius;
|
||||
SpawnClusterFragments(false);
|
||||
break;
|
||||
|
||||
case ItemID.ClusterRocketII:
|
||||
explosionRadius = info.largeRadius;
|
||||
explosionRadius = info.bigRadius;
|
||||
SpawnClusterFragments(true);
|
||||
break;
|
||||
|
||||
|
||||
Reference in new issue
Block a user