1 - Adjusted Scorpio alt fire damage.

2 - Cut cursed dart flame damage by 50%.
3 - Added creepers, ravager claws and golem fists to the ShouldAffectNPC function.
4 - Reduced Aegis Blade and Grand Guardian true melee nerfs.
5 - Reduced Tesla Potion Electrified duration from 5 seconds to 3 seconds.
This commit is contained in:
Andrew Marheine committed 2020-11-15 08:48:24 -06:00
1 parent 1b2b5cc694
commit 95373ef4ed
6 files changed
+13 -10

No files matched your search

+2 -2
View File
@@ -52,7 +52,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override float UseTimeMultiplier (Player player)
{
if (player.altFunctionUse == 2)
return (13f/42f);
return 13f/42f;
return 1f;
}
@@ -60,7 +60,7 @@ namespace CalamityMod.Items.Weapons.Ranged
{
if (player.altFunctionUse == 2)
{
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<BigNuke>(), (int)(damage * 2.2999), knockBack, player.whoAmI, 0f, 0f);
Projectile.NewProjectile(position.X, position.Y, speedX, speedY, ModContent.ProjectileType<BigNuke>(), (int)(damage * 1.25), knockBack, player.whoAmI, 0f, 0f);
return false;
}
else
+7 -3
View File
@@ -3053,6 +3053,10 @@ namespace CalamityMod.NPCs
// Expert Mode resists, mostly worms
if (Main.expertMode)
{
// Nerfed because these are really overpowered
if (projectile.type == ProjectileID.CursedDartFlame)
damage /= 2;
if (AstrumDeusIDs.Contains(npc.type))
{
GrenadeResist(projectile, ref damage);
@@ -4656,9 +4660,9 @@ namespace CalamityMod.NPCs
if (EaterofWorldsIDs.Contains(target.type) || DestroyerIDs.Contains(target.type))
return false;
if (target.damage > 0 && !target.boss && !target.friendly && !target.dontTakeDamage &&
target.type != NPCID.MourningWood && target.type != NPCID.Everscream && target.type != NPCID.SantaNK1 &&
target.type != NPCType<Reaper>() && target.type != NPCType<Mauler>() && target.type != NPCType<EidolonWyrmHead>() &&
if (target.damage > 0 && !target.boss && !target.friendly && !target.dontTakeDamage && target.type != NPCID.Creeper && target.type != NPCType<RavagerClawLeft>() &&
target.type != NPCID.MourningWood && target.type != NPCID.Everscream && target.type != NPCID.SantaNK1 && target.type != NPCType<RavagerClawRight>() &&
target.type != NPCType<Reaper>() && target.type != NPCType<Mauler>() && target.type != NPCType<EidolonWyrmHead>() && target.type != NPCID.GolemFistLeft && target.type != NPCID.GolemFistRight &&
target.type != NPCType<EidolonWyrmHeadHuge>() && target.type != NPCType<ColossalSquid>() && target.type != NPCID.DD2Betsy && !CalamityLists.enemyImmunityList.Contains(target.type) && !AcidRainEvent.AllMinibosses.Contains(target.type))
{
return true;
+1 -1
View File
@@ -95,7 +95,7 @@ namespace CalamityMod.Projectiles.Melee
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
projectile.damage = (int)(projectile.damage * 0.9);
projectile.damage = (int)(projectile.damage * 0.95);
}
}
}
+1 -1
View File
@@ -87,7 +87,7 @@ namespace CalamityMod.Projectiles.Melee
public override void ModifyHitNPC(NPC target, ref int damage, ref float knockback, ref bool crit, ref int hitDirection)
{
projectile.damage = (int)(projectile.damage * 0.8);
projectile.damage = (int)(projectile.damage * 0.9);
}
}
}
-1
View File
@@ -66,7 +66,6 @@ namespace CalamityMod.Projectiles.Ranged
projectile.penetrate = -1;
projectile.usesLocalNPCImmunity = true;
projectile.localNPCHitCooldown = 10;
projectile.damage /= 2;
projectile.Damage();
Main.PlaySound(SoundID.Item, (int)projectile.Center.X, (int)projectile.Center.Y, 14);
for (int num621 = 0; num621 < 90; num621++)
+2 -2
View File
@@ -71,7 +71,7 @@ namespace CalamityMod.Projectiles.Typeless
public override void OnHitNPC(NPC target, int damage, float knockback, bool crit)
{
target.AddBuff(BuffID.Electrified, 300);
target.AddBuff(BuffID.Electrified, 180);
target.AddBuff(ModContent.BuffType<TeslaFreeze>(), 120);
if (target.knockBackResist <= 0f)
@@ -92,7 +92,7 @@ namespace CalamityMod.Projectiles.Typeless
public override void OnHitPvp(Player target, int damage, bool crit)
{
target.AddBuff(BuffID.Electrified, 300);
target.AddBuff(BuffID.Electrified, 180);
target.AddBuff(ModContent.BuffType<TeslaFreeze>(), 120);
}