Merge branch '1.4.4' into ButcherRework
No files matched your search
@@ -264,6 +264,9 @@ namespace CalamityMod.Balancing
|
||||
// 50% resist to true melee.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.AstrumDeusIDs, Do(ResistTrueMelee(0.5f))));
|
||||
|
||||
// 35% resist to Ballistic Poison Bomb's clouds.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.AstrumDeusIDs, Do(new ProjectileResistBalancingRule(0.65f, ProjectileType<BallisticPoisonCloud>()))));
|
||||
|
||||
// 35% resist to Icicle Arrows.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(CalamityLists.AstrumDeusIDs, Do(new ProjectileResistBalancingRule(0.65f, ProjectileType<IcicleArrowProj>()))));
|
||||
|
||||
|
||||
@@ -16,6 +16,23 @@
|
||||
// Altered jump speed boost provided by Shiny Red Balloon via IL edit
|
||||
// This is a const because it replaces a hardcoded value in vanilla
|
||||
internal const float BalloonJumpSpeedBoost = 0.75f;
|
||||
|
||||
// Default jump speed boost provided by Frog Leg and tinker combinations in vanilla
|
||||
internal const float VanillaFrogLegJumpSpeedBoost = 1.6f;
|
||||
|
||||
// Altered jump speed boost provided by Amphibian Boots via global item UpdateAccessory
|
||||
internal static readonly float AmphibianBootsJumpSpeedBoost = 1f;
|
||||
|
||||
// Altered movement stats provided by Shadow Armor via IL edit
|
||||
// This item is modified to not stack with Magiluminescence if on the ground. If in the air, it still functions.
|
||||
internal static readonly float ShadowArmorRunAccelerationMultiplier = 1.25f; // Vanilla and Magi = 1.75f
|
||||
internal static readonly float ShadowArmorMaxRunSpeedMultiplier = 1.05f; // Vanilla and Magi = 1.15f
|
||||
internal static readonly float ShadowArmorAccRunSpeedMultiplier = 1.05f; // Vanilla and Magi = 1.15f
|
||||
internal static readonly float ShadowArmorRunSlowdownMultiplier = 1.5f; // Vanilla and Magi = 1.75f
|
||||
|
||||
// Altered run acceleration multiplier provided by Soaring Insignia via IL edit
|
||||
// This is a const because it replaces a hardcoded value in vanilla
|
||||
internal const float SoaringInsigniaRunAccelerationMultiplier = 1.1f; // Vanilla = 1.75f
|
||||
#endregion
|
||||
|
||||
#region Immunity Frames
|
||||
|
||||
@@ -36,15 +36,18 @@ namespace CalamityMod.Buffs.DamageOverTime
|
||||
|
||||
float numberOfDusts = 2f;
|
||||
float rotFactor = 360f / numberOfDusts;
|
||||
int particleAmt = Player.Calamity().alchFlask ? 1 : 2;
|
||||
int dustSpawnAmt = Player.Calamity().alchFlask ? 4 : 7;
|
||||
if (Player.miscCounter % 4 == 0)
|
||||
{
|
||||
for (int i = 0; i < 2; i++)
|
||||
for (int i = 0; i < particleAmt; i++)
|
||||
{
|
||||
DirectionalPulseRing pulse = new DirectionalPulseRing(Player.Calamity().RandomDebuffVisualSpot, Vector2.Zero, Main.rand.NextBool(3) ? Color.LimeGreen : Color.Green, new Vector2(1, 1), 0, Main.rand.NextFloat(0.07f, 0.18f), 0f, 35);
|
||||
float pulseScale = Main.rand.NextFloat(Player.Calamity().alchFlask ? 0.04f : 0.07f, Player.Calamity().alchFlask ? 0.12f : 0.18f);
|
||||
DirectionalPulseRing pulse = new DirectionalPulseRing(Player.Calamity().RandomDebuffVisualSpot, Vector2.Zero, Main.rand.NextBool(3) ? Color.LimeGreen : Color.Green, Vector2.One, 0, pulseScale, 0f, 20);
|
||||
GeneralParticleHandler.SpawnParticle(pulse);
|
||||
}
|
||||
|
||||
for (int i = 0; i < 7; i++)
|
||||
for (int i = 0; i < dustSpawnAmt; i++)
|
||||
{
|
||||
int DustID = Main.rand.NextBool(30) ? 220 : 89;
|
||||
float rot = MathHelper.ToRadians(i * rotFactor);
|
||||
@@ -62,7 +65,7 @@ namespace CalamityMod.Buffs.DamageOverTime
|
||||
Vector2 npcSize = npc.Center + new Vector2(Main.rand.NextFloat(-npc.width / 2, npc.width / 2), Main.rand.NextFloat(-npc.height / 2, npc.height / 2));
|
||||
if (Main.rand.NextBool(3))
|
||||
{
|
||||
DirectionalPulseRing pulse = new DirectionalPulseRing(npcSize, Vector2.Zero, Main.rand.NextBool(3) ? Color.LimeGreen : Color.Green, new Vector2(1, 1), 0, Main.rand.NextFloat(0.07f, 0.18f) + (0.0000007f * npc.width * npc.height), 0f, 35);
|
||||
DirectionalPulseRing pulse = new DirectionalPulseRing(npcSize, Vector2.Zero, Main.rand.NextBool(3) ? Color.LimeGreen : Color.Green, new Vector2(1, 1), 0, Main.rand.NextFloat(0.07f, 0.18f) + (0.0000007f * npc.width * npc.height), 0f, 15);
|
||||
GeneralParticleHandler.SpawnParticle(pulse);
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
|
||||
@@ -6,7 +6,7 @@ namespace CalamityMod.Buffs.Placeables
|
||||
{
|
||||
public class CirrusPurpleCandleBuff : ModBuff
|
||||
{
|
||||
public static float DefenseRatioBonus = 0.15f;
|
||||
public static float DefenseRatioBonus = 0.1f;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -508,6 +508,7 @@ namespace CalamityMod.CalPlayer
|
||||
public bool ascendantTrail = false;
|
||||
public bool eGauntlet = false;
|
||||
public int gloveLevel = 0; // Used to prevent glove stacking
|
||||
public bool alreadyHasFrogLeg = false; // Used to prevent Frog Leg tinker stacking
|
||||
public bool eTalisman = false;
|
||||
public int statisTimer = 0;
|
||||
public bool nucleogenesis = false;
|
||||
@@ -1705,6 +1706,7 @@ namespace CalamityMod.CalPlayer
|
||||
ascendantTrail = false;
|
||||
eGauntlet = false;
|
||||
gloveLevel = 0;
|
||||
alreadyHasFrogLeg = false;
|
||||
eTalisman = false;
|
||||
nucleogenesis = false;
|
||||
nuclearFuelRod = false;
|
||||
@@ -4385,13 +4387,7 @@ namespace CalamityMod.CalPlayer
|
||||
Player.blockExtraJumps = true;
|
||||
|
||||
Player.rocketBoots = 0;
|
||||
Player.jumpBoost = false;
|
||||
Player.slowFall = false;
|
||||
Player.gravControl = false;
|
||||
Player.gravControl2 = false;
|
||||
Player.jumpSpeedBoost = 0f;
|
||||
Player.wingTimeMax = (int)(Player.wingTimeMax * 0.5);
|
||||
Player.balloon = -1;
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -1172,6 +1172,8 @@ namespace CalamityMod.CalPlayer
|
||||
if (crawCarapace)
|
||||
{
|
||||
npc.AddBuff(ModContent.BuffType<Crumbling>(), 900);
|
||||
int onHitDamage = Player.CalcIntDamage<GenericDamageClass>(40);
|
||||
Player.ApplyDamageToNPC(npc, onHitDamage, 0f, 0, false);
|
||||
SoundEngine.PlaySound(SoundID.NPCHit33 with { Volume = 0.5f }, Player.Center);
|
||||
}
|
||||
|
||||
@@ -1179,6 +1181,8 @@ namespace CalamityMod.CalPlayer
|
||||
{
|
||||
npc.AddBuff(ModContent.BuffType<ArmorCrunch>(), 900);
|
||||
npc.AddBuff(ModContent.BuffType<CrushDepth>(), 900);
|
||||
int onHitDamage = Player.CalcIntDamage<GenericDamageClass>(250);
|
||||
Player.ApplyDamageToNPC(npc, onHitDamage, 0f, 0, false);
|
||||
SoundEngine.PlaySound(BaroclawHit, Player.Center);
|
||||
Vector2 bloodSpawnPosition = Player.Center + Main.rand.NextVector2Circular(Player.width, Player.height) * 0.04f;
|
||||
Vector2 splatterDirection = (Player.Center - bloodSpawnPosition).SafeNormalize(Vector2.UnitY);
|
||||
@@ -1198,6 +1202,8 @@ namespace CalamityMod.CalPlayer
|
||||
if (absorber)
|
||||
{
|
||||
npc.AddBuff(ModContent.BuffType<AbsorberAffliction>(), 900);
|
||||
int onHitDamage = Player.CalcIntDamage<GenericDamageClass>(350);
|
||||
Player.ApplyDamageToNPC(npc, onHitDamage, 0f, 0, false);
|
||||
SoundEngine.PlaySound(AbsorberHit, Player.Center);
|
||||
Vector2 bloodSpawnPosition = Player.Center + Main.rand.NextVector2Circular(Player.width, Player.height) * 0.04f;
|
||||
Vector2 splatterDirection = (Player.Center - bloodSpawnPosition).SafeNormalize(Vector2.UnitY);
|
||||
@@ -1233,13 +1239,13 @@ namespace CalamityMod.CalPlayer
|
||||
if (Main.player[proj.owner] is null)
|
||||
{
|
||||
if (!Main.npc[proj.owner].friendly)
|
||||
Main.npc[proj.owner].AddBuff(BuffID.Poisoned, 120);
|
||||
Main.npc[proj.owner].AddBuff(BuffID.Poisoned, 60);
|
||||
}
|
||||
else
|
||||
{
|
||||
Player p = Main.player[proj.owner];
|
||||
if (p.hostile && Player.hostile && (Player.team != p.team || p.team == 0))
|
||||
p.AddBuff(BuffID.Poisoned, 120);
|
||||
p.AddBuff(BuffID.Poisoned, 60);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1672,7 +1678,7 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
if (blazingCoreParry > 0) //check for active parry
|
||||
{
|
||||
if (blazingCoreParry >= 18) //only the first 12 frames (0.2 seconds) counts for a valid parry
|
||||
if (blazingCoreParry >= 12) //only the first 18 frames (0.3 seconds) counts for a valid parry
|
||||
{
|
||||
if (!Player.HasCooldown(ParryCooldown.ID))
|
||||
{
|
||||
@@ -1696,7 +1702,7 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
else if (flameLickedShellParry > 0)
|
||||
{
|
||||
if (flameLickedShellParry >= 18)
|
||||
if (flameLickedShellParry >= 12)
|
||||
{
|
||||
if (!Player.HasCooldown(ParryCooldown.ID))
|
||||
{
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace CalamityMod.CalPlayer
|
||||
ApplyDoTDebuff(vHex, 35);
|
||||
ApplyDoTDebuff(cDepth, 18, purity);
|
||||
ApplyDoTDebuff(astralInfection, 24, infectedJewel || purity);
|
||||
ApplyDoTDebuff(pFlames, 30, purity);
|
||||
ApplyDoTDebuff(pFlames, alchFlask ? 10 : 30, purity);
|
||||
ApplyDoTDebuff(cragsLava, 30);
|
||||
ApplyDoTDebuff(shadowflame, 30, purity);
|
||||
// Profaned Soul Crystal turns you into Providence, a God, and you take more damage from God Slayer Inferno
|
||||
@@ -423,8 +423,8 @@ namespace CalamityMod.CalPlayer
|
||||
if (rOoze || aAmpoule || purity)
|
||||
{
|
||||
float missingLifeRatio = (Player.statLifeMax2 - Player.statLife) / Player.statLifeMax2;
|
||||
//Ambrosial Ampule and ooze give between 2 and 6 hp/s, Purity gives between 3 and 7 hp/s
|
||||
float lifeRegenToGive = MathHelper.Lerp(purity ? 6f : 4f, purity ? 14f : 12f, missingLifeRatio);
|
||||
//Ambrosial Ampule and ooze give between 2 and 6 hp/s
|
||||
float lifeRegenToGive = MathHelper.Lerp(4f, 12f, missingLifeRatio);
|
||||
Player.lifeRegen += (int)lifeRegenToGive;
|
||||
}
|
||||
|
||||
@@ -586,13 +586,6 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// TODO -- Why is this here?
|
||||
if (weakPetrification)
|
||||
{
|
||||
if (Player.mount.Active)
|
||||
Player.mount.Dismount(Player);
|
||||
}
|
||||
#endregion
|
||||
|
||||
// Chalice of the Blood God bleedout
|
||||
|
||||
@@ -310,9 +310,9 @@ namespace CalamityMod.CalPlayer
|
||||
SparkParticle spark2 = new SparkParticle(Player.Center + Player.velocity.RotatedBy(-2f * Player.direction) * 1.5f, SparkVelocity2, false, Main.rand.Next(11, 13), sparkscale, Main.rand.NextBool() ? Color.DarkOrange : Color.OrangeRed);
|
||||
GeneralParticleHandler.SpawnParticle(spark2);
|
||||
|
||||
if (Player.miscCounter % 5 == 0 && Player.velocity != Vector2.Zero) //every other frame spawn the hitbox
|
||||
if (Player.miscCounter % 6 == 0 && Player.velocity != Vector2.Zero)
|
||||
{
|
||||
int damage = Player.ApplyArmorAccDamageBonusesTo(Player.GetBestClassDamage().ApplyTo(175));
|
||||
int damage = Player.ApplyArmorAccDamageBonusesTo(Player.GetBestClassDamage().ApplyTo(170));
|
||||
Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center + Player.velocity * 1.5f, Vector2.Zero, ModContent.ProjectileType<PauldronDash>(), damage, 10f, Player.whoAmI);
|
||||
}
|
||||
}
|
||||
@@ -2581,10 +2581,13 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
|
||||
if (crawCarapace)
|
||||
Player.GetDamage<GenericDamageClass>() += 0.05f;
|
||||
Player.GetDamage<GenericDamageClass>() += 0.07f;
|
||||
|
||||
if (baroclaw)
|
||||
{
|
||||
Player.endurance += 0.05f;
|
||||
Player.GetDamage<GenericDamageClass>() += 0.1f;
|
||||
}
|
||||
|
||||
if (aeroStone && !Player.slowFall && Player.wingTime < Player.wingTimeMax)
|
||||
{
|
||||
@@ -2819,7 +2822,7 @@ namespace CalamityMod.CalPlayer
|
||||
(harpyRing ? 0.2 : 0D) +
|
||||
(reaverSpeed ? 0.1 : 0D) +
|
||||
(angelTreads ? 0.1 : 0D) +
|
||||
(blueCandle ? 0.1 : 0D) +
|
||||
(blueCandle ? 0.05 : 0D) +
|
||||
(soaring ? 0.1 : 0D) +
|
||||
(prismaticGreaves ? 0.1 : 0D) +
|
||||
(plagueReaper ? 0.05 : 0D) +
|
||||
@@ -2827,7 +2830,7 @@ namespace CalamityMod.CalPlayer
|
||||
(Player.empressBrooch ? 0.25 : 0D);
|
||||
|
||||
if (blueCandle)
|
||||
Player.moveSpeed += 0.1f;
|
||||
Player.moveSpeed += 0.05f;
|
||||
|
||||
if (community)
|
||||
{
|
||||
@@ -2915,15 +2918,17 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
|
||||
if (wDeath && !purity)
|
||||
Player.GetDamage<GenericDamageClass>() -= 0.25f;
|
||||
Player.GetDamage<GenericDamageClass>() -= 0.2f;
|
||||
|
||||
if (astralInfection && !(infectedJewel || purity))
|
||||
Player.GetDamage<GenericDamageClass>() -= 0.15f;
|
||||
Player.GetDamage<GenericDamageClass>() -= 0.1f;
|
||||
|
||||
if (pFlames && !purity)
|
||||
{
|
||||
Player.blind = true;
|
||||
Player.GetDamage<GenericDamageClass>() -= 0.15f;
|
||||
if (!alchFlask)
|
||||
Player.blind = true;
|
||||
|
||||
Player.GetDamage<GenericDamageClass>() -= 0.1f;
|
||||
}
|
||||
|
||||
if (aCrunch && !laudanum && !purity)
|
||||
|
||||
@@ -1266,7 +1266,7 @@ namespace CalamityMod.CalPlayer
|
||||
if (omegaBlueChestplate)
|
||||
target.AddBuff(BuffType<CrushDepth>(), 180);
|
||||
if (sulphurSet)
|
||||
target.AddBuff(BuffID.Poisoned, 120);
|
||||
target.AddBuff(BuffID.Poisoned, 60);
|
||||
if (abyssalAmulet)
|
||||
{
|
||||
CalamityUtils.Inflict246DebuffsNPC(target, BuffType<RiptideDebuff>());
|
||||
|
||||
@@ -901,9 +901,9 @@ namespace CalamityMod
|
||||
enemyImmunityList = new List<int>()
|
||||
{
|
||||
NPCID.KingSlime,
|
||||
NPCType<KingSlimeJewel>(),
|
||||
NPCType<KingSlimeJewel2>(),
|
||||
NPCType<KingSlimeJewel3>(),
|
||||
NPCType<KingSlimeJewelRuby>(),
|
||||
NPCType<KingSlimeJewelSapphire>(),
|
||||
NPCType<KingSlimeJewelEmerald>(),
|
||||
NPCID.EaterofWorldsHead,
|
||||
NPCID.EaterofWorldsBody,
|
||||
NPCID.EaterofWorldsTail,
|
||||
@@ -2428,9 +2428,9 @@ namespace CalamityMod
|
||||
{ NPCID.UmbrellaSlime, 5400 },
|
||||
{ NPCID.RainbowSlime, 30000 },
|
||||
{ NPCID.Pinky, 15000 },
|
||||
{ NPCType<KingSlimeJewel>(), 21000 },
|
||||
{ NPCType<KingSlimeJewel2>(), 18000 },
|
||||
{ NPCType<KingSlimeJewel3>(), 24000 },
|
||||
{ NPCType<KingSlimeJewelRuby>(), 21000 },
|
||||
{ NPCType<KingSlimeJewelSapphire>(), 18000 },
|
||||
{ NPCType<KingSlimeJewelEmerald>(), 24000 },
|
||||
|
||||
{ NPCID.EyeofCthulhu, 450000 }, // 30 seconds
|
||||
{ NPCID.ServantofCthulhu, 6000 },
|
||||
|
||||
@@ -295,7 +295,7 @@ namespace CalamityMod
|
||||
EnemyStats.ContactDamageValues = new SortedDictionary<int, int[]>
|
||||
{
|
||||
{ NPCID.KingSlime, new int[] { 40, 64, 80, 96, 144 } },
|
||||
{ ModContent.NPCType<KingSlimeJewel3>(), new int[] { 30, 44, 60, 76, 114 } },
|
||||
{ ModContent.NPCType<KingSlimeJewelEmerald>(), new int[] { 30, 44, 60, 76, 114 } },
|
||||
|
||||
{ ModContent.NPCType<DesertScourgeHead>(), new int[] { 45, 66, 88, 110, 165 } },
|
||||
{ ModContent.NPCType<DesertScourgeBody>(), new int[] { 24, 32, 40, 48, 72 } },
|
||||
@@ -561,7 +561,7 @@ namespace CalamityMod
|
||||
|
||||
EnemyStats.ProjectileDamageValues = new SortedDictionary<Tuple<int, int>, int[]>
|
||||
{
|
||||
{ new Tuple<int, int>(ModContent.NPCType<KingSlimeJewel>(), ModContent.ProjectileType<JewelProjectile>()), new int[] { 26, 36, 44, 52, 84 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<KingSlimeJewelRuby>(), ModContent.ProjectileType<JewelProjectile>()), new int[] { 26, 36, 44, 52, 84 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DesertScourgeHead>(), ModContent.ProjectileType<DesertScourgeSpit>()), new int[] { 26, 36, 44, 52, 84 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DesertNuisanceHeadYoung>(), ModContent.ProjectileType<DesertScourgeSpit>()), new int[] { 26, 36, 44, 52, 84 } },
|
||||
@@ -656,7 +656,7 @@ namespace CalamityMod
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 144, 216 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneRay>()), new int[] { 120, 200, 240, 280, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneRay>()), new int[] { 120, 200, 240, 280, 420 } }, // Split shots: 72, 120, 144, 168, 252
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 144, 216 } },
|
||||
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace CalamityMod.Enums
|
||||
{
|
||||
public enum NPCTargetType
|
||||
{
|
||||
Anyone = 0,
|
||||
PreferSame = 1,
|
||||
ForceSwitch = 2,
|
||||
}
|
||||
}
|
||||
@@ -150,8 +150,8 @@ namespace CalamityMod.Events
|
||||
DownedBossSystem.startedBossRushAtLeastOnce = true;
|
||||
},
|
||||
permittedNPCs: new int[] { NPCID.BlueSlime, NPCID.YellowSlime, NPCID.PurpleSlime, NPCID.RedSlime, NPCID.GreenSlime, NPCID.RedSlime,
|
||||
NPCID.IceSlime, NPCID.UmbrellaSlime, NPCID.Pinky, NPCID.SlimeSpiked, NPCID.RainbowSlime, ModContent.NPCType<KingSlimeJewel>(),
|
||||
ModContent.NPCType<KingSlimeJewel2>(), ModContent.NPCType<KingSlimeJewel3>() }),
|
||||
NPCID.IceSlime, NPCID.UmbrellaSlime, NPCID.Pinky, NPCID.SlimeSpiked, NPCID.RainbowSlime, ModContent.NPCType<KingSlimeJewelRuby>(),
|
||||
ModContent.NPCType<KingSlimeJewelSapphire>(), ModContent.NPCType<KingSlimeJewelEmerald>() }),
|
||||
|
||||
new Boss(ModContent.NPCType<DesertScourgeHead>(), spawnContext: type =>
|
||||
{
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.ILEditing
|
||||
|
||||
#endregion
|
||||
|
||||
#region Soaring Insignia Changes
|
||||
#region Remove Soaring Insignia Infinite Flight
|
||||
private static void RemoveSoaringInsigniaInfiniteWingTime(ILContext il)
|
||||
{
|
||||
// Prevent the infinite flight effect.
|
||||
@@ -42,34 +42,6 @@ namespace CalamityMod.ILEditing
|
||||
cursor.Emit(OpCodes.Ldc_I4_0);
|
||||
cursor.Emit(OpCodes.And);
|
||||
}
|
||||
|
||||
private static void NerfSoaringInsigniaRunAcceleration(ILContext il)
|
||||
{
|
||||
// Nerf the run acceleration boost from 1.75x to 1.1x.
|
||||
var cursor = new ILCursor(il);
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdfld<Player>("empressBrooch")))
|
||||
{
|
||||
LogFailure("Soaring Insignia Mobility Nerf", "Could not locate the Soaring Insignia bool.");
|
||||
return;
|
||||
}
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchLdcR4(1.75f)))
|
||||
{
|
||||
LogFailure("Soaring Insignia Mobility Nerf", "Could not locate the Soaring Insignia run acceleration multiplier.");
|
||||
return;
|
||||
}
|
||||
cursor.Next.Operand = 1.1f;
|
||||
|
||||
// Prevent the rocket boots infinite flight effect.
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdfld<Player>("empressBrooch")))
|
||||
{
|
||||
LogFailure("Soaring Insignia Mobility Nerf", "Could not locate the Soaring Insignia bool.");
|
||||
return;
|
||||
}
|
||||
|
||||
// AND with 0 (false) so that the Soaring Insignia is never considered equipped and thus infinite rocket boots never triggers.
|
||||
cursor.Emit(OpCodes.Ldc_I4_0);
|
||||
cursor.Emit(OpCodes.And);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Jump Height Changes
|
||||
@@ -258,6 +230,78 @@ namespace CalamityMod.ILEditing
|
||||
cursor.Emit(OpCodes.Ldc_R4, iceSkateTopSpeed);
|
||||
}
|
||||
}
|
||||
|
||||
private static void NerfOverpoweredRunAccelerationSources(ILContext il)
|
||||
{
|
||||
// First: Soaring Insignia. Find the check for whether it's equipped for run speeds.
|
||||
var cursor = new ILCursor(il);
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdfld<Player>("empressBrooch")))
|
||||
{
|
||||
LogFailure("Run Acceleration Nerfs", "Could not locate the Soaring Insignia bool.");
|
||||
return;
|
||||
}
|
||||
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchLdcR4(1.75f)))
|
||||
{
|
||||
LogFailure("Run Acceleration Nerfs", "Could not locate the Soaring Insignia run acceleration multiplier.");
|
||||
return;
|
||||
}
|
||||
cursor.Next.Operand = BalancingConstants.SoaringInsigniaRunAccelerationMultiplier;
|
||||
|
||||
// Second: Magiluminescence. Find the check for whether it's equipped for run speeds.
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdfld<Player>("hasMagiluminescence")))
|
||||
{
|
||||
LogFailure("Run Acceleration Nerfs", "Could not locate the Magiluminescence bool.");
|
||||
return;
|
||||
}
|
||||
|
||||
//
|
||||
// Don't actually do anything. Magiluminescence is not intended to be nerfed by Calamity.
|
||||
//
|
||||
|
||||
// Third: Shadow Armor. Find the check for whether it's equipped for run speeds.
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdfld<Player>("shadowArmor")))
|
||||
{
|
||||
LogFailure("Run Acceleration Nerfs", "Could not locate the Shadow Armor bool.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Load the player onto the stack as an argument to the following delegate.
|
||||
// Emit a delegate which consumes the Shadow Armor bool, performs Calamity effects, then always returns false.
|
||||
// Returning false ensures vanilla Shadow Armor code never runs.
|
||||
cursor.Emit(OpCodes.Ldarg_0);
|
||||
|
||||
cursor.EmitDelegate((bool shadowArmor, Player p) => {
|
||||
// If you don't even have Shadow Armor equipped, do nothing.
|
||||
if (!shadowArmor)
|
||||
return 0;
|
||||
|
||||
// Shadow Armor does not stack with Magiluminescence if you are on the ground.
|
||||
if (p.hasMagiluminescence && p.velocity.Y == 0)
|
||||
return 0;
|
||||
|
||||
// Shadow Armor grants reduced movement bonuses if in the air, or on the ground WITHOUT Magiluminescence.
|
||||
p.runAcceleration *= BalancingConstants.ShadowArmorRunAccelerationMultiplier;
|
||||
p.maxRunSpeed *= BalancingConstants.ShadowArmorMaxRunSpeedMultiplier;
|
||||
p.accRunSpeed *= BalancingConstants.ShadowArmorAccRunSpeedMultiplier;
|
||||
p.runSlowdown *= BalancingConstants.ShadowArmorRunSlowdownMultiplier;
|
||||
|
||||
// Vanilla Shadow Armor behavior should still always be skipped.
|
||||
return 0;
|
||||
});
|
||||
|
||||
|
||||
// Finally: Back to Soaring Insignia. Prevent the rocket boots infinite flight effect, since it's in the same function.
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdfld<Player>("empressBrooch")))
|
||||
{
|
||||
LogFailure("Run Acceleration Nerfs", "Could not locate the Soaring Insignia bool.");
|
||||
return;
|
||||
}
|
||||
|
||||
// AND with 0 (false) so that the Soaring Insignia is never considered equipped and thus infinite rocket boots never triggers.
|
||||
cursor.Emit(OpCodes.Ldc_I4_0);
|
||||
cursor.Emit(OpCodes.And);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Life Regen Changes
|
||||
|
||||
@@ -107,7 +107,7 @@ namespace CalamityMod.ILEditing
|
||||
IL_Player.UpdateJumpHeight += FixJumpHeightBoosts;
|
||||
IL_Player.Update += BaseJumpHeightAdjustment;
|
||||
IL_Player.Update += RunSpeedAdjustments;
|
||||
IL_Player.Update += NerfSoaringInsigniaRunAcceleration;
|
||||
IL_Player.Update += NerfOverpoweredRunAccelerationSources; // Soaring Insignia, Magiluminescence, and Shadow Armor
|
||||
IL_Player.WingMovement += RemoveSoaringInsigniaInfiniteWingTime;
|
||||
|
||||
// Life regen balance
|
||||
|
||||
@@ -23,7 +23,6 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.alchFlask = true;
|
||||
player.buffImmune[ModContent.BuffType<Plague>()] = true;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Accessories
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
player.statLifeMax2 += 70;
|
||||
player.statLifeMax2 += 50;
|
||||
|
||||
// bool left in for abyss light purposes and life regen effects
|
||||
modPlayer.aAmpoule = true;
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.width = 60;
|
||||
Item.height = 54;
|
||||
Item.value = CalamityGlobalItem.RarityDarkBlueBuyPrice;
|
||||
Item.defense = 20;
|
||||
Item.defense = 12;
|
||||
Item.accessory = true;
|
||||
Item.rare = ModContent.RarityType<DarkBlue>();
|
||||
}
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.height = 44;
|
||||
Item.value = CalamityGlobalItem.RarityLimeBuyPrice;
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
Item.defense = 12; // we buff Ankh Shield to 12
|
||||
Item.defense = 8; // we buff Ankh Shield to 8
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -67,7 +67,7 @@ namespace CalamityMod.Items.Accessories
|
||||
for (int i = 0; i < chains; i++)
|
||||
{
|
||||
int projectileType = ModContent.ProjectileType<BlazingStarThatDoesNotHeal>();
|
||||
int dmgAmt = 90;
|
||||
int dmgAmt = 250;
|
||||
if (!empowered && Main.rand.NextBool(5))
|
||||
{
|
||||
projectileType = ModContent.ProjectileType<BlazingStarHeal>();
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.height = 42;
|
||||
Item.value = CalamityGlobalItem.RarityTurquoiseBuyPrice;
|
||||
Item.rare = ModContent.RarityType<Turquoise>();
|
||||
Item.defense = 16;
|
||||
Item.defense = 10;
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace CalamityMod.Items.Accessories
|
||||
int totalProjectiles = 6;
|
||||
float offsetAngle = (float)Math.PI * radialOffset;
|
||||
int type = ModContent.ProjectileType<FlameLickedHellblast>();
|
||||
int damage = (int)player.GetBestClassDamage().ApplyTo(60);
|
||||
int damage = (int)player.GetBestClassDamage().ApplyTo(200);
|
||||
damage = player.ApplyArmorAccDamageBonusesTo(damage);
|
||||
|
||||
if (player.whoAmI == Main.myPlayer)
|
||||
@@ -72,7 +72,7 @@ namespace CalamityMod.Items.Accessories
|
||||
totalProjectiles = 12;
|
||||
float radians2 = MathHelper.TwoPi / totalProjectiles;
|
||||
type = ModContent.ProjectileType<FlameLickedBarrage>();
|
||||
damage = (int)player.GetBestClassDamage().ApplyTo(20);
|
||||
damage = (int)player.GetBestClassDamage().ApplyTo(70);
|
||||
damage = player.ApplyArmorAccDamageBonusesTo(damage);
|
||||
|
||||
double angleA = radians2 * 0.5;
|
||||
|
||||
@@ -12,7 +12,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Accessories";
|
||||
|
||||
public static int RecoverTime = 120;
|
||||
public static int RecoverTime = 90;
|
||||
public static int DashFatigueIncrease = 240;
|
||||
public static int MaxFatigue = 1200; // This is also the time that it takes the player to recover from the loss of all stamina.
|
||||
|
||||
@@ -128,8 +128,9 @@ namespace CalamityMod.Items.Accessories
|
||||
RecoverTimer--;
|
||||
|
||||
// If the player has recovered, start decreasing the fatigue.
|
||||
bool PressingMoveKeys = Player.controlLeft || Player.controlRight || Player.controlDown || Player.controlJump;
|
||||
if (Fatigue > 0 && RecoverTimer <= 0)
|
||||
Fatigue -= Player.StandingStill() ? 2 : 1;
|
||||
Fatigue -= PressingMoveKeys ? 3 : 5;
|
||||
|
||||
// The fatigue cannot go higher than the max.
|
||||
if (Fatigue >= OldDukeScales.MaxFatigue)
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.height = 32;
|
||||
Item.value = CalamityGlobalItem.RarityPinkBuyPrice;
|
||||
Item.rare = ItemRarityID.Pink;
|
||||
Item.defense = 8;
|
||||
Item.defense = 4; // This has a ram dash, it should give a bit less defense due to how good it is
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Accessories
|
||||
public override void UpdateAccessory(Player player, bool hideVisual)
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
player.statLifeMax2 += 100;
|
||||
player.statLifeMax2 += 70;
|
||||
|
||||
// Abyss light, debuff near-immunity, life regen effects, and massively enhances debuff halving
|
||||
modPlayer.purity = true;
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.width = 64;
|
||||
Item.height = 62;
|
||||
Item.value = CalamityGlobalItem.RarityVioletBuyPrice;
|
||||
Item.defense = 18;
|
||||
Item.defense = 12;
|
||||
Item.accessory = true;
|
||||
Item.rare = ModContent.RarityType<Violet>();
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.height = 56;
|
||||
Item.value = CalamityGlobalItem.RarityLimeBuyPrice;
|
||||
Item.rare = ItemRarityID.Lime;
|
||||
Item.defense = 10;
|
||||
Item.defense = 4; // This should have less defense due to the regen it provides
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace CalamityMod.Items.Accessories
|
||||
Item.value = CalamityGlobalItem.RarityYellowBuyPrice;
|
||||
Item.rare = ItemRarityID.Yellow;
|
||||
Item.Calamity().donorItem = true;
|
||||
Item.defense = 12;
|
||||
Item.defense = 6;
|
||||
Item.accessory = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
Item.width = 20;
|
||||
Item.height = 22;
|
||||
Item.defense = 30;
|
||||
Item.defense = 15; // Why did this give 30 defense? This thing really needs a rework lol
|
||||
Item.accessory = true;
|
||||
Item.value = CalamityGlobalItem.RarityVioletBuyPrice;
|
||||
Item.rare = ModContent.RarityType<Violet>();
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
Item.width = 8;
|
||||
Item.height = 8;
|
||||
Item.damage = 8;
|
||||
Item.damage = 10;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.maxStack = 9999;
|
||||
Item.consumable = true;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Ammo
|
||||
public class HolyFireBullet : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Ammo";
|
||||
internal const float ExplosionMultiplier = 0.33f;
|
||||
internal const float ExplosionMultiplier = 0.275f;
|
||||
public static readonly SoundStyle Explosion = new("CalamityMod/Sounds/Item/HolyFireBulletExplosion") { PitchVariance = 0.2f, Volume = 0.6f };
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
Item.width = 22;
|
||||
Item.height = 22;
|
||||
Item.damage = 22;
|
||||
Item.damage = 20;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.maxStack = 9999;
|
||||
Item.consumable = true;
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Ammo";
|
||||
|
||||
public static int SplitBulletBonusDamage = 10;
|
||||
public static int SplitBulletBonusDamage = 16;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
Item.width = 8;
|
||||
Item.height = 8;
|
||||
Item.damage = 7;
|
||||
Item.damage = 11;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.maxStack = 9999;
|
||||
Item.consumable = true;
|
||||
|
||||
@@ -22,8 +22,8 @@ namespace CalamityMod.Items.Armor.Sulphurous
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetDamage<ThrowingDamageClass>() += 0.08f;
|
||||
player.GetCritChance<ThrowingDamageClass>() += 5;
|
||||
player.GetDamage<ThrowingDamageClass>() += 0.06f;
|
||||
player.GetCritChance<ThrowingDamageClass>() += 4;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Armor.Sulphurous
|
||||
var modPlayer = player.Calamity();
|
||||
modPlayer.sulphurSet = true;
|
||||
player.GetJumpState<SulphurJump>().Enable();
|
||||
modPlayer.rogueStealthMax += 0.7f;
|
||||
modPlayer.rogueStealthMax += 0.65f;
|
||||
modPlayer.wearingRogueArmor = true;
|
||||
player.ignoreWater = true;
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using CalamityMod.Balancing;
|
||||
using CalamityMod.Buffs.StatBuffs;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.CalPlayer;
|
||||
@@ -437,8 +438,8 @@ namespace CalamityMod.Items
|
||||
modPlayer.canFireAtaxiaRogueProjectile = false;
|
||||
int flareID = ModContent.ProjectileType<HydrothermicFlareRogue>();
|
||||
|
||||
// Ataxia Rogue Flares: 6 x 50%, soft cap starts at 90 base damage
|
||||
int flareDamage = CalamityUtils.DamageSoftCap(damage * 0.5, 90);
|
||||
// Hydrothermic Rogue Flares: 6 x (50 + 15%), soft cap starts at 90 base damage
|
||||
int flareDamage = CalamityUtils.DamageSoftCap(50 + damage * 0.15, 90);
|
||||
flareDamage = player.ApplyArmorAccDamageBonusesTo(flareDamage);
|
||||
|
||||
if (player.whoAmI == Main.myPlayer)
|
||||
@@ -1237,6 +1238,35 @@ namespace CalamityMod.Items
|
||||
player.GetDamage<MeleeDamageClass>() += 0.02f;
|
||||
}
|
||||
|
||||
// The Frog Leg line is prevented from stacking.
|
||||
// Additionally, Amphibian boots are directly nerfed so they aren't the best in slot boots at all times.
|
||||
//
|
||||
// 21MAY2024: Ozzatron: Disabled this code. Frog Leg is allowed to stack. Amphibian Boots specific nerf is applied below.
|
||||
/*
|
||||
switch (item.type)
|
||||
{
|
||||
default:
|
||||
break;
|
||||
case ItemID.AmphibianBoots:
|
||||
if (modPlayer.alreadyHasFrogLeg)
|
||||
player.jumpSpeedBoost -= BalancingConstants.VanillaFrogLegJumpSpeedBoost;
|
||||
else
|
||||
player.jumpSpeedBoost += BalancingConstants.AmphibianBootsJumpSpeedBoost - BalancingConstants.VanillaFrogLegJumpSpeedBoost;
|
||||
modPlayer.alreadyHasFrogLeg = true;
|
||||
break;
|
||||
case ItemID.FrogLeg:
|
||||
case ItemID.FrogFlipper:
|
||||
case ItemID.FrogGear:
|
||||
case ItemID.FrogWebbing:
|
||||
if (modPlayer.alreadyHasFrogLeg)
|
||||
player.jumpSpeedBoost -= BalancingConstants.VanillaFrogLegJumpSpeedBoost;
|
||||
modPlayer.alreadyHasFrogLeg = true;
|
||||
break;
|
||||
}
|
||||
*/
|
||||
if (item.type == ItemID.AmphibianBoots)
|
||||
player.jumpSpeedBoost += BalancingConstants.AmphibianBootsJumpSpeedBoost - BalancingConstants.VanillaFrogLegJumpSpeedBoost;
|
||||
|
||||
// Feral Claws line melee speed adjustments and nonstacking
|
||||
// First removes all their melee speed so it can be given based on which you wear without stacking
|
||||
if (item.type == ItemID.FeralClaws)
|
||||
|
||||
@@ -292,6 +292,37 @@ namespace CalamityMod.Items
|
||||
EditTooltipByNum(0, (line) => line.Text += "\nDemon Altars now drop Souls of Night instead of generating ores when destroyed" +
|
||||
"\nHardmode ores now generate after defeating Mechanical Bosses for the first time");
|
||||
|
||||
// Exact life regen descriptions
|
||||
bool isCampfire = item.type == ItemID.Campfire || item.type == ItemID.CursedCampfire || item.type == ItemID.DemonCampfire || item.type == ItemID.FrozenCampfire || item.type == ItemID.IchorCampfire || item.type == ItemID.RainbowCampfire || item.type == ItemID.UltraBrightCampfire || item.type == ItemID.BoneCampfire || item.type == ItemID.DesertCampfire || item.type == ItemID.CoralCampfire || item.type == ItemID.CorruptCampfire || item.type == ItemID.CrimsonCampfire || item.type == ItemID.HallowedCampfire || item.type == ItemID.JungleCampfire || item.type == ItemID.MushroomCampfire || item.type == ItemID.ShimmerCampfire;
|
||||
if (isCampfire)
|
||||
EditTooltipByNum(0, (line) => line.Text = "Life regen is increased by 0.5 HP/s when near a campfire");
|
||||
|
||||
if (item.type == ItemID.HeartLantern)
|
||||
EditTooltipByNum(0, (line) => line.Text = "Grants +1 HP/s life regeneration when placed nearby");
|
||||
|
||||
if (item.type == ItemID.BottledHoney)
|
||||
EditTooltipByNum(0, (line) => line.Text = "Grants +1 HP/s life regen for a short time" +
|
||||
"\nGrants an additional +1 HP/s life regen while inflicted with a damaging debuff");
|
||||
|
||||
if (item.type == ItemID.ShinyStone)
|
||||
EditTooltipByNum(0, (line) => line.Text = "Grants +2 HP/s life regen and accelerates natural life regen when not moving");
|
||||
|
||||
if (item.type == ItemID.BandofRegeneration)
|
||||
EditTooltipByNum(0, (line) => line.Text = "Grants +1 HP/s life regeneration");
|
||||
|
||||
if (item.type == ItemID.CharmofMyths)
|
||||
EditTooltipByNum(0, (line) => line.Text = "Grants +1 HP/s life regeneration and reduces the cooldown of healing potions by 25%");
|
||||
|
||||
if (item.type == ItemID.RegenerationPotion)
|
||||
EditTooltipByNum(0, (line) => line.Text = "Provides +2 HP/s life regeneration");
|
||||
|
||||
if (item.type == ItemID.SoulDrain)
|
||||
EditTooltipByNum(0, (line) => line.Text += "\nThis grants +1.5 HP/s life regen and accelerates natural life regen" +
|
||||
"\nLife drain stacks based on the number of enemies being hit");
|
||||
|
||||
if (item.type == ItemID.HamBat)
|
||||
EditTooltipByNum(1, (line) => line.Text = "Defeating enemies temporarily grants +3 HP/s life regen");
|
||||
|
||||
// Warmth Potion provides debuff immunities
|
||||
if (item.type == ItemID.WarmthPotion)
|
||||
{
|
||||
@@ -326,7 +357,7 @@ namespace CalamityMod.Items
|
||||
// There are no item sets for tombstones wtf
|
||||
if (item.type == ItemID.Tombstone || item.type == ItemID.GraveMarker || item.type == ItemID.CrossGraveMarker || item.type == ItemID.Headstone || item.type == ItemID.Gravestone || item.type == ItemID.Obelisk
|
||||
|| item.type == ItemID.RichGravestone1 || item.type == ItemID.RichGravestone2 || item.type == ItemID.RichGravestone3 || item.type == ItemID.RichGravestone4 || item.type == ItemID.RichGravestone5)
|
||||
EditTooltipByName("Material", (line) => line.Text += "\n20 of any tombstone turns the surrounding area into a graveyard"
|
||||
EditTooltipByName("Material", (line) => line.Text += "\n13 of any tombstone turns the surrounding area into a graveyard"
|
||||
+ "\nGraveyards have various new item sales and recipes");
|
||||
|
||||
// Eternity Crystal notifies the player that they can accelerate the invasion
|
||||
@@ -841,17 +872,14 @@ namespace CalamityMod.Items
|
||||
if (item.type == ItemID.JunglePants || item.type == ItemID.AncientCobaltLeggings)
|
||||
EditTooltipByNum(1, (line) => line.Text = line.Text.Replace("6%", "3%"));
|
||||
|
||||
// Shadow
|
||||
if (item.type == ItemID.ShadowHelmet || item.type == ItemID.AncientShadowHelmet || item.type == ItemID.ShadowScalemail || item.type == ItemID.AncientShadowScalemail || item.type == ItemID.ShadowGreaves || item.type == ItemID.AncientShadowGreaves)
|
||||
EditTooltipByNum(0, (line) => line.Text = "5% increased damage and 7% increased jump speed");
|
||||
|
||||
// Crimson
|
||||
if (item.type == ItemID.CrimsonHelmet || item.type == ItemID.CrimsonScalemail || item.type == ItemID.CrimsonGreaves)
|
||||
{
|
||||
EditTooltipByNum(0, (line) =>
|
||||
{
|
||||
string newTooltip = line.Text.Replace("3%", "5%");
|
||||
newTooltip += "\n+0.5 HP/s life regen";
|
||||
string newTooltip = line.Text.Replace("3%", "6%");
|
||||
// Chest piece has 2 regen instead of 1
|
||||
newTooltip += item.type == ItemID.CrimsonScalemail ? "\n+1 HP/s life regen" : "\n+0.5 HP/s life regen";
|
||||
line.Text = newTooltip;
|
||||
});
|
||||
}
|
||||
@@ -903,8 +931,10 @@ namespace CalamityMod.Items
|
||||
|
||||
// DD2 armor tooltip edits
|
||||
#region DD2 Armor
|
||||
// Reduce DD2 armor piece bonuses because they're overpowered
|
||||
// Reduce DD2 armor piece bonuses because they're overpowered, and clarify life regen boosts
|
||||
// Squire armor
|
||||
if (item.type == ItemID.SquireGreatHelm)
|
||||
EditTooltipByNum(0, (line) => line.Text = "Increases your max number of sentries by 1 and grants +2 HP/s life regen");
|
||||
if (item.type == ItemID.SquirePlating)
|
||||
EditTooltipByNum(0, (line) => line.Text = "10% increased minion and melee damage");
|
||||
if (item.type == ItemID.SquireGreaves)
|
||||
@@ -934,7 +964,7 @@ namespace CalamityMod.Items
|
||||
|
||||
// Valhalla Knight armor
|
||||
if (item.type == ItemID.SquireAltShirt)
|
||||
EditTooltipByNum(0, (line) => line.Text = "30% increased minion damage and increased life regeneration");
|
||||
EditTooltipByNum(0, (line) => line.Text = "30% increased minion damage and grants +4 HP/s life regen");
|
||||
if (item.type == ItemID.SquireAltPants)
|
||||
EditTooltipByNum(0, (line) => line.Text = "10% increased minion damage and melee critical strike chance");
|
||||
|
||||
|
||||
@@ -162,6 +162,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.MonkStaffT1, Do(TrueMeleeNoSpeed, DamageExact(83)) }, // Sleepy Octopod
|
||||
{ ItemID.MonkStaffT2, Do(AutoReuse, TrueMelee, DamageExact(90)) }, // Ghastly Glaive
|
||||
{ ItemID.MonkStaffT3, Do(DamageExact(225)) }, // Sky Dragon's Fury
|
||||
{ ItemID.MoonlordBullet, Do(DamageExact(19)) }, // Luminite Bullet
|
||||
{ ItemID.MoonlordTurretStaff, Do(DamageExact(50), UseExact(15)) }, //Lunar Portal Staff
|
||||
{ ItemID.Muramasa, Do(CritDelta(+20)) },
|
||||
{ ItemID.MushroomSpear, Do(AutoReuse, TrueMelee, UseRatio(0.8f), DamageExact(100)) },
|
||||
@@ -211,13 +212,12 @@ namespace CalamityMod.Items
|
||||
{ ItemID.RocketLauncher, Do(DamageExact(70)) },
|
||||
{ ItemID.Sandgun, Do(PointBlank, DamageExact(22), UseExact(20)) },
|
||||
{ ItemID.SapphireStaff, Do(DamageExact(25)) },
|
||||
{ ItemID.SDMG, Do(PointBlank, DamageExact(80)) },
|
||||
{ ItemID.Seedler, Do(UseMeleeSpeed, DamageExact(74), ShootSpeedDelta(+4f)) },
|
||||
{ ItemID.ShadowbeamStaff, Do(DamageExact(100)) },
|
||||
{ ItemID.ShadowFlameBow, Do(PointBlank, DamageExact(55)) },
|
||||
{ ItemID.ShadowFlameHexDoll, Do(DamageExact(40), ShootSpeedExact(30)) },
|
||||
{ ItemID.ShadowFlameKnife, Do(DamageExact(70)) },
|
||||
{ ItemID.SharpTears, Do(DamageExact(49)) },
|
||||
{ ItemID.SharpTears, Do(DamageExact(49)) }, // Blood Thorn
|
||||
{ ItemID.Shotgun, Do(PointBlank, DamageExact(36), AutoReuse) },
|
||||
{ ItemID.Shroomerang, Do(ShootSpeedExact(11)) },
|
||||
{ ItemID.SilverBullet, Do(DamageExact(8)) },
|
||||
@@ -225,6 +225,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.SkyFracture, Do(DamageExact(54), ShootSpeedExact(30f)) },
|
||||
{ ItemID.SlapHand, Do(UseTurn, DamageExact(120)) },
|
||||
{ ItemID.Smolstar, Do(DamageExact(9), AutoReuse, UseExact(25)) }, // Blade Staff
|
||||
{ ItemID.SniperRifle, Do(PointBlank, DamageExact(215)) },
|
||||
{ ItemID.SolarEruption, Do(DamageExact(157)) },
|
||||
{ ItemID.SoulDrain, Do(DamageExact(38)) }, // Life Drain
|
||||
{ ItemID.SpaceGun, Do(DamageExact(25)) },
|
||||
@@ -238,7 +239,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.StylistKilLaKillScissorsIWish, Do(AutoReuse, UseTurn, DamageExact(18)) }, // Stylish Scissors
|
||||
{ ItemID.Stynger, Do(DamageExact(75)) },
|
||||
{ ItemID.Swordfish, Do(AutoReuse, TrueMelee, DamageExact(24)) },
|
||||
{ ItemID.TacticalShotgun, Do(PointBlank, DamageExact(34)) },
|
||||
{ ItemID.TacticalShotgun, Do(PointBlank, DamageExact(41)) },
|
||||
{ ItemID.TaxCollectorsStickOfDoom, Do(AutoReuse, UseTurn, UseRatio(0.8f), DamageExact(70)) }, // Classy Cane
|
||||
{ ItemID.TendonBow, Do(PointBlank, DamageExact(17), AutoReuse) },
|
||||
{ ItemID.TerraBlade, Do(DamageExact(122)) },
|
||||
@@ -267,6 +268,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.VampireKnives, Do(DamageExact(38)) },
|
||||
{ ItemID.ValkyrieYoyo, Do(AutoReuse, DamageExact(48)) }, // Red's Throw and Valkyrie Yoyo have the same stats
|
||||
{ ItemID.VenomStaff, Do(DamageExact(55)) },
|
||||
{ ItemID.VenusMagnum, Do(PointBlank, DamageExact(65)) },
|
||||
{ ItemID.WaspGun, Do(UseExact(11), DamageExact(58)) },
|
||||
{ ItemID.WaterBolt, Do(DamageExact(23)) },
|
||||
{ ItemID.WhitePhaseblade, Do(AutoReuse, UseTurn, DamageExact(32)) },
|
||||
@@ -282,31 +284,31 @@ namespace CalamityMod.Items
|
||||
#region CATEGORY 2: Defense Balancing
|
||||
{ ItemID.AncientHallowedGreaves, Do(DefenseDelta(+2)) },
|
||||
{ ItemID.AncientHallowedPlateMail, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.AnkhShield, Do(DefenseDelta(+8)) },
|
||||
{ ItemID.CobaltShield, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.AnkhShield, Do(DefenseDelta(+4)) }, // 8 total
|
||||
{ ItemID.CobaltShield, Do(DefenseDelta(+3)) }, // 4 total
|
||||
{ ItemID.EoCShield, Do(DefenseDelta(+1)) }, // Shield of Cthulhu
|
||||
{ ItemID.FrozenShield, Do(DefenseDelta(+7)) },
|
||||
{ ItemID.FrozenShield, Do(DefenseDelta(+4)) }, // 10 total (plus the Frozen Turtle Shell DR effect)
|
||||
{ ItemID.FrozenTurtleShell, Do(DefenseExact(6)) },
|
||||
{ ItemID.HallowedGreaves, Do(DefenseDelta(+2)) },
|
||||
{ ItemID.HallowedPlateMail, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.HeroShield, Do(DefenseDelta(+10)) },
|
||||
{ ItemID.HeroShield, Do(DefenseDelta(+5)) }, // 15 total (plus increased max life)
|
||||
{ ItemID.LavaSkull, Do(DefenseExact(4)) }, // Magma Skull
|
||||
{ ItemID.MoltenSkullRose, Do(DefenseExact(8)) },
|
||||
{ ItemID.ObsidianShield, Do(DefenseDelta(+5)) },
|
||||
{ ItemID.ObsidianSkull, Do(DefenseDelta(+1)) },
|
||||
{ ItemID.ObsidianShield, Do(DefenseDelta(+4)) }, // 6 total
|
||||
{ ItemID.ObsidianSkull, Do(DefenseDelta(+1)) }, // 2 total
|
||||
{ ItemID.ObsidianSkullRose, Do(DefenseExact(4)) },
|
||||
{ ItemID.OrichalcumBreastplate, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.OrichalcumHeadgear, Do(DefenseDelta(+2)) },
|
||||
{ ItemID.OrichalcumHelmet, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.OrichalcumLeggings, Do(DefenseDelta(+4)) },
|
||||
{ ItemID.OrichalcumMask, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.PaladinsShield, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.PaladinsShield, Do(DefenseDelta(+2)) }, // 8 total
|
||||
{ ItemID.PalladiumBreastplate, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.PalladiumHeadgear, Do(DefenseDelta(+2)) },
|
||||
{ ItemID.PalladiumHelmet, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.PalladiumMask, Do(DefenseDelta(+1)) },
|
||||
{ ItemID.PalladiumLeggings, Do(DefenseDelta(+3)) },
|
||||
{ ItemID.Shackle, Do(DefenseDelta(+2)) },
|
||||
{ ItemID.Shackle, Do(DefenseDelta(+2)) }, // 3 total
|
||||
#endregion
|
||||
|
||||
#region CATEGORY 3: Tool Balancing
|
||||
@@ -454,15 +456,14 @@ namespace CalamityMod.Items
|
||||
{ ItemID.PulseBow, pointBlank },
|
||||
{ ItemID.Revolver, Do(PointBlank, AutoReuse) },
|
||||
{ ItemID.RichMahoganyBow, pointBlank },
|
||||
{ ItemID.SDMG, pointBlank },
|
||||
{ ItemID.ShadewoodBow, pointBlank },
|
||||
{ ItemID.SilverBow, pointBlank },
|
||||
{ ItemID.SniperRifle, pointBlank },
|
||||
{ ItemID.SnowballCannon, pointBlank },
|
||||
{ ItemID.StakeLauncher, pointBlank },
|
||||
{ ItemID.TinBow, pointBlank },
|
||||
{ ItemID.TungstenBow, pointBlank },
|
||||
{ ItemID.Uzi, pointBlank },
|
||||
{ ItemID.VenusMagnum, pointBlank },
|
||||
{ ItemID.VortexBeater, pointBlank },
|
||||
{ ItemID.WoodenBow, pointBlank },
|
||||
#endregion
|
||||
|
||||
|
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 431 B |
@@ -13,7 +13,8 @@ namespace CalamityMod.Items.Fishing
|
||||
Item.ResearchUnlockCount = 10;
|
||||
ItemID.Sets.CanBePlacedOnWeaponRacks[Item.type] = true;
|
||||
// For some reason Life/Mana boosting items are in this set (along with Magic Mirror+)
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 19; // Mana Crystal
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 21; // Mana Crystal
|
||||
ItemID.Sets.ShimmerTransformToItem[Type] = ItemID.ArcaneCrystal;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -72,8 +72,8 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
|
||||
"CosmaticMango",
|
||||
"CrabBar",
|
||||
"Dia",
|
||||
"DylanDoe21",
|
||||
"enamoured",
|
||||
"ENNWAY",
|
||||
"Fluffi",
|
||||
"HaguriHat",
|
||||
"Heart Plus Up!",
|
||||
@@ -94,7 +94,6 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
|
||||
"Shayy",
|
||||
"Spider Prov",
|
||||
"StipulateVenus",
|
||||
"Tomat",
|
||||
"Triangle",
|
||||
"Uncle Danny",
|
||||
"Xyk",
|
||||
@@ -126,10 +125,10 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
|
||||
"Doog",
|
||||
"drh",
|
||||
"dwshin",
|
||||
"DylanDoe21",
|
||||
"Earth",
|
||||
"EchoDuck",
|
||||
"Ein",
|
||||
"ENNWAY",
|
||||
"Enreden",
|
||||
"Epsilon",
|
||||
"Fargowilta",
|
||||
@@ -191,6 +190,7 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
|
||||
"ThousandFields",
|
||||
"TikiWiki",
|
||||
"Tinymanx",
|
||||
"Tomat",
|
||||
"Trivaxy",
|
||||
"Uberransy",
|
||||
"Vaikyia",
|
||||
|
||||
|
Before Width: | Height: | Size: 500 B After Width: | Height: | Size: 281 B |
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public new string LocalizationCategory => "Items.SummonItems";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 14; // Frost Moon
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 12; // Truffle Worm
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public new string LocalizationCategory => "Items.SummonItems";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 9; // Mechanical Skull
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 10; // Mechanical Skull
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public new string LocalizationCategory => "Items.SummonItems";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 7; // Mechanical Eye
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 7; // Ocram's Razor (1 below Mechanical Eye)
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public int spawnYAdd = 0;
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 10; // Pirate Map
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 11; // Pirate Map (1 above Mechanical Skull)
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.MPAllowedEnemies[NPCID.Golem] = true;
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 15; // Lihzahrd Power Cell
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 16; // Lihzahrd Power Cell
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
NPCID.Sets.MPAllowedEnemies[NPCID.Plantera] = true;
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 11; // Truffle Worm
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 11; // Pirate Map (1 above Mechanical Skull)
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -36,7 +36,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
|
||||
public override bool CanUseItem(Player player)
|
||||
{
|
||||
return !NPC.AnyNPCs(ModContent.NPCType<ProfanedGuardianCommander>()) && (Main.dayTime || Main.remixWorld) && (player.ZoneHallow || player.ZoneUnderworldHeight) && !BossRushEvent.BossRushActive;
|
||||
return !NPC.AnyNPCs(ModContent.NPCType<ProfanedGuardianCommander>()) && (player.ZoneHallow || player.ZoneUnderworldHeight) && !BossRushEvent.BossRushActive;
|
||||
}
|
||||
|
||||
public override bool? UseItem(Player player)
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public new string LocalizationCategory => "Items.SummonItems";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 12; // Frost Legion
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 13; // Frost Legion
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public new string LocalizationCategory => "Items.SummonItems";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 8; // Mechanical Worm
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 9; // Mechanical Worm
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -14,17 +14,17 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
|
||||
public override string ArmorSetName => "Crimson";
|
||||
|
||||
public const float ArmorPieceDamage = 0.05f;
|
||||
public const float ArmorPieceDamage = 0.06f;
|
||||
public const int ArmorPieceLifeRegen = 1;
|
||||
public const int ChestPieceBonusLifeRegen = 1;
|
||||
|
||||
// Set bonus clarification
|
||||
public override void UpdateSetBonusText(ref string setBonusText)
|
||||
{
|
||||
Player player = Main.LocalPlayer;
|
||||
setBonusText = $"{CalamityUtils.GetTextValue($"Vanilla.Armor.SetBonus.{ArmorSetName}")}";
|
||||
}
|
||||
|
||||
private void ApplyAnyPieceEffect(Player player)
|
||||
private static void ApplyAnyPieceEffect(Player player)
|
||||
{
|
||||
// Remove the vanilla +3% damage and add the new damage value at the same time
|
||||
player.GetDamage<GenericDamageClass>() += ArmorPieceDamage - 0.03f;
|
||||
@@ -35,7 +35,11 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
|
||||
public override void ApplyHeadPieceEffect(Player player) => ApplyAnyPieceEffect(player);
|
||||
|
||||
public override void ApplyBodyPieceEffect(Player player) => ApplyAnyPieceEffect(player);
|
||||
public override void ApplyBodyPieceEffect(Player player)
|
||||
{
|
||||
ApplyAnyPieceEffect(player);
|
||||
player.lifeRegen += ChestPieceBonusLifeRegen;
|
||||
}
|
||||
|
||||
public override void ApplyLegPieceEffect(Player player) => ApplyAnyPieceEffect(player);
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
|
||||
public const int MaxManaBoost = 20;
|
||||
public const int FlareFrameSpawnDelay = 12;
|
||||
public const int FlareDamageSoftcap = 50;
|
||||
public const int FlareDamageSoftcap = 40;
|
||||
|
||||
public override void UpdateSetBonusText(ref string setBonusText)
|
||||
{
|
||||
@@ -51,7 +51,7 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
// Reset the spawn delay.
|
||||
owner.Calamity().MythrilFlareSpawnCountdown = FlareFrameSpawnDelay;
|
||||
|
||||
int flareDamage = CalamityUtils.DamageSoftCap(originalDamage * 0.4, FlareDamageSoftcap);
|
||||
int flareDamage = CalamityUtils.DamageSoftCap(originalDamage * 0.3, FlareDamageSoftcap);
|
||||
flareDamage = owner.ApplyArmorAccDamageBonusesTo(flareDamage);
|
||||
|
||||
Vector2 flareSpawnPosition = victim.Center + Main.rand.NextVector2Circular(10f, 10f);
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.VanillaArmorChanges
|
||||
{
|
||||
@@ -18,17 +17,14 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
|
||||
public override string ArmorSetName => "Shadow";
|
||||
|
||||
public const float ArmorPieceDamage = 0.05f;
|
||||
public const float ArmorPieceJumpBoost = 0.07f;
|
||||
|
||||
private void ApplyAnyPieceEffect(Player player)
|
||||
private static void ApplyAnyPieceEffect(Player player)
|
||||
{
|
||||
// Remove the vanilla crit chance buff and replace it with damage
|
||||
player.GetCritChance<GenericDamageClass>() -= 5;
|
||||
player.GetDamage<GenericDamageClass>() += ArmorPieceDamage;
|
||||
|
||||
// Give jump boost
|
||||
player.jumpSpeedBoost += 5f * ArmorPieceJumpBoost;
|
||||
// 15MAY2024: Ozzatron: Removed all standard changes to Shadow Armor.
|
||||
// As such, this method intentionally does nothing.
|
||||
//
|
||||
// Shadow Armor's movement speed boosting effect is separately nerfed via an IL edit.
|
||||
//
|
||||
// Class is being left here so that further changes can be made to Shadow Armor as needed.
|
||||
}
|
||||
|
||||
public override void ApplyHeadPieceEffect(Player player) => ApplyAnyPieceEffect(player);
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
CalamityGlobalItem modItem = Item.Calamity();
|
||||
|
||||
Item.width = 98;
|
||||
Item.width = 100;
|
||||
Item.height = 32;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.damage = BaseDamage;
|
||||
@@ -37,7 +37,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = null;
|
||||
Item.UseSound = FireSound;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.RarityDarkBlueBuyPrice;
|
||||
@@ -53,7 +53,6 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
SoundEngine.PlaySound(FireSound);
|
||||
Projectile.NewProjectile(source, position, velocity, ModContent.ProjectileType<PulseRifleShot>(), damage, knockback, player.whoAmI, 0f, 0f);
|
||||
|
||||
return false;
|
||||
|
||||
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 897 B |
@@ -39,11 +39,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseRotationListener = true;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 shootVelocity = velocity;
|
||||
Vector2 shootDirection = shootVelocity.SafeNormalize(Vector2.UnitX * player.direction);
|
||||
Projectile.NewProjectile(source, position, shootDirection, type, damage, knockback, player.whoAmI);
|
||||
Vector2 spawnPosition = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
Projectile.NewProjectileDirect(source, spawnPosition, player.Calamity().mouseWorld - spawnPosition, ModContent.ProjectileType<AetherfluxCannonHoldout>(), damage, knockback, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,7 +11,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
[LegacyName("Genisis")]
|
||||
public class Genesis : ModItem, ILocalizedModType
|
||||
{
|
||||
public static float FireRate = 15f;
|
||||
public static float StarterWindup = 60f;
|
||||
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 108;
|
||||
@@ -34,17 +38,18 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
Item.shoot = ModContent.ProjectileType<GenesisHoldout>();
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] == 0;
|
||||
|
||||
// Makes the rotation of the mouse around the player sync in multiplayer.
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseRotationListener = true;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, ModContent.ProjectileType<GenesisHoldout>(), damage, knockback, player.whoAmI, 0, 0, 0);
|
||||
holdout.velocity = (player.Calamity().mouseWorld - player.MountedCenter).SafeNormalize(Vector2.Zero);
|
||||
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, ModContent.ProjectileType<GenesisHoldout>(), damage, knockback, player.whoAmI, 0, 0);
|
||||
holdout.velocity = player.Calamity().mouseWorld - player.RotatedRelativePoint(player.MountedCenter);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
@@ -31,5 +31,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseWorldListener = true;
|
||||
}
|
||||
}
|
||||
@@ -10,8 +10,9 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
[LegacyName("Purge")]
|
||||
public class NanoPurge : ModItem, ILocalizedModType
|
||||
{
|
||||
public static int UseTime = 20;
|
||||
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
public const int UseTime = 20;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
@@ -35,11 +36,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseRotationListener = true;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 shootVelocity = velocity;
|
||||
Vector2 shootDirection = shootVelocity.SafeNormalize(Vector2.UnitX * player.direction);
|
||||
Projectile.NewProjectile(source, position, shootDirection, type, damage, knockback, player.whoAmI);
|
||||
Vector2 spawnPosition = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
Projectile.NewProjectileDirect(source, spawnPosition, player.Calamity().mouseWorld - spawnPosition, ModContent.ProjectileType<NanoPurgeHoldout>(), damage, knockback, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.CalPlayer;
|
||||
using CalamityMod.DataStructures;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.Magic;
|
||||
using CalamityMod.Rarities;
|
||||
using CalamityMod.Tiles.Furniture.CraftingStations;
|
||||
@@ -12,6 +14,10 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
public class Omicron : ModItem, ILocalizedModType
|
||||
{
|
||||
public static float FireRate = 15f;
|
||||
public static float StarterWinup = 60f;
|
||||
public static float WingmanFireRate = 10f;
|
||||
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -37,7 +43,14 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0 && player.ownedProjectileCounts[ModContent.ProjectileType<OmicronWingman>()] < 2;
|
||||
|
||||
// Makes the rotation of the mouse around the player sync in multiplayer.
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseRotationListener = true;
|
||||
public override void HoldItem(Player player)
|
||||
{
|
||||
CalamityPlayer calPlayer = player.Calamity();
|
||||
calPlayer.mouseWorldListener = true;
|
||||
calPlayer.mouseRotationListener = true;
|
||||
calPlayer.rightClickListener = true;
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
for (int i = 0; i < 2; i++)
|
||||
|
||||
@@ -35,7 +35,12 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] < 2;
|
||||
|
||||
// Makes the rotation of the mouse around the player sync in multiplayer.
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseRotationListener = true;
|
||||
public override void HoldItem(Player player)
|
||||
{
|
||||
var modPlayer = player.Calamity();
|
||||
modPlayer.mouseRotationListener = true;
|
||||
modPlayer.rightClickListener = true;
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 56;
|
||||
Item.height = 60;
|
||||
Item.damage = 41;
|
||||
Item.damage = 50;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useAnimation = Item.useTime = 40;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
|
||||
@@ -16,12 +16,12 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 56;
|
||||
Item.height = 50;
|
||||
Item.damage = 35;
|
||||
Item.damage = 48;
|
||||
Item.knockBack = 7.25f;
|
||||
Item.useTime = 65;
|
||||
Item.useAnimation = 65;
|
||||
Item.shoot = ModContent.ProjectileType<DepthCrusherProjectile>();
|
||||
Item.shootSpeed = 3f;
|
||||
Item.shootSpeed = 6f;
|
||||
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
|
||||
@@ -19,14 +19,14 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 88;
|
||||
Item.height = 88;
|
||||
Item.damage = 160;
|
||||
Item.damage = 240;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.noMelee = true;
|
||||
Item.useTurn = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.useAnimation = 30;
|
||||
Item.useAnimation = 45;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.useTime = 30;
|
||||
Item.useTime = 45;
|
||||
Item.knockBack = 9.5f;
|
||||
Item.UseSound = SoundID.Item1;
|
||||
Item.autoReuse = true;
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 62;
|
||||
Item.height = 90;
|
||||
Item.damage = 78;
|
||||
Item.damage = 83;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 15;
|
||||
Item.useAnimation = 30;
|
||||
|
||||
@@ -21,14 +21,14 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 86;
|
||||
Item.height = 38;
|
||||
Item.damage = 96;
|
||||
Item.damage = 92;
|
||||
Item.knockBack = 3f;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.noMelee = true;
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useTime = 24;
|
||||
Item.useAnimation = 24;
|
||||
Item.useTime = 26;
|
||||
Item.useAnimation = 26;
|
||||
Item.UseSound = SoundID.Item38;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
|
||||
@@ -49,7 +49,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 NumBullets = Main.rand.Next(5, 8);
|
||||
int NumBullets = Main.rand.Next(5, 6+1);
|
||||
Vector2 baseVelocity = velocity.SafeNormalize(Vector2.Zero) * BulletSpeed;
|
||||
|
||||
// If Musket Balls are used, damage is set to match Hallow-Point Rounds for both bullets and lasers
|
||||
@@ -71,7 +71,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
// Spawn a beam from the sky ala Deathhail Staff or Lunar Flare
|
||||
float laserSpeed = 8f;
|
||||
int laserDamage = 3 * damage;
|
||||
int laserDamage = (int)(damage * 2.5f);
|
||||
float laserKB = 5f;
|
||||
|
||||
Vector2 rrp = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
|
||||
@@ -26,10 +26,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.IsRangedSpecialistWeapon[Item.type] = true;
|
||||
}
|
||||
public override void SetStaticDefaults() => ItemID.Sets.IsRangedSpecialistWeapon[Type] = true;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 58;
|
||||
@@ -53,6 +51,15 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseWorldListener = true;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, ModContent.ProjectileType<ArcNovaDiffuserHoldout>(), damage, knockback, player.whoAmI, 0, 1);
|
||||
holdout.velocity = player.Calamity().mouseWorld - player.RotatedRelativePoint(player.MountedCenter);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.Calamity().canFirePointBlankShots = true;
|
||||
}
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-5, 0);
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-14, 0);
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.2 KiB |
@@ -44,10 +44,15 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override void HoldItem(Player player)
|
||||
{
|
||||
if (Main.myPlayer == player.whoAmI)
|
||||
player.Calamity().rightClickListener = true;
|
||||
var calPlayer = player.Calamity();
|
||||
|
||||
if (player.Calamity().mouseRight && player.ownedProjectileCounts[ModContent.ProjectileType<CondemnationHoldout>()] <= 0)
|
||||
if (Main.myPlayer == player.whoAmI)
|
||||
{
|
||||
calPlayer.rightClickListener = true;
|
||||
calPlayer.mouseRotationListener = true;
|
||||
}
|
||||
|
||||
if (calPlayer.mouseRight && player.ownedProjectileCounts[ModContent.ProjectileType<CondemnationHoldout>()] <= 0)
|
||||
{
|
||||
Item.noUseGraphic = false;
|
||||
}
|
||||
|
||||
@@ -14,10 +14,10 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 66;
|
||||
Item.height = 24;
|
||||
Item.damage = 58;
|
||||
Item.damage = 61;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 35;
|
||||
Item.useAnimation = 35;
|
||||
Item.useTime = 32;
|
||||
Item.useAnimation = 32;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 4.5f;
|
||||
|
||||
@@ -14,10 +14,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public int FlareCounter = 0;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.ItemsThatAllowRepeatedRightClick[Item.type] = true;
|
||||
}
|
||||
public override void SetStaticDefaults() => ItemID.Sets.ItemsThatAllowRepeatedRightClick[Type] = true;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
@@ -41,13 +38,18 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
}
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-10, 0);
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseWorldListener = true;
|
||||
|
||||
// Spawning the holdout cannot consume ammo
|
||||
public override bool CanConsumeAmmo(Item ammo, Player player) => player.ownedProjectileCounts[Item.shoot] > 0;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Projectile.NewProjectile(source, position, Vector2.Zero, type, 0, 0f, player.whoAmI);
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, ModContent.ProjectileType<ElementalEruptionHoldout>(), damage, knockback, player.whoAmI, 0, 1);
|
||||
holdout.velocity = player.Calamity().mouseWorld - player.RotatedRelativePoint(player.MountedCenter);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.Calamity().canFirePointBlankShots = true;
|
||||
}
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-14, 0);
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
SoundEngine.PlaySound(SoundID.Item36, position);
|
||||
|
||||
@@ -20,6 +20,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.useTime = 5;
|
||||
Item.useAnimation = 35;
|
||||
Item.reuseDelay = 20;
|
||||
Item.useLimitPerAnimation = 7;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 1.5f;
|
||||
|
||||
@@ -14,10 +14,10 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 82;
|
||||
Item.height = 28;
|
||||
Item.damage = 80;
|
||||
Item.damage = 77;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 9;
|
||||
Item.useAnimation = 9;
|
||||
Item.useTime = 10;
|
||||
Item.useAnimation = 10;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 5f;
|
||||
|
||||
@@ -22,10 +22,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.IsRangedSpecialistWeapon[Item.type] = true;
|
||||
}
|
||||
public override void SetStaticDefaults() => ItemID.Sets.IsRangedSpecialistWeapon[Item.type] = true;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 56;
|
||||
@@ -49,6 +47,15 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseRotationListener = true;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 spawnPosition = player.RotatedRelativePoint(player.MountedCenter);
|
||||
Projectile.NewProjectileDirect(source, spawnPosition, player.Calamity().mouseWorld - player.RotatedRelativePoint(player.MountedCenter), ModContent.ProjectileType<MagnaCannonHoldout>(), damage, knockback, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
@@ -43,11 +43,8 @@ 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)
|
||||
{
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, player.Center, Vector2.Zero, ModContent.ProjectileType<MineralMortarHoldout>(), 0, 0f, player.whoAmI);
|
||||
|
||||
// We set the rotation to the direction to the mouse so the first frame doesn't appear bugged out.
|
||||
holdout.rotation = (player.Calamity().mouseWorld - player.MountedCenter).SafeNormalize(Vector2.Zero).ToRotation();
|
||||
|
||||
Vector2 spawnPosition = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
Projectile.NewProjectileDirect(source, spawnPosition, player.Calamity().mouseWorld - spawnPosition, ModContent.ProjectileType<MineralMortarHoldout>(), 0, 0f, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.value = CalamityGlobalItem.RarityLightRedBuyPrice;
|
||||
Item.UseSound = FireSound;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<NitroShot>();
|
||||
Item.shoot = ProjectileID.Bullet;
|
||||
Item.shootSpeed = 12f;
|
||||
Item.useAmmo = AmmoID.Bullet;
|
||||
Item.rare = ItemRarityID.LightRed;
|
||||
@@ -66,7 +66,9 @@ 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)
|
||||
{
|
||||
player.velocity += -velocity * 0.3f;
|
||||
Projectile.NewProjectile(source, position, velocity, ModContent.ProjectileType<NitroShot>(), damage, knockback, player.whoAmI, 0f);
|
||||
if (type == ProjectileID.Bullet)
|
||||
type = ModContent.ProjectileType<NitroShot>();
|
||||
Projectile.NewProjectile(source, position, velocity, type, damage, knockback, player.whoAmI, 0f);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -21,10 +21,8 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public static int AftershotCooldownFrames = 17;
|
||||
public static int FullChargeFrames = 88;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.IsRangedSpecialistWeapon[Item.type] = true;
|
||||
}
|
||||
public override void SetStaticDefaults() => ItemID.Sets.IsRangedSpecialistWeapon[Type] = true;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 48;
|
||||
@@ -48,6 +46,15 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseRotationListener = true;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Vector2 spawnPosition = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
Projectile.NewProjectileDirect(source, spawnPosition, player.Calamity().mouseWorld - spawnPosition, ModContent.ProjectileType<OpalStrikerHoldout>(), damage, knockback, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 48;
|
||||
Item.height = 82;
|
||||
Item.damage = 87;
|
||||
Item.damage = 117;
|
||||
Item.useTime = 12;
|
||||
Item.useAnimation = 12;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 76;
|
||||
Item.height = 32;
|
||||
Item.damage = 50;
|
||||
Item.damage = 54;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 22;
|
||||
Item.useAnimation = 22;
|
||||
@@ -35,11 +35,11 @@ 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 numBullets = Main.rand.NextBool() ? 4 : 3;
|
||||
int numBullets = 4;
|
||||
for (int index = 0; index < numBullets; ++index)
|
||||
{
|
||||
float SpeedX = velocity.X + Main.rand.Next(-75, 76) * 0.05f;
|
||||
float SpeedY = velocity.Y + Main.rand.Next(-75, 76) * 0.05f;
|
||||
float SpeedX = velocity.X + (index == 0 ? 0 : Main.rand.Next(-75, 76) * 0.05f);
|
||||
float SpeedY = velocity.Y + (index == 0 ? 0 : Main.rand.Next(-75, 76) * 0.05f);
|
||||
|
||||
if (type == ProjectileID.Bullet)
|
||||
Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, ModContent.ProjectileType<RealmRavagerBullet>(), damage, knockback, player.whoAmI);
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.damage = 23;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 10;
|
||||
Item.useAnimation = 30;
|
||||
Item.useAnimation = 40;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 1.5f;
|
||||
|
||||
@@ -13,12 +13,14 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 56;
|
||||
Item.height = 26;
|
||||
Item.damage = 10;
|
||||
Item.damage = 16;
|
||||
Item.knockBack = 1f;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.autoReuse = true;
|
||||
Item.useTime = 12;
|
||||
Item.useAnimation = 36;
|
||||
Item.useAnimation = 48;
|
||||
Item.reuseDelay = 12;
|
||||
Item.useLimitPerAnimation = 4;
|
||||
Item.useAmmo = AmmoID.Gel;
|
||||
Item.consumeAmmoOnFirstShotOnly = true;
|
||||
Item.shootSpeed = 6f;
|
||||
|
||||
@@ -14,6 +14,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
|
||||
public static float MaxCharge = 90f;
|
||||
public static int OriginalUseTime = 34;
|
||||
|
||||
public override void SetDefaults()
|
||||
|
||||
@@ -39,13 +39,21 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
}
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-10, 0);
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void HoldItem(Player player) => player.Calamity().mouseWorldListener = true;
|
||||
|
||||
// Spawning the holdout cannot consume ammo
|
||||
public override bool CanConsumeAmmo(Item ammo, Player player) => player.ownedProjectileCounts[Item.shoot] > 0;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Projectile.NewProjectile(source, position, Vector2.Zero, type, 0, 0f, player.whoAmI);
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, position, Vector2.Zero, ModContent.ProjectileType<WildfireBloomHoldout>(), 0, 0f, player.whoAmI);
|
||||
|
||||
// We set the rotation to the direction to the mouse so the first frame doesn't appear bugged out.
|
||||
holdout.velocity = (player.Calamity().mouseWorld - player.MountedCenter).SafeNormalize(Vector2.Zero);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.DamageType = RogueDamageClass.Instance;
|
||||
}
|
||||
|
||||
public override float StealthDamageMultiplier => 0.70f;
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
if (player.Calamity().StealthStrikeAvailable())
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.damage = 26;
|
||||
Item.damage = 27;
|
||||
Item.DamageType = DamageClass.Summon;
|
||||
Item.shoot = ModContent.ProjectileType<HarvestStaffSentry>();
|
||||
Item.knockBack = 5f;
|
||||
|
||||
@@ -59,8 +59,8 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
Projectile.NewProjectileDirect(source, Main.MouseWorld, new Vector2(-1f, -1f) * 3f, type, damage, knockback, player.whoAmI);
|
||||
Projectile.NewProjectileDirect(source, Main.MouseWorld, new Vector2(1f, -1f) * 3f, ProjectileType<LiliesOfFinalityAriane>(), damage, knockback, player.whoAmI);
|
||||
Projectile.NewProjectileDirect(source, player.Calamity().mouseWorld, new Vector2(-1f, -1f) * 3f, type, damage, knockback, player.whoAmI);
|
||||
Projectile.NewProjectileDirect(source, player.Calamity().mouseWorld, new Vector2(1f, -1f) * 3f, ProjectileType<LiliesOfFinalityAriane>(), damage, knockback, player.whoAmI);
|
||||
|
||||
if (Main.dedServ)
|
||||
return false;
|
||||
|
||||
@@ -102,7 +102,7 @@ AlchemicalFlask: {
|
||||
DisplayName: Alchemical Flask
|
||||
Tooltip:
|
||||
'''
|
||||
All attacks inflict the Plague and grants immunity to the Plague
|
||||
All attacks inflict the Plague and reduces damage taken from the Plague
|
||||
Projectiles spawn plague seekers on enemy hits
|
||||
'''
|
||||
}
|
||||
@@ -136,10 +136,10 @@ AmbrosialAmpoule: {
|
||||
DisplayName: Ambrosial Ampoule
|
||||
Tooltip:
|
||||
'''
|
||||
+70 max life
|
||||
+50 max life
|
||||
Grants +2 to +6 HP/s life regen based on missing health
|
||||
Provides life regeneration equivalent to standing in Honey
|
||||
Standing still grants extremely powerful regen
|
||||
Grants +1 HP/s life regen and an additional 1 HP/s life regen when inflicted with a damage debuff
|
||||
Standing still grants +1.5 HP/s life regen
|
||||
Halves how long you are afflicted with fire and sickness debuffs
|
||||
You emit yellow light if visibility is enabled
|
||||
'''
|
||||
@@ -428,7 +428,7 @@ CrawCarapace: {
|
||||
DisplayName: Craw Carapace
|
||||
Tooltip:
|
||||
'''
|
||||
5% increased damage
|
||||
7% increased damage
|
||||
Enemies that hit you take damage and are inflicted with Crumbling
|
||||
'''
|
||||
}
|
||||
@@ -437,7 +437,7 @@ Baroclaw: {
|
||||
DisplayName: Baroclaw
|
||||
Tooltip:
|
||||
'''
|
||||
10% increased damage
|
||||
10% increased damage and 5% increased damage reduction
|
||||
Enemies that hit you take high damage and are inflicted with Armor Crunch and Crush Depth
|
||||
'''
|
||||
}
|
||||
@@ -885,8 +885,9 @@ HallowedRune: {
|
||||
Tooltip:
|
||||
'''
|
||||
Whenever your minions hit an enemy you will gain a random buff, does not stack with downgrades
|
||||
These buffs will either boost your defense, summon damage, or life regen for a while
|
||||
If you have the offensive boost, enemies hit by minions will sometimes be hit by stars
|
||||
Hallowed Power increases summon damage by 10% and makes minion hits rain stars
|
||||
Hallowed Defense increases defense by 8 and DR by 4%
|
||||
Hallowed Regen grants +1.5 HP/s life regeneration
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -935,8 +936,8 @@ HoneyDew: {
|
||||
Tooltip:
|
||||
'''
|
||||
+30 max life
|
||||
Provides life regeneration equivalent to standing in Honey
|
||||
Standing still in Honey grants extremely powerful regen
|
||||
Grants +1 HP/s life regen and an additional 1 HP/s life regen when inflicted with a damage debuff
|
||||
Standing still in Honey grants +1.5 HP/s life regen
|
||||
Halves how long you are afflicted with sickness debuffs
|
||||
'''
|
||||
}
|
||||
@@ -1023,8 +1024,8 @@ LivingDew: {
|
||||
Tooltip:
|
||||
'''
|
||||
+50 max life
|
||||
Provides life regeneration equivalent to standing in Honey
|
||||
Standing still in Honey grants extremely powerful regen
|
||||
Grants +1 HP/s life regen and an additional 1 HP/s life regen when inflicted with a damage debuff
|
||||
Standing still in Honey grants +1.5 HP/s life regen
|
||||
Halves how long you are afflicted with fire and sickness debuffs
|
||||
'''
|
||||
}
|
||||
@@ -1064,8 +1065,7 @@ ManaPolarizer: {
|
||||
'''
|
||||
Increases max mana by 50 and magic damage by 6%
|
||||
-1.5 HP/s life regen if mana is above 50% of its maximum
|
||||
Grants spectre healing, the amount healed scales with your mana
|
||||
The healing only works while holding a magic weapon
|
||||
Magic projectiles give lifesteal while holding a magic weapon
|
||||
The more mana you have, the more you heal
|
||||
'''
|
||||
}
|
||||
@@ -1243,10 +1243,9 @@ PhantomicArtifact: {
|
||||
Tooltip:
|
||||
'''
|
||||
Whenever your minions hit an enemy you will gain a random phantomic buff, does not stack with downgrades
|
||||
These buffs will either boost your defense, summon damage, or life regen for a while
|
||||
If you have the offensive boost, enemies hit by minions will sometimes be hit by phantomic knives
|
||||
If you have the regenerative boost, a phantomic heart will occasionally materialise granting massive health regen
|
||||
If you have the defensive boost, a phantomic bulwark will absorb 20% of the next projectile's damage that hits the bulwark, shattering it
|
||||
Phantomic Empowerment increases summon damage by 10% and makes minion hits spawn phantomic knives
|
||||
Phantomic Shield increases defense by 10 and DR by 5% and spawns a phantomic bulwark which absorbs 20% of the next projectile's damage that touches it
|
||||
Phantomic Regen grants +2 HP/s life regen and spawns a phantomic heart which grants an additional 2 HP/s life regen when touched
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -1331,10 +1330,10 @@ Radiance: {
|
||||
DisplayName: Radiance
|
||||
Tooltip:
|
||||
'''
|
||||
+100 max life
|
||||
Grants +3 to +7 HP/s life regen based on missing health
|
||||
Provides life regeneration equivalent to standing in Honey
|
||||
Standing still grants extremely powerful regen
|
||||
+70 max life
|
||||
Grants +2 to +6 HP/s life regen based on missing health
|
||||
Grants +1 HP/s life regen and an additional 1 HP/s life regen when inflicted with a damage debuff
|
||||
Standing still grants +2 HP/s life regen
|
||||
Grants 20 defense and continuous healing while afflicted with any debuff
|
||||
The healing eventually slows down if debuffed for an extended period of time
|
||||
Massively boosts natural life regen while afflicted with any debuff
|
||||
@@ -1587,7 +1586,9 @@ SpiritGlyph: {
|
||||
Tooltip:
|
||||
'''
|
||||
Whenever your minions hit an enemy you will gain a random buff
|
||||
These buffs will either boost your defense, summon damage, or life regen for a while
|
||||
Spirit Power increases summon damage by 10%
|
||||
Spirit Defense increases defense by 6 and DR by 3%
|
||||
Spirit Regen grants +1 HP/s life regeneration
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -50,6 +50,11 @@ CinderArrow: {
|
||||
Tooltip: Explosive arrows that burst into weak flaming shards that inflict Brimstone Flames
|
||||
}
|
||||
|
||||
DryadsTear: {
|
||||
DisplayName: Dryad's Tear
|
||||
Tooltip: Splits into homing nature shards on impact which ignore enemy defense
|
||||
}
|
||||
|
||||
ElysianArrow: {
|
||||
DisplayName: Elysian Arrow
|
||||
Tooltip:
|
||||
@@ -98,7 +103,7 @@ HailstormBullet: {
|
||||
'''
|
||||
Bullets imbued with potent ice magic
|
||||
These bullets rapidly decelerate after being fired
|
||||
Critical hits cause a flash freeze, dealing additional damage
|
||||
Critical hits cause a flash freeze, dealing additional damage and freezing normal enemies
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -159,11 +164,6 @@ SproutingArrow: {
|
||||
'''
|
||||
}
|
||||
|
||||
DryadsTear: {
|
||||
DisplayName: Dryad's Tear
|
||||
Tooltip: Explodes and splits into homing nature shards on impact
|
||||
}
|
||||
|
||||
VanquisherArrow: {
|
||||
DisplayName: Vanquisher Arrow
|
||||
Tooltip:
|
||||
|
||||
@@ -527,7 +527,7 @@ TarragonHeadMelee: {
|
||||
'''
|
||||
15% increased melee speed
|
||||
Enemies are more likely to target you
|
||||
You gain a life regen buff when you take damage
|
||||
Taking damage gives the Tarra Life buff, which grants +1.5 HP/s life regen
|
||||
Press {0} to cloak yourself in life energy that heavily reduces enemy contact damage for 10 seconds
|
||||
This has a 30 second cooldown
|
||||
'''
|
||||
|
||||
@@ -186,7 +186,7 @@ StatigelHeadSummon: {
|
||||
|
||||
SulphurousBreastplate: {
|
||||
DisplayName: Sulphurous Breastplate
|
||||
Tooltip: 8% increased rogue damage and 5% increased rogue critical strike chance
|
||||
Tooltip: 6% increased rogue damage and 4% increased rogue critical strike chance
|
||||
}
|
||||
|
||||
SulphurousHelmet: {
|
||||
@@ -199,7 +199,7 @@ SulphurousHelmet: {
|
||||
'''
|
||||
SetBonus:
|
||||
'''
|
||||
+70 maximum stealth
|
||||
+65 maximum stealth
|
||||
Attacking and being attacked by enemies inflicts poison
|
||||
Grants an additional jump that summons a sulphurous bubble
|
||||
Provides increased underwater mobility and reduces the severity of the sulphuric waters
|
||||
|
||||
@@ -54,8 +54,8 @@ Bloodfin: {
|
||||
DisplayName: Bloodfin
|
||||
Tooltip:
|
||||
'''
|
||||
Grants a buff that boosts life regen for 10 seconds
|
||||
The life regen boost is stronger if below 75% health
|
||||
Grants a buff that grants +2.5 HP/s life regen
|
||||
This buff directly restores HP if below 75% health
|
||||
10 second duration
|
||||
'The wonders of angiogenesis'
|
||||
'''
|
||||
|
||||
@@ -360,7 +360,7 @@ AstrumAureusRelic: {
|
||||
|
||||
AstrumDeusRelic: {
|
||||
DisplayName: Astrum Deus Relic
|
||||
Tooltip: A glimpse into what could have been...
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
BrimstoneElementalRelic: {
|
||||
@@ -523,7 +523,6 @@ AltarOfTheAccursedItem: {
|
||||
'''
|
||||
Offer Ashes of Calamity at this altar to summon the Witch
|
||||
Doing so will create a square arena of blocks, with the altar at its center
|
||||
During the battle, heart pickups only heal for half as much
|
||||
The Witch enrages while you are outside of the arena
|
||||
{$CommonItemTooltip.SpecialCrafting}
|
||||
'''
|
||||
@@ -730,7 +729,7 @@ ResilientCandle: {
|
||||
DisplayName: Resilient Candle
|
||||
Tooltip:
|
||||
'''
|
||||
When placed, nearby players' defense blocks 15% more damage
|
||||
When placed, nearby players' defense blocks 10% more damage
|
||||
'Neither rain nor wind can snuff its undying flame'
|
||||
'''
|
||||
}
|
||||
@@ -984,7 +983,7 @@ WeightlessCandle: {
|
||||
DisplayName: Weightless Candle
|
||||
Tooltip:
|
||||
'''
|
||||
When placed, nearby players gain 10% movement speed, 10% wing time and 5% acceleration
|
||||
When placed, nearby players gain 5% increased movement speed, wing time and acceleration
|
||||
'The floating flame seems to uplift your very spirit'
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ Baguette: {
|
||||
Tooltip:
|
||||
'''
|
||||
{$CommonItemTooltip.MinorStats}
|
||||
Boosts the effects of Red Wine
|
||||
Red Wine heals 250 HP, but reduces life regen by 2 HP/s
|
||||
[c/FCE391:'je suis Monte']
|
||||
'''
|
||||
}
|
||||
@@ -104,7 +104,8 @@ PhotosynthesisPotion: {
|
||||
DisplayName: Photosynthesis Potion
|
||||
Tooltip:
|
||||
'''
|
||||
You regen life quickly while not moving, this effect is five times as strong during daytime
|
||||
Grants +0.5 HP/s life regen and accelerates natural life regen while not moving
|
||||
This natural life regen effect is five times as strong during daytime
|
||||
Dropped hearts heal more HP
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -231,11 +231,14 @@ ProfanedShard: {
|
||||
Tooltip:
|
||||
'''
|
||||
[SPAWN]
|
||||
Enrage when not in the Hallow or Underworld
|
||||
Not consumable
|
||||
'Her Guardians seek the holder of such vast stolen power.'
|
||||
'''
|
||||
SpawnNormal: Summons the Profaned Guardians when used in the Hallow or Underworld during daytime
|
||||
SpawnNormal:
|
||||
'''
|
||||
Summons the Profaned Guardians when used in the Hallow or Underworld
|
||||
Enrages when fought during nighttime
|
||||
'''
|
||||
SpawnRemix: Summons the Profaned Guardians when used in the Hallow or Underworld
|
||||
}
|
||||
|
||||
@@ -302,11 +305,7 @@ Teratoma: {
|
||||
Terminus: {
|
||||
DisplayName: Terminus
|
||||
GFBName: Ogscule
|
||||
Tooltip:
|
||||
'''
|
||||
Activates Boss Rush Mode, using it again will deactivate Boss Rush Mode
|
||||
During the Boss Rush, all wires and wired devices will be disabled
|
||||
'''
|
||||
Tooltip: Activates Boss Rush Mode, using it again will deactivate Boss Rush Mode
|
||||
}
|
||||
|
||||
YharonEgg: {
|
||||
|
||||
@@ -392,11 +392,6 @@ HadalUrn: {
|
||||
'''
|
||||
}
|
||||
|
||||
HarvestStaff: {
|
||||
DisplayName: Harvest Staff
|
||||
Tooltip: Casts flaming pumpkins
|
||||
}
|
||||
|
||||
HeliumFlash: {
|
||||
DisplayName: Helium Flash
|
||||
Tooltip:
|
||||
@@ -861,11 +856,7 @@ Tradewinds: {
|
||||
|
||||
UltraLiquidator: {
|
||||
DisplayName: Ultra Liquidator
|
||||
Tooltip:
|
||||
'''
|
||||
Summons liquidation blades that summon more blades on enemy hits
|
||||
The blades inflict ichor, cursed inferno and brimstone flames
|
||||
'''
|
||||
Tooltip: Summons liquidation blades that summon more blades on enemy hits
|
||||
}
|
||||
|
||||
UndinesRetribution: {
|
||||
|
||||