adjusted tyranny's end and amr further (sorry cit) also bananarang nerf
This commit is contained in:
1 parent
dfb983bae8
commit
be5d9bbcc3
4 files changed
+9
-22
No files matched your search
@@ -42,7 +42,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.AmethystStaff, Do(ManaExact(2)) },
|
||||
{ ItemID.Anchor, Do(DamageExact(107), UseExact(30)) },
|
||||
{ ItemID.AntlionClaw, Do(UseExact(14)) }, // Mandible Blade
|
||||
{ ItemID.Bananarang, Do(DamageExact(98), UseExact(14)) },
|
||||
{ ItemID.Bananarang, Do(DamageExact(76), UseExact(14)) },
|
||||
{ ItemID.BatScepter, Do(DamageExact(56)) },
|
||||
{ ItemID.BeamSword, Do(UseMeleeSpeed, UseTurn, DamageExact(180), UseAnimationExact(60), ShootSpeedExact(23f)) },
|
||||
{ ItemID.BeeGun, Do(DamageExact(11)) },
|
||||
|
||||
@@ -49,7 +49,7 @@ AntiMaterielRifle: {
|
||||
Tooltip:
|
||||
'''
|
||||
Converts musket balls into .50 caliber sniper rounds that rip apart enemy defense and DR
|
||||
Critical hits unleash a second swarm of 4 bullets
|
||||
Critical hits unleash a second swarm of 5 bullets
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -1242,9 +1242,9 @@ TyrannysEnd: {
|
||||
DisplayName: Tyranny's End
|
||||
Tooltip:
|
||||
'''
|
||||
Converts musket balls into .70 caliber sniper rounds that bypass enemy Defense and DR
|
||||
Inflicts Marked for Death on enemy hits
|
||||
Critical hits summon a swarm of 5 additional bullets
|
||||
Converts musket balls into .70 caliber sniper rounds that deal devestating damage
|
||||
inflicts Marked for Death on enemy hits
|
||||
Critical hits summon a swarm of 8 additional bullets
|
||||
'Pierce the heart of even the most heavily-armored foe'
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -74,13 +74,13 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
if (crit)
|
||||
{
|
||||
var source = Projectile.GetSource_FromThis();
|
||||
int extraProjectileAmt = 4;
|
||||
int extraProjectileAmt = 5;
|
||||
for (int x = 0; x < extraProjectileAmt; x++)
|
||||
{
|
||||
if (Projectile.owner == Main.myPlayer)
|
||||
{
|
||||
bool fromRight = x > 3;
|
||||
CalamityUtils.ProjectileBarrage(source, Projectile.Center, targetPos, fromRight, 500f, 500f, 0f, 500f, 10f, ModContent.ProjectileType<AMR2>(), (int)(Projectile.damage * 0.22), Projectile.knockBack * 0.1f, Projectile.owner);
|
||||
CalamityUtils.ProjectileBarrage(source, Projectile.Center, targetPos, fromRight, 500f, 500f, 0f, 500f, 10f, ModContent.ProjectileType<AMR2>(), (int)(Projectile.damage * 0.2), Projectile.knockBack * 0.1f, Projectile.owner);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,19 +30,6 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Projectile.Calamity().pointBlankShotDuration = CalamityGlobalProjectile.DefaultPointBlankDuration;
|
||||
}
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
|
||||
{
|
||||
//Avoid touching things that you probably aren't meant to damage
|
||||
if (modifiers.SuperArmor || target.defense > 999 || target.Calamity().DR >= 0.95f || target.Calamity().unbreakableDR)
|
||||
return;
|
||||
|
||||
//Bypass defense
|
||||
modifiers.DefenseEffectiveness *= 0f;
|
||||
|
||||
//Bypass DR
|
||||
modifiers.FinalDamage /= 1f - target.Calamity().DR;
|
||||
}
|
||||
|
||||
public override bool OnTileCollide(Vector2 oldVelocity)
|
||||
{
|
||||
Collision.HitTiles(Projectile.position, Projectile.velocity, Projectile.width, Projectile.height);
|
||||
@@ -67,12 +54,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
if (crit)
|
||||
{
|
||||
var source = Projectile.GetSource_FromThis();
|
||||
int bulletCount = 5;
|
||||
int bulletCount = 8;
|
||||
for (int x = 0; x < bulletCount; x++)
|
||||
{
|
||||
if (Projectile.owner == Main.myPlayer)
|
||||
{
|
||||
CalamityUtils.ProjectileBarrage(source, Projectile.Center, targetPos, x < bulletCount / 2, 500f, 500f, 0f, 500f, 12f, ModContent.ProjectileType<AMR2>(), (int)(Projectile.damage * 0.14), Projectile.knockBack, Projectile.owner);
|
||||
CalamityUtils.ProjectileBarrage(source, Projectile.Center, targetPos, x < bulletCount / 2, 500f, 500f, 0f, 500f, 12f, ModContent.ProjectileType<AMR2>(), (int)(Projectile.damage * 0.13), Projectile.knockBack, Projectile.owner);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user