weapon balance
This commit is contained in:
1 parent
432ef47555
commit
34bcaf1ea7
6 files changed
+16
-10
No files matched your search
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void SetDefaults()
|
||||
{
|
||||
item.width = 64;
|
||||
item.damage = 67;
|
||||
item.damage = 120;
|
||||
item.melee = true;
|
||||
item.noMelee = true;
|
||||
item.useTurn = true;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.UseSound = SoundID.DD2_BetsyFlyingCircleAttack;
|
||||
item.summon = true;
|
||||
item.mana = 11;
|
||||
item.damage = 456;
|
||||
item.damage = 301;
|
||||
item.knockBack = 2f;
|
||||
item.autoReuse = true;
|
||||
item.useTime = item.useAnimation = 10;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
item.UseSound = SoundID.Item60;
|
||||
item.summon = true;
|
||||
item.mana = 25;
|
||||
item.damage = 2350;
|
||||
item.damage = 800;
|
||||
item.knockBack = 3f;
|
||||
item.autoReuse = true;
|
||||
item.useTime = item.useAnimation = 10;
|
||||
|
||||
@@ -3559,19 +3559,19 @@ namespace CalamityMod.NPCs
|
||||
}
|
||||
else if (npc.type == ModContent.NPCType<OldDuke.OldDuke>())
|
||||
{
|
||||
if (projectile.type == ModContent.ProjectileType<GalileosMoon>())
|
||||
if (projectile.type == ModContent.ProjectileType<GalileosMoon>() || projectile.type == ModContent.ProjectileType<CrescentMoonFlail>())
|
||||
{
|
||||
damage = (int)(damage * 0.4);
|
||||
damage = (int)(damage * 0.2);
|
||||
}
|
||||
else if (projectile.type == ModContent.ProjectileType<CalamariInk>())
|
||||
{
|
||||
damage = (int)(damage * 0.5);
|
||||
}
|
||||
else if (projectile.type == ModContent.ProjectileType<ReaperProjectile>() || projectile.type == ModContent.ProjectileType<BloodBombExplosion>() || projectile.type == ModContent.ProjectileType<CrescentMoonFlail>())
|
||||
else if (projectile.type == ModContent.ProjectileType<GhastlySoulLarge>() || projectile.type == ModContent.ProjectileType<GhastlySoulMedium>() || projectile.type == ModContent.ProjectileType<GhastlySoulSmall>() || projectile.type == ModContent.ProjectileType<ReaperProjectile>() || projectile.type == ModContent.ProjectileType<BloodBombExplosion>())
|
||||
{
|
||||
damage = (int)(damage * 0.6);
|
||||
}
|
||||
else if (projectile.type == ModContent.ProjectileType<GhastlySoulLarge>() || projectile.type == ModContent.ProjectileType<GhastlySoulMedium>() || projectile.type == ModContent.ProjectileType<GhastlySoulSmall>() || projectile.type == ModContent.ProjectileType<GhostFire>())
|
||||
else if (projectile.type == ModContent.ProjectileType<GhostFire>())
|
||||
{
|
||||
damage = (int)(damage * 0.75);
|
||||
}
|
||||
|
||||
@@ -87,7 +87,9 @@ namespace CalamityMod.Projectiles.Melee
|
||||
}
|
||||
if (projectile.owner == Main.myPlayer)
|
||||
{
|
||||
Projectile.NewProjectile(vector2.X, vector2.Y, speedX, speedY, ProjectileID.FlowerPetal, (int)((double)projectile.damage * 0.5), 2f, projectile.owner);
|
||||
int petal = Projectile.NewProjectile(spawnPosition.X, spawnPosition.Y, speedX, speedY, ProjectileID.FlowerPetal, (int)(projectile.damage * 0.5), 2f, projectile.owner);
|
||||
Main.projectile[petal].Calamity().forceMelee = true;
|
||||
Main.projectile[petal].localNPCHitCooldown = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
public override float ForwardSpeed => 0.95f;
|
||||
public override Action<Projectile> EffectBeforeReelback => (proj) =>
|
||||
{
|
||||
Projectile.NewProjectile(projectile.Center.X + projectile.velocity.X, projectile.Center.Y + projectile.velocity.Y, projectile.velocity.X * 2.4f, projectile.velocity.Y * 2.4f, ModContent.ProjectileType<HellionSpike>(), (int)(projectile.damage * 0.8), projectile.knockBack * 0.85f, projectile.owner, 0f, 0f);
|
||||
Projectile.NewProjectile(projectile.Center.X + projectile.velocity.X, projectile.Center.Y + projectile.velocity.Y, projectile.velocity.X * 2.4f, projectile.velocity.Y * 2.4f, ModContent.ProjectileType<HellionSpike>(), (int)(projectile.damage * 0.65), projectile.knockBack * 0.85f, projectile.owner, 0f, 0f);
|
||||
};
|
||||
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
|
||||
{
|
||||
@@ -53,7 +53,11 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
speedX = MathHelper.Clamp(speedX, -15f, 15f);
|
||||
speedY = MathHelper.Clamp(speedY, -15f, 15f);
|
||||
if (projectile.owner == Main.myPlayer)
|
||||
Projectile.NewProjectile(spawnPosition.X, spawnPosition.Y, speedX, speedY, ProjectileID.FlowerPetal, (int)(projectile.damage * 0.5), 2f, projectile.owner);
|
||||
{
|
||||
int petal = Projectile.NewProjectile(spawnPosition.X, spawnPosition.Y, speedX, speedY, ProjectileID.FlowerPetal, (int)(projectile.damage * 0.5), 2f, projectile.owner);
|
||||
Main.projectile[petal].Calamity().forceMelee = true;
|
||||
Main.projectile[petal].localNPCHitCooldown = -1;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user