The Great Evils2 Rebalance, again

This commit is contained in:
CongratsIsTrash committed 2024-06-12 15:07:24 -04:00
1 parent 2f671e9e0f
commit 02278bc5f1
36 files changed
+79 -72

No files matched your search

+5 -5
View File
@@ -631,7 +631,7 @@ namespace CalamityMod
{ NPCID.Creeper, 1800 }, // 0:30 (30 seconds, length of Creepers phase)
{ NPCID.Deerclops, 5400 }, // 1:30 (90 seconds)
{ NPCID.QueenBee, 7200 }, // 2:00 (120 seconds)
{ NPCID.SkeletronHead, 7200 }, // 2:00 (120 seconds)
{ NPCID.SkeletronHead, 9000 }, // 2:30 (150 seconds)
{ NPCID.WallofFlesh, 7200 }, // 2:00 (120 seconds)
{ NPCID.WallofFleshEye, 7200 },
{ NPCID.QueenSlimeBoss, 7200 }, // 2:00 (120 seconds)
@@ -666,10 +666,10 @@ namespace CalamityMod
{ ModContent.NPCType<SplitEbonianPaladin>(), 4500 }, // 1:15 (75 seconds) -- split slimes should spawn at 1:15 and die at around 2:30
{ ModContent.NPCType<SplitCrimulanPaladin>(), 4500 }, // 1:15 (75 seconds)
{ ModContent.NPCType<Cryogen>(), 10800 }, // 3:00 (180 seconds)
{ ModContent.NPCType<AquaticScourgeHead>(), 7200 }, // 2:00 (120 seconds)
{ ModContent.NPCType<AquaticScourgeBody>(), 7200 },
{ ModContent.NPCType<AquaticScourgeBodyAlt>(), 7200 },
{ ModContent.NPCType<AquaticScourgeTail>(), 7200 },
{ ModContent.NPCType<AquaticScourgeHead>(), 9000 }, // 2:30 (150 seconds)
{ ModContent.NPCType<AquaticScourgeBody>(), 9000 },
{ ModContent.NPCType<AquaticScourgeBodyAlt>(), 9000 },
{ ModContent.NPCType<AquaticScourgeTail>(), 9000 },
{ ModContent.NPCType<BrimstoneElemental>(), 10800 }, // 3:00 (180 seconds)
{ ModContent.NPCType<CalamitasClone>(), 14400 }, // 4:00 (240 seconds)
{ ModContent.NPCType<Anahita>(), 10800 }, // 3:00 (180 seconds)
+6 -5
View File
@@ -45,13 +45,14 @@ namespace CalamityMod.Items
{ ItemID.Bananarang, Do(DamageExact(76), UseExact(14)) },
{ ItemID.BatScepter, Do(DamageExact(50)) },
{ ItemID.BeamSword, Do(UseMeleeSpeed, DamageExact(142), UseAnimationExact(45), ShootSpeedExact(23f), KnockbackExact(8)) },
{ ItemID.BeeGun, Do(DamageExact(13), ManaExact(4)) },
{ ItemID.BeeKeeper, Do((UseTurn),DamageExact(32)) },
{ ItemID.BeesKnees, Do(PointBlank, DamageExact(24), UseExact(38)) },
{ ItemID.BeeGun, Do(DamageExact(11), ManaExact(4)) },
{ ItemID.BeeKeeper, Do(UseTurn, DamageExact(32)) },
{ ItemID.Beenade, Do(DamageExact(11), UseTimeExact(22), ShootSpeedExact(10f)) },
{ ItemID.BeesKnees, Do(PointBlank, DamageExact(21), UseExact(38)) },
{ ItemID.Bladetongue, Do(UseTurn, UseRatio(0.8f), DamageExact(120)) },
{ ItemID.BlizzardStaff, Do(DamageExact(41), ManaExact(7)) },
{ ItemID.BloodyMachete, Do(AutoReuse, DamageExact(24)) },
{ ItemID.Blowgun, Do(PointBlank, DamageExact(40)) },
{ ItemID.Blowgun, Do(PointBlank, DamageExact(40), ShootSpeedExact(15f)) },
{ ItemID.BluePhaseblade, Do(AutoReuse, UseTurn, DamageExact(32)) },
{ ItemID.BluePhasesaber, Do(DamageExact(60)) },
{ ItemID.BookofSkulls, Do(ManaExact(12), ShootSpeedExact(5.5f)) },
@@ -127,7 +128,7 @@ namespace CalamityMod.Items
{ ItemID.Handgun, Do(PointBlank, UseExact(22), DamageExact(36)) },
{ ItemID.HellwingBow, Do(PointBlank, DamageExact(16)) },
{ ItemID.HighVelocityBullet, Do(DamageExact(13)) },
{ ItemID.HiveFive, Do(AutoReuse, DamageExact(26)) },
{ ItemID.HiveFive, Do(AutoReuse, DamageExact(27)) },
{ ItemID.HornetStaff, Do(AutoReuse, DamageExact(18), UseExact(30)) },
{ ItemID.IceBlade, Do(UseMeleeSpeed) },
{ ItemID.IceBoomerang, Do(UseExact(25), ShootSpeedExact(9)) },
+2 -2
View File
@@ -22,9 +22,9 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
Item.width = 62;
Item.height = 22;
Item.DamageType = DamageClass.Magic;
Item.damage = 27;
Item.damage = 22;
Item.knockBack = 0f;
Item.useTime = Item.useAnimation = 21;
Item.useTime = Item.useAnimation = 23;
Item.autoReuse = true;
Item.mana = 6;
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
Item.width = 50;
Item.height = 26;
Item.DamageType = DamageClass.Ranged;
Item.damage = 20;
Item.damage = 16;
Item.knockBack = 0f;
Item.useTime = Item.useAnimation = 28;
Item.autoReuse = true;
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
Item.width = 30;
Item.height = 34;
Item.damage = 19;
Item.damage = 16;
Item.DamageType = RogueDamageClass.Instance;
Item.useTime = 40;
Item.useAnimation = 40;
+1 -1
View File
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Magic
{
Item.width = 52;
Item.height = 50;
Item.damage = 25;
Item.damage = 24;
Item.DamageType = DamageClass.Magic;
Item.mana = 10;
Item.useTime = 15;
+2 -2
View File
@@ -35,9 +35,9 @@ namespace CalamityMod.Items.Weapons.Magic
public override void SetDefaults()
{
Item.width = Item.height = 42;
Item.damage = 20;
Item.damage = 19;
Item.shootSpeed = 11f;
Item.useTime = Item.useAnimation = 30;
Item.useTime = Item.useAnimation = 34;
Item.mana = 10;
Item.knockBack = 0f;
+4 -4
View File
@@ -13,11 +13,11 @@ namespace CalamityMod.Items.Weapons.Magic
{
Item.width = 28;
Item.height = 30;
Item.damage = 27;
Item.damage = 23;
Item.DamageType = DamageClass.Magic;
Item.mana = 5;
Item.useTime = 12;
Item.useAnimation = 12;
Item.useTime = 15;
Item.useAnimation = 15;
Item.useStyle = ItemUseStyleID.Shoot;
Item.noMelee = true;
Item.knockBack = 5;
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Magic
Item.UseSound = SoundID.Item7;
Item.autoReuse = true;
Item.shoot = ModContent.ProjectileType<TradewindsProjectile>();
Item.shootSpeed = 25.5f;
Item.shootSpeed = 25f;
}
public override void AddRecipes()
+3 -3
View File
@@ -18,14 +18,14 @@ namespace CalamityMod.Items.Weapons.Melee
{
Item.width = 54;
Item.height = 54;
Item.damage = 37;
Item.damage = 31;
Item.DamageType = DamageClass.Melee;
Item.noMelee = true;
Item.useTurn = true;
Item.noUseGraphic = true;
Item.useAnimation = 28;
Item.useAnimation = 25;
Item.useStyle = ItemUseStyleID.Shoot;
Item.useTime = 28;
Item.useTime = 25;
Item.knockBack = 5.75f;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Melee
{
Item.width = 52;
Item.height = 50;
Item.damage = 47;
Item.damage = 45;
Item.DamageType = DamageClass.Melee;
Item.useAnimation = 41;
Item.useStyle = ItemUseStyleID.Swing;
+1 -1
View File
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Melee
{
Item.width = 58;
Item.height = 58;
Item.damage = 41;
Item.damage = 38;
Item.DamageType = DamageClass.Melee;
Item.useAnimation = 20;
Item.useStyle = ItemUseStyleID.Swing;
+1 -2
View File
@@ -40,8 +40,7 @@ namespace CalamityMod.Items.Weapons.Ranged
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
int projAmt = Main.rand.Next(2, 4);
for (int index = 0; index < projAmt; ++index)
for (int index = 0; index < 2; ++index)
{
float SpeedX = velocity.X + Main.rand.Next(-40, 41) * 0.05f;
float SpeedY = velocity.Y + Main.rand.Next(-40, 41) * 0.05f;
+1 -1
View File
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Ranged
{
Item.width = 58;
Item.height = 22;
Item.damage = 70;
Item.damage = 60;
Item.DamageType = DamageClass.Ranged;
Item.useTime = 60;
Item.useAnimation = 60;
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Ranged
{
Item.width = 76;
Item.height = 30;
Item.damage = 22;
Item.damage = 21;
Item.DamageType = DamageClass.Ranged;
Item.useTime = 10;
Item.useAnimation = 40;
+2 -4
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Weapons.Rogue
Item.noMelee = true;
Item.noUseGraphic = true;
Item.damage = 16;
Item.damage = 18;
Item.useAnimation = Item.useTime = 20;
Item.knockBack = 2f;
Item.autoReuse = true;
@@ -38,14 +38,12 @@ namespace CalamityMod.Items.Weapons.Rogue
Item.rare = ItemRarityID.Orange;
}
public override float StealthDamageMultiplier => 0.80f;
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
if (player.Calamity().StealthStrikeAvailable()) //setting the stealth strike
{
int spread = 6;
for (int i = 0; i < 5; i++)
for (int i = 0; i < 4; i++)
{
Vector2 perturbedspeed = new Vector2(velocity.X + Main.rand.Next(-3, 4), velocity.Y + Main.rand.Next(-3, 4)).RotatedBy(MathHelper.ToRadians(spread));
int proj = Projectile.NewProjectile(source, position, perturbedspeed, type, damage, knockback, player.whoAmI);
+1 -1
View File
@@ -35,7 +35,7 @@ namespace CalamityMod.Items.Weapons.Rogue
Item.DamageType = RogueDamageClass.Instance;
}
public override float StealthDamageMultiplier => 0.9f;
public override float StealthDamageMultiplier => 0.8f;
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
{
+3 -3
View File
@@ -19,13 +19,13 @@ namespace CalamityMod.Items.Weapons.Rogue
{
Item.width = 30;
Item.height = 30;
Item.damage = 26;
Item.damage = 24;
Item.noMelee = true;
Item.consumable = true;
Item.noUseGraphic = true;
Item.useAnimation = 13;
Item.useAnimation = 16;
Item.useStyle = ItemUseStyleID.Swing;
Item.useTime = 13;
Item.useTime = 16;
Item.knockBack = 2.5f;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+3 -3
View File
@@ -19,13 +19,13 @@ namespace CalamityMod.Items.Weapons.Rogue
{
Item.width = 30;
Item.height = 30;
Item.damage = 26;
Item.damage = 24;
Item.noMelee = true;
Item.consumable = true;
Item.noUseGraphic = true;
Item.useAnimation = 13;
Item.useAnimation = 16;
Item.useStyle = ItemUseStyleID.Swing;
Item.useTime = 13;
Item.useTime = 16;
Item.knockBack = 2.5f;
Item.UseSound = SoundID.Item1;
Item.autoReuse = true;
+1 -1
View File
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Rogue
{
Item.width = 14;
Item.height = 14;
Item.damage = 28;
Item.damage = 20;
Item.noMelee = true;
Item.noUseGraphic = true;
Item.useAnimation = 18;
@@ -990,7 +990,7 @@ JellyChargedBattery: {
Tooltip:
'''
Increases your max number of minions by 1, and summon damage by 7%
Minion attacks create electrified orbs
Minion attacks create orbs of static discharge
'''
}
@@ -1951,7 +1951,7 @@ VoltaicJelly: {
Tooltip:
'''
Increases your max number of minions by 1
Minion attacks inflict Electrified
Minion attacks inflict Static Discharge
'''
}
+1 -1
View File
@@ -991,7 +991,7 @@ namespace CalamityMod.NPCs
// Static Discharge
if (staticDischarge > 0)
{
int baseStaticDischargeDoTValue = (int)(8 * (npc.velocity.X == 0 ? 1 : 4) * electricityDamageMult); // 32 on moving targets
int baseStaticDischargeDoTValue = (int)(6 * (npc.velocity.X == 0 ? 1 : 4) * electricityDamageMult); // 24 on moving targets
ApplyDPSDebuff(baseStaticDischargeDoTValue, baseStaticDischargeDoTValue / 15, ref npc.lifeRegen, ref damage);
}
@@ -158,38 +158,38 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
bool handsDead = numHandsAlive == 0;
int numProj = Main.getGoodWorld ? 22 : death ? 5 : 3;
float spread = MathHelper.ToRadians(Main.getGoodWorld ? 180 : 60);
float headSpinVelocityMult = bossRush ? (phase3 ? 18f : 9f) : (phase3 ? 13.5f : 4.5f);
float headSpinVelocityMult = bossRush ? (phase3 ? 18f : 9f) : (phase3 ? 12f : 4.5f);
switch (numHandsAlive)
{
case 0:
numProj = Main.getGoodWorld ? 36 : death ? 9 : 7;
spread = MathHelper.ToRadians(Main.getGoodWorld ? 180 : death ? 90 : 82);
headSpinVelocityMult = bossRush ? (phase3 ? 18f : 12f) : (phase3 ? 13.5f : 6f);
headSpinVelocityMult = bossRush ? (phase3 ? 18f : 12f) : (phase3 ? 12f : 6f);
break;
case 1:
numProj = Main.getGoodWorld ? 27 : death ? 7 : 5;
spread = MathHelper.ToRadians(Main.getGoodWorld ? 150 : death ? 76 : 68);
headSpinVelocityMult = bossRush ? (phase3 ? 15f : 10f) : (phase3 ? 12.75f : 5f);
headSpinVelocityMult = bossRush ? (phase3 ? 15f : 10f) : (phase3 ? 11.5f : 5f);
break;
case 2:
numProj = Main.getGoodWorld ? 18 : death ? 6 : 4;
spread = MathHelper.ToRadians(Main.getGoodWorld ? 140 : death ? 70 : 62);
headSpinVelocityMult = bossRush ? (phase3 ? 13.5f : 9f) : (phase3 ? 12f : 4.5f);
headSpinVelocityMult = bossRush ? (phase3 ? 13.5f : 9f) : (phase3 ? 11f : 4.5f);
break;
case 3:
numProj = Main.getGoodWorld ? 15 : death ? 5 : 3;
spread = MathHelper.ToRadians(Main.getGoodWorld ? 130 : death ? 64 : 56);
headSpinVelocityMult = bossRush ? (phase3 ? 12f : 8f) : (phase3 ? 11.25f : 4f);
headSpinVelocityMult = bossRush ? (phase3 ? 12f : 8f) : (phase3 ? 10.5f : 4f);
break;
case 4:
numProj = Main.getGoodWorld ? 12 : death ? 4 : 3;
spread = MathHelper.ToRadians(Main.getGoodWorld ? 120 : 56);
headSpinVelocityMult = bossRush ? (phase3 ? 10.5f : 7f) : (phase3 ? 10.5f : 3.5f);
headSpinVelocityMult = bossRush ? (phase3 ? 10f : 7f) : (phase3 ? 10f : 3.5f);
break;
}
@@ -363,7 +363,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
}
// Teleport
if (Main.netMode != NetmodeID.MultiplayerClient && npc.ai[3] >= teleportGateValue + 120)
if (Main.netMode != NetmodeID.MultiplayerClient && npc.ai[3] >= teleportGateValue + 120 && !(npc.ai[1] == 1f && phase3))
{
// Teleport dust
for (int m = 0; m < 30; m++)
@@ -449,7 +449,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
if (masterMode)
forcedMoveAwayTime *= 0.5f;
float canChargeDistance = phase3 ? 640f : 320f; // 20 tile distance, 40 tile distance in phase 3
float canChargeDistance = phase3 ? 480f : 320f; // 20 tile distance, 30 tile distance in phase 3
bool hasMovedForcedDistance = npc.localAI[2] >= forcedMoveAwayTime;
bool canCharge = Vector2.Distance(Main.player[npc.target].Center, npc.Center) >= canChargeDistance;
bool charge = npc.ai[2] >= chargePhaseGateValue && canCharge;
@@ -489,7 +489,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
{
if (!canCharge || !hasMovedForcedDistance)
{
float phase5Multiplier = 1.5f;
float phase5Multiplier = 1.33f;
float maxVelocity = (npc.ai[2] - moveAwayGateValue) * (moveAwayVelocity * 0.008f);
if (phase5)
maxVelocity *= phase5Multiplier;
+2 -2
View File
@@ -47,7 +47,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
Projectile.ownerHitCheck = true;
Projectile.DamageType = DamageClass.Ranged;
Projectile.usesLocalNPCImmunity = true;
Projectile.localNPCHitCooldown = 6;
Projectile.localNPCHitCooldown = 8;
}
public override void AI()
@@ -119,7 +119,7 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
{
target.AddBuff(ModContent.BuffType<StaticDischarge>(), 180);
target.AddBuff(ModContent.BuffType<StaticDischarge>(), 120);
if (AIState == TaserAIState.Firing)
{
@@ -25,8 +25,8 @@ namespace CalamityMod.Projectiles.DraedonsArsenal
set => Projectile.ai[1] = value;
}
public const int LaserFireRate = 20;
public const int LaserFireRateStealth = 16;
public const int LaserFireRate = 22;
public const int LaserFireRateStealth = 18;
public const int MaxLaserCountPerShot = 4; // This only applies to stealth strikes.
public const float MaxTargetSearchDistance = 480f;
public const float MaxTargetSearchStealth = 800f;
@@ -35,7 +35,7 @@ namespace CalamityMod.Projectiles.Melee.Spears
Dust.NewDust(Projectile.position + Projectile.velocity, Projectile.width, Projectile.height, DustID.BlueTorch, Projectile.velocity.X * 0.5f, Projectile.velocity.Y * 0.5f);
Projectile.localAI[0] += 1f;
if (Projectile.localAI[0] >= 6f)
if (Projectile.localAI[0] >= 7f)
{
Projectile.localAI[0] = 0f;
if (Main.myPlayer == Projectile.owner)
@@ -26,7 +26,7 @@ namespace CalamityMod.Projectiles.Melee.Spears
public override float InitialSpeed => 3f;
public override float ReelbackSpeed => 1.1f;
public override float ForwardSpeed => 0.8f;
public override float ForwardSpeed => 0.9f;
public override void ExtraBehavior()
{
if (Main.rand.NextBool(5))
Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 909 B

+1 -2
View File
@@ -18,7 +18,6 @@ namespace CalamityMod.Projectiles.Ranged
Projectile.penetrate = 1;
Projectile.timeLeft = 300;
Projectile.aiStyle = ProjAIStyleID.Arrow;
Projectile.extraUpdates = 1;
Projectile.Calamity().pointBlankShotDuration = CalamityGlobalProjectile.DefaultPointBlankDuration;
}
@@ -36,7 +35,7 @@ namespace CalamityMod.Projectiles.Ranged
for (int i = 0; i < projAmt; i++)
{
Vector2 velocity = CalamityUtils.RandomVelocity(100f, 70f, 100f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity, ModContent.ProjectileType<AquashardSplit>(), (int)(Projectile.damage * 0.6), 0f, Projectile.owner);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity, ModContent.ProjectileType<AquashardSplit>(), (int)(Projectile.damage * 0.5f), 0f, Projectile.owner);
}
}
}
+1 -1
View File
@@ -26,7 +26,7 @@ namespace CalamityMod.Projectiles.Ranged
Projectile.MaxUpdates = 3;
Projectile.timeLeft = Lifetime; // 20 effectively
Projectile.usesIDStaticNPCImmunity = true;
Projectile.idStaticNPCHitCooldown = 10;
Projectile.idStaticNPCHitCooldown = 12;
}
public override void AI()
+1 -1
View File
@@ -32,7 +32,7 @@ namespace CalamityMod.Projectiles.Rogue
public override void AI()
{
if (Projectile.timeLeft % 35 == 0)
if (Projectile.timeLeft % 15 == 0)
{
if (Projectile.owner == Main.myPlayer)
{
+2 -2
View File
@@ -84,7 +84,7 @@ namespace CalamityMod.Projectiles.Rogue
Vector2 shardVelocity = CalamityUtils.RandomVelocity(100f, 35f, 55f);
//Spawn the projectile
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, shardVelocity, ModContent.ProjectileType<HoneycombFragment>(), Projectile.damage, Projectile.knockBack, Projectile.owner, Main.rand.Next(3), 0f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, shardVelocity, ModContent.ProjectileType<HoneycombFragment>(), (int)(Projectile.damage * 0.8f), Projectile.knockBack, Projectile.owner, Main.rand.Next(3), 0f);
}
if (Projectile.Calamity().stealthStrike)
{
@@ -92,7 +92,7 @@ namespace CalamityMod.Projectiles.Rogue
for (int j = 0; j < beeAmt; j++)
{
Vector2 beeVelocity = CalamityUtils.RandomVelocity(100f, 35f, 55f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, beeVelocity, player.beeType(), player.beeDamage(Projectile.damage), player.beeKB(0.25f), player.whoAmI);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, beeVelocity, player.beeType(), player.beeDamage((int)(Projectile.damage * 0.8f)), player.beeKB(0.25f), player.whoAmI);
}
}
}
+1 -1
View File
@@ -23,7 +23,7 @@ namespace CalamityMod.Projectiles.Rogue
AIType = ProjectileID.ThrowingKnife;
Projectile.DamageType = RogueDamageClass.Instance;
Projectile.usesLocalNPCImmunity = true;
Projectile.localNPCHitCooldown = 10;
Projectile.localNPCHitCooldown = 30;
}
public override bool PreDraw(ref Color lightColor)
+1 -1
View File
@@ -93,7 +93,7 @@ namespace CalamityMod.Projectiles.Rogue
}
}
}
if (projCount > 2)
if (projCount >= 5)
{
Main.projectile[oldestCloud].netUpdate = true;
Main.projectile[oldestCloud].ai[1] = 36000f;
+1 -1
View File
@@ -22,7 +22,7 @@ namespace CalamityMod.Projectiles.Rogue
Projectile.timeLeft = 600;
AIType = ProjectileID.ThrowingKnife;
Projectile.DamageType = RogueDamageClass.Instance;
Projectile.localNPCHitCooldown = 10;
Projectile.localNPCHitCooldown = 30;
}
public override bool PreDraw(ref Color lightColor)
+3 -3
View File
@@ -47,7 +47,7 @@ namespace CalamityMod.Projectiles.Rogue
{
if (Projectile.timeLeft % 14 == 0)
{
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType<TurbulanceWindSlash>(), Projectile.damage, Projectile.knockBack / 2, Projectile.owner, 1f, 1f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, Vector2.Zero, ModContent.ProjectileType<TurbulanceWindSlash>(), (int)(Projectile.damage * 0.75f), Projectile.knockBack / 2, Projectile.owner, 1f, 1f);
}
}
}
@@ -62,7 +62,7 @@ namespace CalamityMod.Projectiles.Rogue
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
{
OnHitEffects(hit.Crit);
OnHitEffects(hit.Crit || Main.rand.NextBool(3));
}
public override void OnHitPlayer(Player target, Player.HurtInfo info)
@@ -80,7 +80,7 @@ namespace CalamityMod.Projectiles.Rogue
{
if (Projectile.owner == Main.myPlayer)
{
for (int w = 0; w < 4; w++)
for (int w = 0; w < 3; w++)
{
Vector2 velocity = CalamityUtils.RandomVelocity(100f, 70f, 100f);
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity, ModContent.ProjectileType<TurbulanceWindSlash>(), Projectile.damage / 3, Projectile.knockBack / 3, Main.myPlayer, 0f, homeIn ? 1f : 0f);
+10
View File
@@ -791,6 +791,7 @@ namespace CalamityMod.Systems
{ Vanilla(ItemID.WormFood), WormFoodRecipeEdit },
{ Vanilla(ItemID.BloodySpine), BloodySpineRecipeEdit },
{ Vanilla(ItemID.GoblinBattleStandard), ChangeIngredientStack(ItemID.TatteredCloth, 5) },
{ Vanilla(ItemID.Beenade), BeenadeRecipeEdit },
{ Vanilla(ItemID.ChlorophyteBar), ChangeIngredientStack(ItemID.ChlorophyteOre, 4) },
{ Vanilla(ItemID.OrichalcumAnvil), ChangeIngredientStack(ItemID.OrichalcumBar, 10) },
{ Vanilla(ItemID.ShroomiteBar), ChangeIngredientStack(ItemID.GlowingMushroom, 5) },
@@ -944,6 +945,15 @@ namespace CalamityMod.Systems
r.ChangeIngredientStack(ItemID.BottledWater, intendedStack);
}
// Increases Beenade's recipe to use 4 Grenades and yield 4 Beenades
private static void BeenadeRecipeEdit(Recipe r)
{
int intendedStack = 4;
if (r.createItem.stack < intendedStack)
r.createItem.stack = intendedStack;
r.ChangeIngredientStack(ItemID.Grenade, intendedStack);
}
// Change True Night's Edge recipe to require far less mech boss souls
private static void TrueNightsEdgeRecipeEdit(Recipe r)
{