mollusk armor tweak
This commit is contained in:
1 parent
d55754345a
commit
2eaa4ef513
2 files changed
+2
-2
No files matched your search
@@ -57,7 +57,7 @@ namespace CalamityMod.Items.Armor
|
||||
}
|
||||
if (player.ownedProjectileCounts[ModContent.ProjectileType<Shellfish>()] < 2)
|
||||
{
|
||||
int shellfish = Projectile.NewProjectile(player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType<Shellfish>(), (int)((double)1500 * (player.allDamage + player.minionDamage - 1f)), 0f, Main.myPlayer, 0f, 0f);
|
||||
int shellfish = Projectile.NewProjectile(player.Center.X, player.Center.Y, 0f, -1f, ModContent.ProjectileType<Shellfish>(), (int)(200f * player.MinionDamage()), 0f, Main.myPlayer, 0f, 0f);
|
||||
Main.projectile[shellfish].Calamity().lineColor = 1;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ namespace CalamityMod.Projectiles.Summon
|
||||
if (projectile.ai[0] == 0f)
|
||||
{
|
||||
//lineColor == 1 means it is spawned from Mollusk Armor rather than the weapon
|
||||
projectile.damage = (int)((modProj.lineColor == 1 ? 1500f : 70f) * player.MinionDamage());
|
||||
projectile.damage = (int)((modProj.lineColor == 1 ? 200f : 70f) * player.MinionDamage());
|
||||
if (player.MinionDamage() != projectile.Calamity().spawnedPlayerMinionDamageValue)
|
||||
{
|
||||
int damage2 = (int)((float)modProj.spawnedPlayerMinionProjectileDamageValue /
|
||||
|
||||
Reference in new issue
Block a user