Merge branch '1.4.4' into ravager-solid-pillars
No files matched your search
@@ -97,23 +97,23 @@ namespace CalamityMod.Balancing
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCType<Crabulon>(), ResistTrueMelee(0.8f)));
|
||||
#endregion
|
||||
|
||||
#region Brain of Cthulhu: Creepers
|
||||
// 50% resist to true melee.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(ResistTrueMelee(0.5f))));
|
||||
|
||||
// 50% resist to Demon Scythe.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe))));
|
||||
#endregion
|
||||
|
||||
#region Eater of Worlds
|
||||
// 50% resist to true melee.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(ResistTrueMelee(0.5f))));
|
||||
|
||||
// 50% resist to Demon Scythe.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe))));
|
||||
|
||||
// 40% resist to Sky Glaze.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(new ProjectileResistBalancingRule(0.6f, ProjectileType<StickyFeather>()))));
|
||||
|
||||
// 25% resist to true melee.
|
||||
NPCSpecificBalancingChanges.AddRange(Bundle(EaterOfWorldsIDList.List, Do(ResistTrueMelee(0.75f))));
|
||||
#endregion
|
||||
|
||||
#region Brain of Cthulhu: Creepers
|
||||
// 50% resist to Demon Scythe.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.DemonScythe))));
|
||||
|
||||
// 25% resist to true melee.
|
||||
NPCSpecificBalancingChanges.Add(new NPCBalancingChange(NPCID.Creeper, Do(ResistTrueMelee(0.75f))));
|
||||
#endregion
|
||||
|
||||
#region The Perforators
|
||||
|
||||
@@ -115,6 +115,19 @@ namespace CalamityMod.Buffs
|
||||
else if (type == BuffID.Rabies)
|
||||
{
|
||||
player.GetDamage<GenericDamageClass>() -= 0.2f;
|
||||
|
||||
// Reimplementation of random debuff infliction; now occurs on a consistent timer and with a different debuff list
|
||||
if (player.buffTime[buffIndex] % 600 == 300)
|
||||
{
|
||||
int debuffType = Main.rand.Next(4) switch
|
||||
{
|
||||
0 => BuffID.Weak,
|
||||
1 => BuffID.Bleeding,
|
||||
2 => BuffID.Darkness,
|
||||
_ => BuffID.BrokenArmor,
|
||||
};
|
||||
player.AddBuff(debuffType, Main.rand.Next(90, 211));
|
||||
}
|
||||
}
|
||||
else if (type == BuffID.Werewolf)
|
||||
{
|
||||
@@ -151,15 +164,6 @@ namespace CalamityMod.Buffs
|
||||
npc.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
else if (type == BuffID.Slow)
|
||||
{
|
||||
if (npc.Calamity().slowed < npc.buffTime[buffIndex])
|
||||
npc.Calamity().slowed = npc.buffTime[buffIndex];
|
||||
if ((EnemyImmunitiesList.Includes(npc.type) || npc.boss) && npc.Calamity().debuffResistanceTimer <= 0)
|
||||
npc.Calamity().debuffResistanceTimer = CalamityGlobalNPC.slowingDebuffResistanceMin + npc.Calamity().slowed;
|
||||
npc.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
if (type == BuffID.Electrified)
|
||||
{
|
||||
if (npc.Calamity().electrified < npc.buffTime[buffIndex])
|
||||
@@ -251,6 +255,10 @@ namespace CalamityMod.Buffs
|
||||
tip = tip.Replace("45", "22.5");
|
||||
break;
|
||||
|
||||
case BuffID.Rabies:
|
||||
tip = CalamityUtils.GetTextValue("Vanilla.BuffDescription.Rabies");
|
||||
break;
|
||||
|
||||
case BuffID.SugarRush:
|
||||
tip = tip.Replace("20", "10");
|
||||
break;
|
||||
|
||||
|
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 573 B |
@@ -27,7 +27,7 @@ namespace CalamityMod.Buffs.StatBuffs
|
||||
{
|
||||
player.breath = player.breathMax + 3;
|
||||
}
|
||||
if (Main.myPlayer == player.whoAmI && player.wet && NPC.downedBoss3)
|
||||
if (Main.myPlayer == player.whoAmI && player.Calamity().countsAsAnyWet && NPC.downedBoss3)
|
||||
{
|
||||
player.AddBuff(ModContent.BuffType<AquaticHeartWaterSpeed>(), 360);
|
||||
}
|
||||
|
||||
@@ -18,11 +18,6 @@ namespace CalamityMod.Buffs.StatDebuffs
|
||||
BuffID.Sets.LongerExpertDebuff[Type] = true;
|
||||
}
|
||||
|
||||
public override void Update(Player player, ref int buffIndex)
|
||||
{
|
||||
player.Calamity().gState = true;
|
||||
}
|
||||
|
||||
public override void Update(NPC npc, ref int buffIndex)
|
||||
{
|
||||
if (npc.Calamity().gState < npc.buffTime[buffIndex])
|
||||
@@ -32,20 +27,5 @@ namespace CalamityMod.Buffs.StatDebuffs
|
||||
npc.DelBuff(buffIndex);
|
||||
buffIndex--;
|
||||
}
|
||||
|
||||
internal static void DrawEffects(PlayerDrawSet drawInfo)
|
||||
{
|
||||
Player Player = drawInfo.drawPlayer;
|
||||
|
||||
if (Main.rand.NextBool(4))
|
||||
{
|
||||
Dust d = Dust.NewDustDirect(Player.Center - 10 * Vector2.One, 20, 20, DustID.IcyMerman);
|
||||
d.noGravity = Main.rand.NextBool();
|
||||
d.noLight = false;
|
||||
d.velocity *= 0.2f;
|
||||
d.velocity.Y -= Main.rand.NextFloat(0.4f, 0.6f);
|
||||
d.scale = Main.rand.NextFloat(0.4f, 0.7f);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -176,6 +176,8 @@ namespace CalamityMod.CalPlayer
|
||||
public int momentumCapacitorTime = 0;
|
||||
/// <summary> A multiplier on the player's movement speed applied while using Momentum Capacitor. </summary>
|
||||
public float momentumCapacitorBoost = 0f;
|
||||
|
||||
public bool countsAsAnyWet => (Player.armor[0].type == ItemID.FishBowl || Player.wetCount > 0 || Player.wet || Player.honeyWet || Player.lavaWet);
|
||||
#endregion
|
||||
|
||||
#region Speedrun Timer
|
||||
@@ -199,7 +201,6 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
#region External variables -- Not used by Calamity, only via Mod.Call or reflection
|
||||
public int externalAbyssLight = 0;
|
||||
public float externalBreathLossMultBoost = 0f;
|
||||
public float externalBreathTickBoost = 0f;
|
||||
public float externalFlightTimeMultBoost = 0f;
|
||||
|
||||
@@ -278,6 +279,8 @@ namespace CalamityMod.CalPlayer
|
||||
public int evilSmasherBoost = 0;
|
||||
/// <summary> Cooldown variable for spawning Plague Tainted SMG's drones from left-click bullets. </summary>
|
||||
public int plagueTaintedSMGDroneCooldown = 0;
|
||||
/// <summary> Cooldown variable which prevents using Firestorm Cannon or Spectralstorm Cannon during their overheat periods. </summary>
|
||||
public int flareGunOverheat = 0;
|
||||
/// <summary>
|
||||
/// If true, this player's Brittle Star Staff minions are in their orbiting mode.<br/>
|
||||
/// While in this mode, they orbit around the player, do not break on hits, and increase defense.
|
||||
@@ -661,8 +664,6 @@ namespace CalamityMod.CalPlayer
|
||||
#endregion
|
||||
|
||||
#region Abyss
|
||||
/// <summary> The amount of breath lost on each tick while in the Abyss. </summary>
|
||||
public float abyssBreathLossStat = 0;
|
||||
/// <summary> The rate at which breath is lost while in the Abyss. </summary>
|
||||
public float abyssBreathLossRateStat = 0;
|
||||
/// <summary> The rate at which health is decreased after running out of breath while in the Abyss. </summary>
|
||||
@@ -1265,7 +1266,6 @@ namespace CalamityMod.CalPlayer
|
||||
public bool pFlames = false;
|
||||
public bool hFlames = false;
|
||||
public bool hInferno = false;
|
||||
public bool gState = false;
|
||||
public bool bBlood = false;
|
||||
public bool brainRot = false;
|
||||
public bool heavybleeding = false;
|
||||
@@ -2004,7 +2004,6 @@ namespace CalamityMod.CalPlayer
|
||||
Player.statLifeMax2 += 45;
|
||||
|
||||
int percentMaxLifeIncrease = 0;
|
||||
|
||||
// Blood Pact and Chalice of the Blood God stack their HP bonuses if you want to equip both
|
||||
if (bloodPact)
|
||||
percentMaxLifeIncrease += 25;
|
||||
@@ -2044,7 +2043,6 @@ namespace CalamityMod.CalPlayer
|
||||
DashID = string.Empty;
|
||||
|
||||
externalAbyssLight = 0;
|
||||
externalBreathLossMultBoost = 0f;
|
||||
externalBreathTickBoost = 0f;
|
||||
externalFlightTimeMultBoost = 0f;
|
||||
externalRageEnabled = externalAdrenalineEnabled = null;
|
||||
@@ -2483,7 +2481,6 @@ namespace CalamityMod.CalPlayer
|
||||
pFlames = false;
|
||||
hFlames = false;
|
||||
hInferno = false;
|
||||
gState = false;
|
||||
bBlood = false;
|
||||
brainRot = false;
|
||||
heavybleeding = false;
|
||||
@@ -2905,7 +2902,6 @@ namespace CalamityMod.CalPlayer
|
||||
demonSwordKillMode = false;
|
||||
|
||||
externalAbyssLight = 0;
|
||||
externalBreathLossMultBoost = 0f;
|
||||
externalBreathTickBoost = 0f;
|
||||
externalFlightTimeMultBoost = 0f;
|
||||
externalColdImmunity = externalHeatImmunity = false;
|
||||
@@ -2952,7 +2948,6 @@ namespace CalamityMod.CalPlayer
|
||||
pFlames = false;
|
||||
hFlames = false;
|
||||
hInferno = false;
|
||||
gState = false;
|
||||
bBlood = false;
|
||||
brainRot = false;
|
||||
heavybleeding = false;
|
||||
@@ -3243,6 +3238,7 @@ namespace CalamityMod.CalPlayer
|
||||
ascendantTrail = false;
|
||||
evilSmasherBoost = 0;
|
||||
burningSeaBurnOut = 0;
|
||||
flareGunOverheat = 0;
|
||||
hellbornShots = 0;
|
||||
searedPanCounter = 0;
|
||||
searedPanTimer = 0;
|
||||
|
||||
@@ -230,15 +230,6 @@ namespace CalamityMod.CalPlayer
|
||||
if (calamityPlayer.eutrophication && drawInfo.shadow == 0f)
|
||||
Eutrophication.DrawEffects(drawInfo);
|
||||
|
||||
if (calamityPlayer.gState && drawInfo.shadow == 0f)
|
||||
{
|
||||
// These lines cannot be moved to Glacial State's own file
|
||||
r *= 0.13f;
|
||||
g *= 0.66f;
|
||||
|
||||
GlacialState.DrawEffects(drawInfo);
|
||||
}
|
||||
|
||||
if (calamityPlayer.gsInferno && drawInfo.shadow == 0f)
|
||||
GodSlayerInferno.DrawEffects(drawInfo);
|
||||
|
||||
|
||||
@@ -370,7 +370,7 @@ namespace CalamityMod.CalPlayer
|
||||
if (ZoneAbyss || ZoneSulphur)
|
||||
canSulphurFish = true;
|
||||
|
||||
Item item = Player.ActiveItem();
|
||||
Item item = Player.HeldItem;
|
||||
if (!canSulphurFish || item.fishingPole <= 0 || item.holdStyle != 1)
|
||||
fishingLevel = -1;
|
||||
|
||||
|
||||
@@ -2702,15 +2702,20 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
if (inkBomb && !abyssalMirror && !eclipseMirror)
|
||||
{
|
||||
var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType<Items.Accessories.InkBomb>()));
|
||||
if (Player.whoAmI == Main.myPlayer && !Player.HasCooldown(Cooldowns.InkBomb.ID))
|
||||
if (Player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
Player.AddCooldown(Cooldowns.InkBomb.ID, CalamityUtils.SecondsToFrames(20));
|
||||
rogueStealth += 0.5f;
|
||||
if (!Player.HasCooldown(Cooldowns.InkBomb.ID))
|
||||
{
|
||||
Player.AddCooldown(Cooldowns.InkBomb.ID, CalamityUtils.SecondsToFrames(20));
|
||||
rogueStealth += 0.5f;
|
||||
SoundEngine.PlaySound(SoundID.NPCDeath28 with { Volume = 2f }, Player.Center);
|
||||
}
|
||||
|
||||
var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType<Items.Accessories.InkBomb>()));
|
||||
SoundEngine.PlaySound(SoundID.Item1, Player.Center);
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
SoundEngine.PlaySound(SoundID.Item61, Player.Center);
|
||||
int ink = Projectile.NewProjectile(source, Player.Center.X, Player.Center.Y, Main.rand.NextFloat(-3f, 3f), Main.rand.NextFloat(-0f, -4f), ModContent.ProjectileType<InkBombProjectile>(), 0, 0, Player.whoAmI);
|
||||
int ink = Projectile.NewProjectile(Player.GetSource_FromThis(), Player.Center, Vector2.One.RotatedByRandom(MathHelper.TwoPi) * 2f, ModContent.ProjectileType<InkBombProjectile>(), 0, 0, Player.whoAmI);
|
||||
if (ink.WithinBounds(Main.maxProjectiles))
|
||||
Main.projectile[ink].DamageType = DamageClass.Generic;
|
||||
}
|
||||
|
||||
@@ -766,47 +766,6 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
#endregion
|
||||
|
||||
// Life regen soft cap.
|
||||
if (Player.statLife < actualMaxLife)
|
||||
{
|
||||
// The soft cap doesn't apply if the player is not moving and not using a weapon while having any of the following:
|
||||
// Shiny Stone, Cosmic Freeze buff from the Cosmic Discharge, Demonshade Armor, Regenator, or The Camper.
|
||||
int baseLifeRegenBoost = 4;
|
||||
bool noLifeRegenCap = (Player.shinyStone || cFreeze || shadeRegen || camper || regenator) &&
|
||||
Player.StandingStill() && Player.itemAnimation == 0;
|
||||
|
||||
if (!noLifeRegenCap)
|
||||
{
|
||||
// Calculate the % of HP the player has left.
|
||||
float maxLifeRatio = Player.statLife / (float)actualMaxLife;
|
||||
|
||||
// Calculate the ratio of the player's current max life relative to the starting HP of 100.
|
||||
// This makes the soft cap far less harsh at lower amounts of max life.
|
||||
// Ranges from 20 (at 100 max life) to 4 (at 500 max life) to 2 (at 1000 max life) to 1 (at greater than 2000 max life).
|
||||
int lifeRegenSoftCapMax = 20;
|
||||
int lifeRegenSoftCapMin = (int)Math.Round(100f / actualMaxLife * lifeRegenSoftCapMax);
|
||||
|
||||
// The soft cap for life regen which ranges from 20 (at less than 5% HP) to 1 (at greater than or equal to 95% HP).
|
||||
// This value is capped at a min and max amount.
|
||||
int lifeRegenSoftCap = (int)MathHelper.Clamp((int)Math.Round((1f - maxLifeRatio) * lifeRegenSoftCapMax), lifeRegenSoftCapMin, lifeRegenSoftCapMax);
|
||||
|
||||
// If life regen is greater than the calculated soft cap, reduce it.
|
||||
if (Player.lifeRegen - baseLifeRegenBoost > lifeRegenSoftCap)
|
||||
{
|
||||
// The scalar used to calculate how much the life regen stat should be reduced by.
|
||||
// Ranges from 1 (at 0% HP) to 2 (at 100% HP).
|
||||
float lifeRegenScalar = 1f + maxLifeRatio;
|
||||
|
||||
// Calculate the amount of life regen the player should get according to the soft cap and their current % HP remaining.
|
||||
// The higher the player's % HP remaining the less life regen they get and vice versa.
|
||||
int defLifeRegen = (int)((Player.lifeRegen - baseLifeRegenBoost) / lifeRegenScalar);
|
||||
|
||||
// Set the player's life regen to the scaled amount.
|
||||
Player.lifeRegen = baseLifeRegenBoost + defLifeRegen;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (regenator) // Gives special regen of it's own, but disables all regular life regen
|
||||
{
|
||||
if (Player.miscCounter % 7 == 0 && Player.statLife < (int)(Player.statLifeMax2 * 0.5f))
|
||||
|
||||
@@ -479,13 +479,17 @@ namespace CalamityMod.CalPlayer
|
||||
IsFirstDashFrame = false;
|
||||
else
|
||||
IsFirstDashFrame = true;
|
||||
|
||||
|
||||
// THIS MUST BE NEAR THE END OF PostUpdateMiscEffects SO ALL OTHER RUN SPEED IS DONE FIRST. DO NOT PUT ANY RUN SPEED AFTER THIS
|
||||
|
||||
|
||||
// Multiplies movement speed by 1.5x so that you don't feel like a snail in the early game.
|
||||
// This applies to movement speed boosts as well as base speed to ensure they are actually worth their listed value compared to base speed
|
||||
//
|
||||
// Disabled while Overhaul is enabled, because Overhaul does very similar things to make movement more snappy
|
||||
if (ExternalMods.overhaul is null && CalamityServerConfig.Instance.FasterBaseSpeed)
|
||||
// 22JUN2025: Ozzatron: Disabled while Remnants is enabled, because Remnants has its own move speed reworks.
|
||||
|
||||
bool ignoreSpeedConfig = ExternalMods.overhaul is not null || ExternalMods.remnants is not null;
|
||||
if (!ignoreSpeedConfig && CalamityServerConfig.Instance.FasterBaseSpeed)
|
||||
Player.moveSpeed *= BalancingConstants.DefaultMoveSpeedBoost;
|
||||
|
||||
// This is used to increase horizontal velocity based on the player's movement speed stat.
|
||||
@@ -2012,7 +2016,7 @@ namespace CalamityMod.CalPlayer
|
||||
SyncCooldownRemoval(Main.dedServ, expiredCooldowns);
|
||||
|
||||
// Grant the player 5 seconds of immunity to immobilizing debuffs after an immobilizing debuff wears off.
|
||||
if (Player.stoned || Player.frozen || Player.webbed || gState)
|
||||
if (Player.stoned || Player.frozen || Player.webbed)
|
||||
{
|
||||
ImmobilityDebuffImmunityTimer = ImmobilityDebuffImmunityTimerMax;
|
||||
}
|
||||
@@ -2022,7 +2026,6 @@ namespace CalamityMod.CalPlayer
|
||||
Player.buffImmune[BuffID.Stoned] = true;
|
||||
Player.buffImmune[BuffID.Frozen] = true;
|
||||
Player.buffImmune[BuffID.Webbed] = true;
|
||||
Player.buffImmune[ModContent.BuffType<GlacialState>()] = true;
|
||||
}
|
||||
|
||||
if (arsenalCooldown > 0)
|
||||
@@ -2047,6 +2050,8 @@ namespace CalamityMod.CalPlayer
|
||||
--fullRageSoundCountdownTimer;
|
||||
if (plagueTaintedSMGDroneCooldown > 0)
|
||||
plagueTaintedSMGDroneCooldown--;
|
||||
if (flareGunOverheat > 0)
|
||||
flareGunOverheat--;
|
||||
if (momentumCapacitorTime > 0)
|
||||
--momentumCapacitorTime;
|
||||
if (phantomicHeartRegen > 0 && phantomicHeartRegen < 1000)
|
||||
@@ -2621,7 +2626,6 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
Player.buffImmune[BuffID.Frozen] = true;
|
||||
Player.buffImmune[BuffID.Chilled] = true;
|
||||
Player.buffImmune[ModContent.BuffType<GlacialState>()] = true;
|
||||
}
|
||||
|
||||
// Cosmic Discharge Cosmic Freeze buff, gives surrounding enemies the Glacial State debuff
|
||||
@@ -2734,23 +2738,19 @@ namespace CalamityMod.CalPlayer
|
||||
// Plagued Fuel Pack and Blunder Booster effects
|
||||
if (jetPackDash > 0 && Player.whoAmI == Main.myPlayer)
|
||||
{
|
||||
int velocityAmt = blunderBooster ? 35 : 25;
|
||||
int velocityMult = jetPackDash > 1 ? velocityAmt : 5;
|
||||
Player.velocity = new Vector2(jetPackDirection, -1) * velocityMult;
|
||||
int velocityMult = (int)((blunderBooster ? 35 : 25) * Utils.GetLerpValue(-4, 5, jetPackDash, true));
|
||||
Player.velocity = new Vector2(jetPackDirection, -1f) * velocityMult;
|
||||
|
||||
if (blunderBooster)
|
||||
{
|
||||
int lightningCount = Main.rand.Next(5, 7);
|
||||
int lightningCount = 4;
|
||||
var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType<BlunderBooster>()));
|
||||
for (int i = 0; i < lightningCount; i++)
|
||||
{
|
||||
Vector2 lightningVel = new Vector2(Main.rand.NextFloat(-1, 1), Main.rand.NextFloat(-1, 1));
|
||||
lightningVel.Normalize();
|
||||
lightningVel *= Main.rand.NextFloat(1f, 2f);
|
||||
int damage = (int)Player.GetTotalDamage<RogueDamageClass>().ApplyTo(30);
|
||||
Vector2 lightningVel = Player.velocity.SafeNormalize(Vector2.UnitX).RotatedByRandom(0.3f) * Main.rand.NextFloat(7f, 10f);
|
||||
int damage = (int)Player.GetTotalDamage<RogueDamageClass>().ApplyTo(35);
|
||||
|
||||
int projectile = Projectile.NewProjectile(source, Player.Center, lightningVel, ModContent.ProjectileType<BlunderBoosterLightning>(), damage, 0, Player.whoAmI, Main.rand.Next(2), 0f);
|
||||
Main.projectile[projectile].timeLeft = Main.rand.Next(180, 240);
|
||||
if (projectile.WithinBounds(Main.maxProjectiles))
|
||||
Main.projectile[projectile].DamageType = DamageClass.Generic;
|
||||
}
|
||||
@@ -2765,17 +2765,14 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
else if (plaguedFuelPack)
|
||||
{
|
||||
int numClouds = Main.rand.Next(8, 10);
|
||||
int numClouds = 3;
|
||||
var source = Player.GetSource_Accessory(FindAccessory(ModContent.ItemType<PlaguedFuelPack>()));
|
||||
for (int i = 0; i < numClouds; i++)
|
||||
{
|
||||
Vector2 cloudVelocity = new Vector2(Main.rand.NextFloat(-1, 1), Main.rand.NextFloat(-1, 1));
|
||||
cloudVelocity.Normalize();
|
||||
cloudVelocity *= Main.rand.NextFloat(0f, 1f);
|
||||
int damage = (int)Player.GetTotalDamage<RogueDamageClass>().ApplyTo(20);
|
||||
Vector2 cloudVelocity = Player.velocity.SafeNormalize(Vector2.UnitX).RotatedByRandom(0.3f) * Main.rand.NextFloat(5f, 7f);
|
||||
int damage = (int)Player.GetTotalDamage<RogueDamageClass>().ApplyTo(30);
|
||||
|
||||
int projectile = Projectile.NewProjectile(source, Player.Center, cloudVelocity, ModContent.ProjectileType<PlaguedFuelPackCloud>(), damage, 0, Player.whoAmI, 0, 0);
|
||||
Main.projectile[projectile].timeLeft = Main.rand.Next(180, 240);
|
||||
if (projectile.WithinBounds(Main.maxProjectiles))
|
||||
Main.projectile[projectile].DamageType = DamageClass.Generic;
|
||||
}
|
||||
@@ -2955,36 +2952,7 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
|
||||
// Breath lost while at zero breath
|
||||
double breathLoss = Main.remixWorld ? (point.Y < abyssLevel1 ? 50D * depthRatioFromAbyssLayer1 : 0D) : (point.Y > abyssLevel1 ? 50D * depthRatioFromAbyssLayer1 : 0D);
|
||||
|
||||
// Breath Loss Multiplier, depending on gear
|
||||
// 27AUG2024: Ozzatron: fixed this being subtractive like mining speed. now doesn't stack exponentially
|
||||
// It is now a multiplier for the time it takes to lose any unit amount of breath
|
||||
double breathLossTimeMult = 1D +
|
||||
(Player.gills ? 0.2 : 0D) + // 1.2
|
||||
(oceanCrest ? 0.2 : 0D) + // 1.2
|
||||
(victideSet ? 0.2 : 0D) + // 1.2
|
||||
(Player.accDivingHelm ? 0.25 : 0D) + // 1.25
|
||||
(Player.arcticDivingGear ? 0.25 : 0D) + // 1.25
|
||||
(aquaticEmblem ? 0.25 : 0D) + // 1.25
|
||||
(Player.accMerman ? 0.3 : 0D) + // 1.3
|
||||
(reaverExplore ? 0.3 : 0D) + // 1.3
|
||||
((aquaticHeart && NPC.downedBoss3) ? 0.3 : 0D) + // 1.3
|
||||
(abyssalDivingSuit ? 0.3 : 0D) + // 1.3
|
||||
externalBreathLossMultBoost;
|
||||
|
||||
// Invert the breath loss time multiplier, to get the multiplier for the speed at which breath is actually lost
|
||||
double breathLossMult = 1D / breathLossTimeMult;
|
||||
|
||||
// Limit the multiplier to 5%
|
||||
if (breathLossMult < 0.05)
|
||||
breathLossMult = 0.05;
|
||||
|
||||
// Reduce breath lost while at zero breath, depending on gear
|
||||
breathLoss *= breathLossTimeMult;
|
||||
|
||||
// Record the final breath loss for the stat meter
|
||||
abyssBreathLossStat = (float)breathLoss;
|
||||
double breathLoss = Main.remixWorld ? (point.Y < abyssLevel1 ? 1D : 0D) : (point.Y > abyssLevel1 ? 1D : 0D);
|
||||
|
||||
// Defense loss
|
||||
int defenseLoss = (int)(120D * depthRatio);
|
||||
@@ -3005,24 +2973,8 @@ namespace CalamityMod.CalPlayer
|
||||
// Record the final defense reduction for the stat meter
|
||||
abyssDefenseLossStat = defenseLoss;
|
||||
|
||||
// Bleed effect based on abyss layer
|
||||
if (ZoneAbyssLayer4)
|
||||
{
|
||||
Player.bleed = true;
|
||||
}
|
||||
else if (ZoneAbyssLayer3)
|
||||
{
|
||||
if (!abyssalDivingSuit)
|
||||
Player.bleed = true;
|
||||
}
|
||||
else if (ZoneAbyssLayer2)
|
||||
{
|
||||
if (!depthCharm)
|
||||
Player.bleed = true;
|
||||
}
|
||||
|
||||
// Ticks (frames) until breath is deducted from the breath meter
|
||||
double tick = 12D * (1D - depthRatio);
|
||||
double tick = 10D * (1D - depthRatio);
|
||||
|
||||
// Prevent 0
|
||||
if (tick < 1D)
|
||||
@@ -3030,16 +2982,16 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
// Tick (frame) multiplier, depending on gear
|
||||
double tickMult = 1D +
|
||||
(Player.gills ? 4D : 0D) + // 5
|
||||
(oceanCrest ? 4D : 0D) + // 5
|
||||
(Player.ignoreWater ? 5D : 0D) + // 10
|
||||
(Player.accDivingHelm ? 10D : 0D) + // 20
|
||||
(Player.arcticDivingGear ? 10D : 0D) + // 30
|
||||
(aquaticEmblem ? 10D : 0D) + // 40
|
||||
(Player.accMerman ? 15D : 0D) + // 55
|
||||
(victideSet ? 5D : 0D) + // 60
|
||||
((aquaticHeart && NPC.downedBoss3) ? 15D : 0D) + // 75
|
||||
(abyssalDivingSuit ? 15D : 0D) + // 90
|
||||
(Player.gills ? 2D : 0D) +
|
||||
(oceanCrest ? 2D : 0D) +
|
||||
(Player.ignoreWater ? 3D : 0D) +
|
||||
(Player.accDivingHelm ? 5D : 0D) +
|
||||
(Player.arcticDivingGear ? 5D : 0D) +
|
||||
(aquaticEmblem ? 5D : 0D) +
|
||||
(Player.accMerman ? 8D : 0D) +
|
||||
(victideSet ? 2D : 0D) +
|
||||
((aquaticHeart && NPC.downedBoss3) ? 8D : 0D) +
|
||||
(abyssalDivingSuit ? 8D : 0D) +
|
||||
externalBreathTickBoost;
|
||||
|
||||
// Limit the multiplier to 50
|
||||
@@ -3053,6 +3005,8 @@ namespace CalamityMod.CalPlayer
|
||||
abyssBreathLossRateStat = (float)tick;
|
||||
|
||||
float resistanceSlowdownFactor = 1f;
|
||||
if (hPressure)
|
||||
resistanceSlowdownFactor -= abyssalDivingSuit ? 0.2f : 0.5f;
|
||||
|
||||
// Reduce breath over ticks (frames)
|
||||
abyssBreathCD++;
|
||||
@@ -3065,9 +3019,6 @@ namespace CalamityMod.CalPlayer
|
||||
if (Player.breath > 0)
|
||||
{
|
||||
Player.breath -= (int)(cDepth && !depthCharm ? breathLoss + 1D : breathLoss);
|
||||
|
||||
if (hPressure)
|
||||
resistanceSlowdownFactor -= (int)(!abyssalDivingSuit ? 1.2f : 0.5f);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3083,8 +3034,8 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
// Resistance to life loss at zero breath
|
||||
int lifeLossAtZeroBreathResist = 0 +
|
||||
(depthCharm ? 3 : 0) +
|
||||
(abyssalDivingSuit ? 6 : 0);
|
||||
(depthCharm ? 4 : 0) +
|
||||
(abyssalDivingSuit ? 5 : 0);
|
||||
|
||||
// Reduce life loss, depending on gear
|
||||
lifeLossAtZeroBreath -= lifeLossAtZeroBreathResist;
|
||||
@@ -3208,7 +3159,7 @@ namespace CalamityMod.CalPlayer
|
||||
// Aquatic Emblem bonus
|
||||
if (aquaticEmblem)
|
||||
{
|
||||
if (Player.IsUnderwater() && Player.wet && !Player.lavaWet && !Player.honeyWet &&
|
||||
if (countsAsAnyWet && !Player.lavaWet && !Player.honeyWet &&
|
||||
!Player.mount.Active)
|
||||
{
|
||||
if (aquaticBoost > 0f)
|
||||
@@ -3363,12 +3314,12 @@ namespace CalamityMod.CalPlayer
|
||||
if (AdamantiteSet)
|
||||
Player.statDefense += AdamantiteSetDefenseBoost;
|
||||
|
||||
// Warmth makes Chilled, Frozen, and Glacial State tick down 3x as fast
|
||||
// Warmth makes Chilled and Frozen tick down 3x as fast
|
||||
if (Player.HasBuff(BuffID.Warmth))
|
||||
{
|
||||
for (int b = 0; b < Player.MaxBuffs; b++)
|
||||
{
|
||||
if (Player.buffType[b] == BuffID.Chilled || Player.buffType[b] == BuffID.Frozen || Player.buffType[b] == ModContent.BuffType<GlacialState>())
|
||||
if (Player.buffType[b] == BuffID.Chilled || Player.buffType[b] == BuffID.Frozen)
|
||||
{
|
||||
if (Player.buffTime[b] > 3)
|
||||
{
|
||||
@@ -3733,11 +3684,7 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
|
||||
if (tarraSet)
|
||||
{
|
||||
if (!tarraMelee)
|
||||
Player.calmed = true;
|
||||
Player.lifeMagnet = true;
|
||||
}
|
||||
|
||||
if (wDeath && !laudanum && !purity)
|
||||
Player.GetDamage<GenericDamageClass>() -= 0.2f;
|
||||
@@ -3761,14 +3708,6 @@ namespace CalamityMod.CalPlayer
|
||||
Player.statDefense -= RemsRevenge.WitherDefenseReduction;
|
||||
}
|
||||
|
||||
if (gState)
|
||||
{
|
||||
Player.velocity.X *= 0.5f;
|
||||
Player.velocity.Y += 0.05f;
|
||||
if (Player.velocity.Y > 15f)
|
||||
Player.velocity.Y = 15f;
|
||||
}
|
||||
|
||||
if (eutrophication && !purity)
|
||||
Player.velocity = Vector2.Zero;
|
||||
|
||||
|
||||
@@ -103,7 +103,7 @@ namespace CalamityMod.CalPlayer
|
||||
break;
|
||||
|
||||
case ItemID.FieryGreatsword:
|
||||
target.AddBuff(BuffID.OnFire3, 180);
|
||||
target.AddBuff(BuffID.OnFire3, 90);
|
||||
break;
|
||||
|
||||
case ItemID.IceSickle:
|
||||
@@ -138,7 +138,7 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
ItemLifesteal(target, item, damageDone);
|
||||
ItemOnHit(item, damageDone, target.Center, hit.Crit, target.IsAnEnemy(false, true), targetIsDummy);
|
||||
NPCDebuffs(target, item.CountsAsClass<MeleeDamageClass>(), item.CountsAsClass<RangedDamageClass>(), item.CountsAsClass<MagicDamageClass>(), item.CountsAsClass<SummonDamageClass>(), item.CountsAsClass<ThrowingDamageClass>(), item.CountsAsClass<SummonMeleeSpeedDamageClass>());
|
||||
NPCDebuffs(target, item.CountsAsClass<MeleeDamageClass>(), item.CountsAsClass<RangedDamageClass>(), item.CountsAsClass<MagicDamageClass>(), item.CountsAsClass<SummonDamageClass>(), item.CountsAsClass<ThrowingDamageClass>(), item.CountsAsClass<SummonMeleeSpeedDamageClass>(), hit.Crit);
|
||||
|
||||
// Ursa Sergeant slash cooldown is reset on kill
|
||||
if (ursaSergeant && target.life <= 0 && target.realLife == -1)
|
||||
@@ -608,7 +608,7 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
ProjLifesteal(target, proj, damageDone, hit.Crit);
|
||||
ProjOnHit(proj, target.Center, hit.Crit, target.IsAnEnemy(false), targetIsDummy);
|
||||
NPCDebuffs(target, proj.CountsAsClass<MeleeDamageClass>(), proj.CountsAsClass<RangedDamageClass>(), proj.CountsAsClass<MagicDamageClass>(), proj.CountsAsClass<SummonDamageClass>(), proj.CountsAsClass<ThrowingDamageClass>(), proj.CountsAsClass<SummonMeleeSpeedDamageClass>(), true, proj.noEnchantments);
|
||||
NPCDebuffs(target, proj.CountsAsClass<MeleeDamageClass>(), proj.CountsAsClass<RangedDamageClass>(), proj.CountsAsClass<MagicDamageClass>(), proj.CountsAsClass<SummonDamageClass>(), proj.CountsAsClass<ThrowingDamageClass>(), proj.CountsAsClass<SummonMeleeSpeedDamageClass>(), hit.Crit, true, proj.noEnchantments);
|
||||
|
||||
// Shattered Community tracks all damage dealt with Rage Mode (ignoring dummies).
|
||||
if (targetIsDummy)
|
||||
@@ -838,8 +838,9 @@ namespace CalamityMod.CalPlayer
|
||||
if (dynamoStemCells && MiniSwarmerCooldown <= 0 && proj.CountsAsClass<RangedDamageClass>())
|
||||
{
|
||||
MiniSwarmerCooldown = DynamoStemCells.MiniSwarmerCooldown;
|
||||
|
||||
Vector2 velocity = proj.velocity.SafeNormalize(Vector2.UnitY) * 19;
|
||||
Vector2 directionToMouse = Main.MouseWorld - Player.Center;
|
||||
directionToMouse.Normalize();
|
||||
Vector2 velocity = directionToMouse * 19;
|
||||
int MiniSwamerDamage = (int)Player.GetTotalDamage<RangedDamageClass>().ApplyTo(DynamoStemCells.MiniSwamerDamage);
|
||||
Projectile.NewProjectile(source, Player.Center, velocity, ProjectileType<MiniatureFolly>(), MiniSwamerDamage, 2f, proj.owner);
|
||||
}
|
||||
@@ -1148,9 +1149,9 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
Projectile.NewProjectile(spawnSource, proj.Center, Vector2.Zero, ProjectileType<TitanHeartBoom>(), damage, proj.knockBack, proj.owner, 1f, 0f);
|
||||
SoundEngine.PlaySound(SoundID.Item14, proj.Center);
|
||||
for (int dustexplode = 0; dustexplode < 180; dustexplode++)
|
||||
for (int dustexplode = 0; dustexplode < 120; dustexplode++)
|
||||
{
|
||||
Vector2 dustd = Vector2.One.RotatedBy(MathHelper.ToRadians(dustexplode * 2)) * 1.7f;
|
||||
Vector2 dustd = Vector2.One.RotatedBy(MathHelper.ToRadians(dustexplode * 3)) * 1.7f;
|
||||
Dust dust = Dust.NewDustPerfect(proj.Center, Main.rand.NextBool() ? DustType<AstralBlue>() : DustType<AstralOrange>(), dustd, Alpha: 100);
|
||||
dust.noGravity = true;
|
||||
}
|
||||
@@ -1200,7 +1201,7 @@ namespace CalamityMod.CalPlayer
|
||||
#endregion
|
||||
|
||||
#region Debuffs
|
||||
public void NPCDebuffs(NPC target, bool melee, bool ranged, bool magic, bool summon, bool rogue, bool whip, bool proj = false, bool noFlask = false)
|
||||
public void NPCDebuffs(NPC target, bool melee, bool ranged, bool magic, bool summon, bool rogue, bool whip, bool crit, bool proj = false, bool noFlask = false)
|
||||
{
|
||||
if (melee && !noFlask) // Prevents Deep Sea Dumbell from snagging true melee debuff memes
|
||||
{
|
||||
@@ -1307,7 +1308,7 @@ namespace CalamityMod.CalPlayer
|
||||
target.AddBuff(BuffType<HadopelagicPressure>(), 180);
|
||||
if (sulphurSet)
|
||||
target.AddBuff(BuffID.Poisoned, 60);
|
||||
if (ilSpark && Player.IsUnderwater())
|
||||
if (ilSpark && Player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
int duration = 60;
|
||||
target.AddBuff(BuffType<StaticDischarge>(), duration);
|
||||
@@ -1322,7 +1323,11 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
if (vexation)
|
||||
{
|
||||
target.AddBuff(BuffID.Venom, 120, false);
|
||||
target.AddBuff(BuffID.Venom, 120, false);
|
||||
}
|
||||
if (snowRuffianSet && ranged && crit)
|
||||
{
|
||||
target.AddBuff(BuffID.Frostburn, 300, false);
|
||||
}
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -72,11 +72,10 @@ namespace CalamityMod
|
||||
int normalDamage = contactDamage[0];
|
||||
int expertDamage = contactDamage[1] == -1 ? -1 : (int)Math.Round(contactDamage[1] / damageAdjustment);
|
||||
int revengeanceDamage = contactDamage[2] == -1 ? -1 : (int)Math.Round(contactDamage[2] / damageAdjustment);
|
||||
int deathDamage = contactDamage[3] == -1 ? -1 : (int)Math.Round(contactDamage[3] / damageAdjustment);
|
||||
int masterDamage = contactDamage[4] == -1 ? -1 : (int)Math.Round(contactDamage[4] / damageAdjustment);
|
||||
int masterDamage = contactDamage[3] == -1 ? -1 : (int)Math.Round(contactDamage[3] / damageAdjustment);
|
||||
|
||||
// If the assigned value would be -1, don't actually assign it. This allows for conditionally disabling the system.
|
||||
int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.death ? deathDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage;
|
||||
int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage;
|
||||
if (damageToUse != -1)
|
||||
npc.damage = damageToUse;
|
||||
}
|
||||
@@ -95,10 +94,9 @@ namespace CalamityMod
|
||||
int normalDamage = (int)Math.Round(projectileDamage[0] / damageAdjustment);
|
||||
int expertDamage = (int)Math.Round(projectileDamage[1] / damageAdjustment);
|
||||
int revengeanceDamage = (int)Math.Round(projectileDamage[2] / damageAdjustment);
|
||||
int deathDamage = (int)Math.Round(projectileDamage[3] / damageAdjustment);
|
||||
int masterDamage = (int)Math.Round(projectileDamage[4] / damageAdjustment);
|
||||
int masterDamage = (int)Math.Round(projectileDamage[3] / damageAdjustment);
|
||||
|
||||
int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.death ? deathDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage;
|
||||
int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage;
|
||||
|
||||
return damageToUse;
|
||||
}
|
||||
@@ -117,10 +115,9 @@ namespace CalamityMod
|
||||
int normalDamage = (int)Math.Round(projectileDamage[0] / damageAdjustment);
|
||||
int expertDamage = (int)Math.Round(projectileDamage[1] / damageAdjustment);
|
||||
int revengeanceDamage = (int)Math.Round(projectileDamage[2] / damageAdjustment);
|
||||
int deathDamage = (int)Math.Round(projectileDamage[3] / damageAdjustment);
|
||||
int masterDamage = (int)Math.Round(projectileDamage[4] / damageAdjustment);
|
||||
int masterDamage = (int)Math.Round(projectileDamage[3] / damageAdjustment);
|
||||
|
||||
int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.death ? deathDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage;
|
||||
int damageToUse = Main.masterMode ? masterDamage : CalamityWorld.revenge ? revengeanceDamage : Main.expertMode ? expertDamage : normalDamage;
|
||||
|
||||
return damageToUse;
|
||||
}
|
||||
@@ -131,8 +128,7 @@ namespace CalamityMod
|
||||
{
|
||||
bool exists = EnemyStats.ProjectileDamageValues.TryGetValue(new Tuple<int, int>(npc.type, projType), out int[] projectileDamage);
|
||||
return !exists ? 1 // Base case for safety, in case the array is not initialized yet.
|
||||
: Main.masterMode ? projectileDamage[4]
|
||||
: CalamityWorld.death ? projectileDamage[3]
|
||||
: Main.masterMode ? projectileDamage[3]
|
||||
: CalamityWorld.revenge ? projectileDamage[2]
|
||||
: Main.expertMode ? projectileDamage[1]
|
||||
: projectileDamage[0];
|
||||
@@ -293,558 +289,543 @@ namespace CalamityMod
|
||||
|
||||
EnemyStats.ContactDamageValues = new SortedDictionary<int, int[]>
|
||||
{
|
||||
{ NPCID.KingSlime, new int[] { 40, 64, 80, 96, 144 } },
|
||||
{ ModContent.NPCType<KingSlimeJewelEmerald>(), new int[] { 30, 44, 60, 76, 114 } },
|
||||
{ NPCID.KingSlime, new int[] { 40, 64, 80, 144 } },
|
||||
{ ModContent.NPCType<KingSlimeJewelEmerald>(), new int[] { 30, 44, 60, 114 } },
|
||||
|
||||
{ ModContent.NPCType<DesertScourgeHead>(), new int[] { 45, 66, 88, 110, 165 } },
|
||||
{ ModContent.NPCType<DesertScourgeBody>(), new int[] { 24, 32, 40, 48, 72 } },
|
||||
{ ModContent.NPCType<DesertScourgeTail>(), new int[] { 18, 24, 30, 36, 54 } },
|
||||
{ ModContent.NPCType<DesertNuisanceHead>(), new int[] { 30, 44, 60, 76, 114 } },
|
||||
{ ModContent.NPCType<DesertNuisanceBody>(), new int[] { 21, 28, 32, 36, 63 } },
|
||||
{ ModContent.NPCType<DesertNuisanceTail>(), new int[] { 12, 16, 20, 24, 36 } },
|
||||
{ ModContent.NPCType<DesertNuisanceHeadYoung>(), new int[] { 30, 44, 60, 76, 114 } },
|
||||
{ ModContent.NPCType<DesertNuisanceBodyYoung>(), new int[] { 21, 28, 32, 36, 63 } },
|
||||
{ ModContent.NPCType<DesertNuisanceTailYoung>(), new int[] { 12, 16, 20, 24, 36 } },
|
||||
{ ModContent.NPCType<DesertScourgeHead>(), new int[] { 45, 66, 88, 165 } },
|
||||
{ ModContent.NPCType<DesertScourgeBody>(), new int[] { 24, 32, 40, 72 } },
|
||||
{ ModContent.NPCType<DesertScourgeTail>(), new int[] { 18, 24, 30, 54 } },
|
||||
{ ModContent.NPCType<DesertNuisanceHead>(), new int[] { 30, 44, 60, 114 } },
|
||||
{ ModContent.NPCType<DesertNuisanceBody>(), new int[] { 21, 28, 32, 63 } },
|
||||
{ ModContent.NPCType<DesertNuisanceTail>(), new int[] { 12, 16, 20, 36 } },
|
||||
{ ModContent.NPCType<DesertNuisanceHeadYoung>(), new int[] { 30, 44, 60, 114 } },
|
||||
{ ModContent.NPCType<DesertNuisanceBodyYoung>(), new int[] { 21, 28, 32, 63 } },
|
||||
{ ModContent.NPCType<DesertNuisanceTailYoung>(), new int[] { 12, 16, 20, 36 } },
|
||||
|
||||
{ NPCID.EyeofCthulhu, new int[] {
|
||||
24, // 36 in phase 2
|
||||
30, // 45 in phase 2
|
||||
40, // 48 in phase 2, 56 in phase 3
|
||||
50, // 60 in phase 2, 70 in phase 3
|
||||
75 } }, // Vanilla: 113 in phase 2; Rev+: 90 in phase 2, 105 in phase 3
|
||||
{ NPCID.ServantofCthulhu, new int[] { 18, 24, 30, 36, 54 } },
|
||||
{ ModContent.NPCType<BloodlettingServant>(), new int[] { 20, 26, 34, 42, 63 } }, // In phase 2: 26, 34, 44, 55, 82
|
||||
{ NPCID.ServantofCthulhu, new int[] { 18, 24, 30, 54 } },
|
||||
|
||||
{ ModContent.NPCType<Crabulon>(), new int[] { 40, 64, 80, 96, 144 } },
|
||||
{ ModContent.NPCType<CrabShroom>(), new int[] { 25, 50, 62, 74, 111 } },
|
||||
{ ModContent.NPCType<Crabulon>(), new int[] { 40, 64, 80, 144 } },
|
||||
{ ModContent.NPCType<CrabShroom>(), new int[] { 25, 50, 62, 111 } },
|
||||
|
||||
{ NPCID.EaterofWorldsHead, new int[] { 38, 55, 77, 99, 165 } },
|
||||
{ NPCID.EaterofWorldsBody, new int[] { 18, 24, 32, 40, 60 } },
|
||||
{ NPCID.EaterofWorldsTail, new int[] { 12, 16, 24, 32, 48 } },
|
||||
{ NPCID.VileSpitEaterOfWorlds, new int[] { -1, 64, 64, 64, 96 } },
|
||||
{ NPCID.EaterofWorldsHead, new int[] { 38, 55, 77, 165 } },
|
||||
{ NPCID.EaterofWorldsBody, new int[] { 18, 24, 32, 60 } },
|
||||
{ NPCID.EaterofWorldsTail, new int[] { 12, 16, 24, 48 } },
|
||||
{ NPCID.VileSpitEaterOfWorlds, new int[] { -1, 64, 64, 96 } },
|
||||
|
||||
{ NPCID.BrainofCthulhu, new int[] { 36, 54, 81, 108, 162 } },
|
||||
{ NPCID.Creeper, new int[] { 24, 36, 66, 96, 144 } },
|
||||
{ NPCID.BrainofCthulhu, new int[] { 36, 54, 81, 162 } },
|
||||
{ NPCID.Creeper, new int[] { 24, 36, 66, 144 } },
|
||||
|
||||
{ ModContent.NPCType<HiveMind>(), new int[] { 42, 63, 81, 99, 162 } },
|
||||
{ ModContent.NPCType<DankCreeper>(), new int[] { 30, 50, 62, 74, 111 } },
|
||||
{ ModContent.NPCType<HiveMind>(), new int[] { 42, 63, 81, 162 } },
|
||||
{ ModContent.NPCType<DankCreeper>(), new int[] { 30, 50, 62, 111 } },
|
||||
|
||||
{ ModContent.NPCType<PerforatorHive>(), new int[] { 36, 54, 63, 72, 108 } },
|
||||
{ ModContent.NPCType<PerforatorHeadLarge>(), new int[] { 54, 90, 108, 126, 189 } },
|
||||
{ ModContent.NPCType<PerforatorBodyLarge>(), new int[] { 28, 48, 56, 64, 96 } },
|
||||
{ ModContent.NPCType<PerforatorTailLarge>(), new int[] { 22, 36, 42, 48, 72 } },
|
||||
{ ModContent.NPCType<PerforatorHeadMedium>(), new int[] { 42, 70, 84, 98, 147 } },
|
||||
{ ModContent.NPCType<PerforatorBodyMedium>(), new int[] { 24, 42, 50, 58, 87 } },
|
||||
{ ModContent.NPCType<PerforatorTailMedium>(), new int[] { 18, 28, 34, 40, 60 } },
|
||||
{ ModContent.NPCType<PerforatorHeadSmall>(), new int[] { 36, 60, 72, 84, 126 } },
|
||||
{ ModContent.NPCType<PerforatorBodySmall>(), new int[] { 20, 36, 42, 48, 72 } },
|
||||
{ ModContent.NPCType<PerforatorTailSmall>(), new int[] { 14, 20, 26, 32, 48 } },
|
||||
{ ModContent.NPCType<PerforatorHive>(), new int[] { 36, 54, 63, 108 } },
|
||||
{ ModContent.NPCType<PerforatorHeadLarge>(), new int[] { 54, 90, 108, 189 } },
|
||||
{ ModContent.NPCType<PerforatorBodyLarge>(), new int[] { 28, 48, 56, 96 } },
|
||||
{ ModContent.NPCType<PerforatorTailLarge>(), new int[] { 22, 36, 42, 72 } },
|
||||
{ ModContent.NPCType<PerforatorHeadMedium>(), new int[] { 42, 70, 84, 147 } },
|
||||
{ ModContent.NPCType<PerforatorBodyMedium>(), new int[] { 24, 42, 50, 87 } },
|
||||
{ ModContent.NPCType<PerforatorTailMedium>(), new int[] { 18, 28, 34, 60 } },
|
||||
{ ModContent.NPCType<PerforatorHeadSmall>(), new int[] { 36, 60, 72, 126 } },
|
||||
{ ModContent.NPCType<PerforatorBodySmall>(), new int[] { 20, 36, 42, 72 } },
|
||||
{ ModContent.NPCType<PerforatorTailSmall>(), new int[] { 14, 20, 26, 48 } },
|
||||
|
||||
{ NPCID.QueenBee, new int[] { 36, 54, 81, 108, 162 } },
|
||||
{ NPCID.Bee, new int[] { 20, 24, 48, 72, 108 } },
|
||||
{ NPCID.BeeSmall, new int[] { 15, 18, 36, 54, 81 } },
|
||||
{ NPCID.QueenBee, new int[] { 36, 54, 81, 162 } },
|
||||
{ NPCID.Bee, new int[] { 20, 24, 48, 108 } },
|
||||
{ NPCID.BeeSmall, new int[] { 15, 18, 36, 81 } },
|
||||
|
||||
{ NPCID.SkeletronHead, new int[] {
|
||||
42, // 55 while spinning
|
||||
77, // 100 while spinning
|
||||
88, // 114 while spinning
|
||||
99, // 128 while spinning
|
||||
165 } }, // 215 while spinning
|
||||
{ NPCID.SkeletronHand, new int[] { 32, 44, 77, 110, 165 } },
|
||||
{ NPCID.SkeletronHand, new int[] { 32, 44, 77, 165 } },
|
||||
|
||||
{ NPCID.Deerclops, new int[] { 20, 40, 50, 60, 90 } },
|
||||
{ NPCID.Deerclops, new int[] { 20, 40, 50, 90 } },
|
||||
|
||||
{ ModContent.NPCType<SlimeGodCore>(), new int[] { 48, 80, 96, 112, 168 } },
|
||||
{ ModContent.NPCType<EbonianPaladin>(), new int[] { 54, 90, 108, 126, 189 } },
|
||||
{ ModContent.NPCType<SplitEbonianPaladin>(), new int[] { 48, 80, 96, 112, 168 } },
|
||||
{ ModContent.NPCType<CrimulanPaladin>(), new int[] { 60, 100, 120, 140, 210 } },
|
||||
{ ModContent.NPCType<SplitCrimulanPaladin>(), new int[] { 54, 90, 108, 126, 189 } },
|
||||
{ ModContent.NPCType<CorruptSlimeSpawn>(), new int[] { 36, 60, 72, 84, 126 } },
|
||||
{ ModContent.NPCType<CorruptSlimeSpawn2>(), new int[] { 24, 40, 48, 56, 84 } },
|
||||
{ ModContent.NPCType<CrimsonSlimeSpawn>(), new int[] { 42, 70, 84, 98, 147 } },
|
||||
{ ModContent.NPCType<CrimsonSlimeSpawn2>(), new int[] { 30, 50, 60, 70, 105 } },
|
||||
{ ModContent.NPCType<SlimeGodCore>(), new int[] { 48, 80, 96, 168 } },
|
||||
{ ModContent.NPCType<EbonianPaladin>(), new int[] { 54, 90, 108, 189 } },
|
||||
{ ModContent.NPCType<SplitEbonianPaladin>(), new int[] { 48, 80, 96, 168 } },
|
||||
{ ModContent.NPCType<CrimulanPaladin>(), new int[] { 60, 100, 120, 210 } },
|
||||
{ ModContent.NPCType<SplitCrimulanPaladin>(), new int[] { 54, 90, 108, 189 } },
|
||||
{ ModContent.NPCType<CorruptSlimeSpawn>(), new int[] { 36, 60, 72, 126 } },
|
||||
{ ModContent.NPCType<CorruptSlimeSpawn2>(), new int[] { 24, 40, 48, 84 } },
|
||||
{ ModContent.NPCType<CrimsonSlimeSpawn>(), new int[] { 42, 70, 84, 147 } },
|
||||
{ ModContent.NPCType<CrimsonSlimeSpawn2>(), new int[] { 30, 50, 60, 105 } },
|
||||
|
||||
{ NPCID.WallofFlesh, new int[] { 100, 150, 180, 210, 315 } },
|
||||
{ NPCID.WallofFleshEye, new int[] { 100, 150, 180, 210, 315 } },
|
||||
{ NPCID.WallofFlesh, new int[] { 100, 150, 180, 315 } },
|
||||
{ NPCID.WallofFleshEye, new int[] { 100, 150, 180, 315 } },
|
||||
{ NPCID.TheHungry, new int[] {
|
||||
30, // Ranges from 30 to 75 depending on WoF life
|
||||
60, // Ranges from 60 to 150 depending on WoF life
|
||||
60, // Ranges from 60 to 150 depending on WoF life
|
||||
60, // Ranges from 60 to 150 depending on WoF life
|
||||
90 } }, // Ranges from 90 to 225 depending on WoF life
|
||||
{ NPCID.TheHungryII, new int[] { 30, 60, 74, 88, 132 } },
|
||||
{ NPCID.LeechHead, new int[] { 26, 52, 62, 72, 108 } },
|
||||
{ NPCID.LeechBody, new int[] { 22, 44, 52, 60, 90 } },
|
||||
{ NPCID.LeechTail, new int[] { 18, 36, 42, 48, 72 } },
|
||||
{ NPCID.TheHungryII, new int[] { 30, 60, 74, 132 } },
|
||||
{ NPCID.LeechHead, new int[] { 26, 52, 62, 108 } },
|
||||
{ NPCID.LeechBody, new int[] { 22, 44, 52, 90 } },
|
||||
{ NPCID.LeechTail, new int[] { 18, 36, 42, 72 } },
|
||||
|
||||
{ NPCID.QueenSlimeBoss, new int[] { 80, 120, 150, 180, 270 } },
|
||||
{ NPCID.QueenSlimeMinionBlue, new int[] { 60, 80, 100, 120, 180 } },
|
||||
{ NPCID.QueenSlimeMinionPink, new int[] { 60, 80, 100, 120, 180 } },
|
||||
{ NPCID.QueenSlimeMinionPurple, new int[] { 70, 100, 120, 140, 210 } },
|
||||
{ NPCID.QueenSlimeBoss, new int[] { 80, 120, 150, 270 } },
|
||||
{ NPCID.QueenSlimeMinionBlue, new int[] { 60, 80, 100, 180 } },
|
||||
{ NPCID.QueenSlimeMinionPink, new int[] { 60, 80, 100, 180 } },
|
||||
{ NPCID.QueenSlimeMinionPurple, new int[] { 70, 100, 120, 210 } },
|
||||
|
||||
{ ModContent.NPCType<Cryogen>(), new int[] { 90, 138, 161, 184, 276 } },
|
||||
{ ModContent.NPCType<CryogenShield>(), new int[] { 80, 120, 138, 156, 240 } },
|
||||
{ ModContent.NPCType<Cryogen>(), new int[] { 90, 138, 161, 276 } },
|
||||
{ ModContent.NPCType<CryogenShield>(), new int[] { 80, 120, 138, 240 } },
|
||||
|
||||
{ NPCID.Spazmatism, new int[] {
|
||||
70, // 105 in phase 2
|
||||
102, // 153 in phase 2
|
||||
119, // 178 in phase 2
|
||||
136, // 204 in phase 2
|
||||
204 } }, // 306 in phase 2
|
||||
{ NPCID.Retinazer, new int[] {
|
||||
55, // 83 in phase 2
|
||||
85, // 127 in phase 2
|
||||
102, // 153 in phase 2
|
||||
119, // 178 in phase 2
|
||||
153 } }, // 229 in phase 2
|
||||
|
||||
{ ModContent.NPCType<AquaticScourgeHead>(), new int[] { 110, 176, 187, 198, 330 } },
|
||||
{ ModContent.NPCType<AquaticScourgeBody>(), new int[] { 75, 112, 136, 160, 240 } },
|
||||
{ ModContent.NPCType<AquaticScourgeBodyAlt>(), new int[] { 70, 104, 112, 120, 192 } },
|
||||
{ ModContent.NPCType<AquaticScourgeTail>(), new int[] { 65, 96, 104, 112, 168 } },
|
||||
{ ModContent.NPCType<AquaticScourgeHead>(), new int[] { 110, 176, 187, 330 } },
|
||||
{ ModContent.NPCType<AquaticScourgeBody>(), new int[] { 75, 112, 136, 240 } },
|
||||
{ ModContent.NPCType<AquaticScourgeBodyAlt>(), new int[] { 70, 104, 112, 192 } },
|
||||
{ ModContent.NPCType<AquaticScourgeTail>(), new int[] { 65, 96, 104, 168 } },
|
||||
|
||||
{ NPCID.TheDestroyer, new int[] { 140, 280, 300, 320, 480 } },
|
||||
{ NPCID.TheDestroyerBody, new int[] { 70, 102, 136, 170, 255 } },
|
||||
{ NPCID.TheDestroyerTail, new int[] { 45, 68, 102, 136, 204 } },
|
||||
{ NPCID.TheDestroyer, new int[] { 140, 280, 300, 480 } },
|
||||
{ NPCID.TheDestroyerBody, new int[] { 70, 102, 136, 255 } },
|
||||
{ NPCID.TheDestroyerTail, new int[] { 45, 68, 102, 204 } },
|
||||
|
||||
{ ModContent.NPCType<BrimstoneElemental>(), new int[] { 75, 112, 136, 160, 240 } },
|
||||
{ ModContent.NPCType<BrimstoneElemental>(), new int[] { 75, 112, 136, 240 } },
|
||||
|
||||
{ NPCID.SkeletronPrime, new int[] {
|
||||
50, // 100 while spinning
|
||||
85, // 170 while spinning
|
||||
102, // 204 while spinning
|
||||
119, // 238 while spinning
|
||||
153 } }, // 306 while spinning
|
||||
{ NPCID.PrimeVice, new int[] { 70, 102, 136, 170, 255 } },
|
||||
{ NPCID.PrimeSaw, new int[] { 70, 102, 136, 170, 255 } },
|
||||
{ NPCID.PrimeCannon, new int[] { 30, 51, 68, 85, 102 } },
|
||||
{ NPCID.PrimeLaser, new int[] { 30, 51, 68, 85, 102 } },
|
||||
{ NPCID.PrimeVice, new int[] { 70, 102, 136, 255 } },
|
||||
{ NPCID.PrimeSaw, new int[] { 70, 102, 136, 255 } },
|
||||
{ NPCID.PrimeCannon, new int[] { 30, 51, 68, 102 } },
|
||||
{ NPCID.PrimeLaser, new int[] { 30, 51, 68, 102 } },
|
||||
|
||||
{ ModContent.NPCType<CalamitasClone>(), new int[] { 95, 144, 168, 192, 288 } },
|
||||
{ ModContent.NPCType<Cataclysm>(), new int[] { 80, 120, 138, 156, 240 } },
|
||||
{ ModContent.NPCType<Catastrophe>(), new int[] { 85, 130, 150, 170, 255 } },
|
||||
{ ModContent.NPCType<CalamitasClone>(), new int[] { 95, 144, 168, 288 } },
|
||||
{ ModContent.NPCType<Cataclysm>(), new int[] { 80, 120, 138, 240 } },
|
||||
{ ModContent.NPCType<Catastrophe>(), new int[] { 85, 130, 150, 255 } },
|
||||
|
||||
{ NPCID.Plantera, new int[] {
|
||||
70, // 98 in phase 2
|
||||
100, // 140 in phase 2
|
||||
138, // 193 in phase 2
|
||||
176, // 246 in phase 2
|
||||
276 } }, // 386 in phase 2
|
||||
{ NPCID.PlanterasTentacle, new int[] { 90, 138, 161, 184, 276 } },
|
||||
{ ModContent.NPCType<PlanterasFreeTentacle>(), new int[] { 90, 138, 161, 184, 276 } },
|
||||
{ NPCID.Spore, new int[] { 90, 140, 160, 180, 270 } },
|
||||
{ NPCID.PlanterasTentacle, new int[] { 90, 138, 161, 276 } },
|
||||
{ ModContent.NPCType<PlanterasFreeTentacle>(), new int[] { 90, 138, 161, 276 } },
|
||||
{ NPCID.Spore, new int[] { 90, 140, 160, 270 } },
|
||||
|
||||
{ NPCID.HallowBoss, new int[] { 80, // 120 during charge
|
||||
110, // 165 during charge
|
||||
143, // 215 during charge
|
||||
176, // 264 during charge
|
||||
264 } }, // 396 during charge
|
||||
|
||||
{ ModContent.NPCType<Leviathan>(), new int[] { 140, 216, 240, 264, 414 } },
|
||||
{ ModContent.NPCType<Leviathan>(), new int[] { 140, 216, 240, 414 } },
|
||||
{ ModContent.NPCType<Anahita>(), new int[] {
|
||||
75, // 113 during charge
|
||||
112, // 168 during charge
|
||||
136, // 204 during charge
|
||||
160, // 240 during charge
|
||||
240 } }, // 360 during charge
|
||||
{ ModContent.NPCType<AnahitasIceShield>(), new int[] { 70, 110, 126, 142, 210 } },
|
||||
{ NPCID.DetonatingBubble, new int[] { 100, 150, 180, 210, 315 } },
|
||||
{ ModContent.NPCType<AquaticAberration>(), new int[] { 90, 140, 160, 180, 270 } },
|
||||
{ ModContent.NPCType<AnahitasIceShield>(), new int[] { 70, 110, 126, 210 } },
|
||||
{ NPCID.DetonatingBubble, new int[] { 100, 150, 180, 315 } },
|
||||
{ ModContent.NPCType<AquaticAberration>(), new int[] { 90, 140, 160, 270 } },
|
||||
|
||||
{ ModContent.NPCType<AstrumAureus>(), new int[] { 145, 220, 242, 264, 429 } },
|
||||
{ ModContent.NPCType<AureusSpawn>(), new int[] { 75, 112, 128, 144, 225 } },
|
||||
{ ModContent.NPCType<AstrumAureus>(), new int[] { 145, 220, 242, 429 } },
|
||||
{ ModContent.NPCType<AureusSpawn>(), new int[] { 75, 112, 128, 225 } },
|
||||
|
||||
{ NPCID.Golem, new int[] { 95, 144, 176, 208, 312 } },
|
||||
{ NPCID.GolemHead, new int[] { 85, 128, 144, 160, 240 } },
|
||||
{ NPCID.GolemFistLeft, new int[] { 75, 112, 144, 176, 264 } },
|
||||
{ NPCID.GolemFistRight, new int[] { 75, 112, 144, 176, 264 } },
|
||||
{ NPCID.Golem, new int[] { 95, 144, 176, 312 } },
|
||||
{ NPCID.GolemHead, new int[] { 85, 128, 144, 240 } },
|
||||
{ NPCID.GolemFistLeft, new int[] { 75, 112, 144, 264 } },
|
||||
{ NPCID.GolemFistRight, new int[] { 75, 112, 144, 264 } },
|
||||
|
||||
{ ModContent.NPCType<PlaguebringerGoliath>(), new int[] { 120, 180, 216, 252, 378 } },
|
||||
{ ModContent.NPCType<PlagueHomingMissile>(), new int[] { 120, 180, 210, 240, 360 } },
|
||||
{ ModContent.NPCType<PlagueMine>(), new int[] { 130, 200, 240, 280, 420 } },
|
||||
{ ModContent.NPCType<PlaguebringerGoliath>(), new int[] { 120, 180, 216, 378 } },
|
||||
{ ModContent.NPCType<PlagueHomingMissile>(), new int[] { 120, 180, 210, 360 } },
|
||||
{ ModContent.NPCType<PlagueMine>(), new int[] { 130, 200, 240, 420 } },
|
||||
|
||||
{ NPCID.DukeFishron, new int[] {
|
||||
100, // 120 in phase 2
|
||||
140, // 202 in phase 2, 185 in phase 3
|
||||
168, // 242 in phase 2, 222 in phase 3
|
||||
196, // 282 in phase 2, 259 in phase 3
|
||||
294 } }, // 423 in phase 2, 388 in phase 3
|
||||
{ NPCID.Sharkron, new int[] { 100, 150, 180, 210, 315 } },
|
||||
{ NPCID.Sharkron2, new int[] { 120, 180, 210, 240, 360 } },
|
||||
{ NPCID.Sharkron, new int[] { 100, 150, 180, 315 } },
|
||||
{ NPCID.Sharkron2, new int[] { 120, 180, 210, 360 } },
|
||||
|
||||
{ ModContent.NPCType<RavagerBody>(), new int[] { 130, 192, 224, 256, 384 } },
|
||||
{ ModContent.NPCType<RavagerClawLeft>(), new int[] { 105, 160, 180, 200, 315 } },
|
||||
{ ModContent.NPCType<RavagerClawRight>(), new int[] { 105, 160, 180, 200, 315 } },
|
||||
{ ModContent.NPCType<RockPillar>(), new int[] { 130, 192, 224, 256, 390 } },
|
||||
{ ModContent.NPCType<FlamePillar>(), new int[] { 105, 160, 192, 224, 336 } },
|
||||
{ ModContent.NPCType<RavagerBody>(), new int[] { 130, 192, 224, 384 } },
|
||||
{ ModContent.NPCType<RavagerClawLeft>(), new int[] { 105, 160, 180, 315 } },
|
||||
{ ModContent.NPCType<RavagerClawRight>(), new int[] { 105, 160, 180, 315 } },
|
||||
{ ModContent.NPCType<RockPillar>(), new int[] { 130, 192, 224, 390 } },
|
||||
{ ModContent.NPCType<FlamePillar>(), new int[] { 105, 160, 192, 336 } },
|
||||
|
||||
{ NPCID.CultistDragonHead, new int[] { 120, 180, 210, 240, 360 } },
|
||||
{ NPCID.CultistDragonBody1, new int[] { 60, 90, 105, 120, 180 } },
|
||||
{ NPCID.CultistDragonBody2, new int[] { 60, 90, 105, 120, 180 } },
|
||||
{ NPCID.CultistDragonBody3, new int[] { 60, 90, 105, 120, 180 } },
|
||||
{ NPCID.CultistDragonBody4, new int[] { 60, 90, 105, 120, 180 } },
|
||||
{ NPCID.CultistDragonTail, new int[] { 60, 90, 105, 120, 180 } },
|
||||
{ NPCID.AncientCultistSquidhead, new int[] { 120, 180, 210, 240, 360 } },
|
||||
{ NPCID.AncientLight, new int[] { 120, 180, 210, 240, 360 } },
|
||||
{ NPCID.CultistDragonHead, new int[] { 120, 180, 210, 360 } },
|
||||
{ NPCID.CultistDragonBody1, new int[] { 60, 90, 105, 180 } },
|
||||
{ NPCID.CultistDragonBody2, new int[] { 60, 90, 105, 180 } },
|
||||
{ NPCID.CultistDragonBody3, new int[] { 60, 90, 105, 180 } },
|
||||
{ NPCID.CultistDragonBody4, new int[] { 60, 90, 105, 180 } },
|
||||
{ NPCID.CultistDragonTail, new int[] { 60, 90, 105, 180 } },
|
||||
{ NPCID.AncientCultistSquidhead, new int[] { 120, 180, 210, 360 } },
|
||||
{ NPCID.AncientLight, new int[] { 120, 180, 210, 360 } },
|
||||
|
||||
{ ModContent.NPCType<AstrumDeusHead>(), new int[] { 160, 240, 268, 296, 480 } },
|
||||
{ ModContent.NPCType<AstrumDeusBody>(), new int[] { 105, 160, 192, 224, 336 } },
|
||||
{ ModContent.NPCType<AstrumDeusTail>(), new int[] { 85, 128, 160, 192, 288 } },
|
||||
{ ModContent.NPCType<AstrumDeusHead>(), new int[] { 160, 240, 268, 480 } },
|
||||
{ ModContent.NPCType<AstrumDeusBody>(), new int[] { 105, 160, 192, 336 } },
|
||||
{ ModContent.NPCType<AstrumDeusTail>(), new int[] { 85, 128, 160, 288 } },
|
||||
|
||||
{ ModContent.NPCType<ProfanedGuardianCommander>(), new int[] { 150, 224, 256, 288, 444 } },
|
||||
{ ModContent.NPCType<ProfanedGuardianDefender>(), new int[] { 160, 240, 264, 288, 405 } },
|
||||
{ ModContent.NPCType<ProfanedGuardianHealer>(), new int[] { 100, 200, 220, 240, 300 } },
|
||||
{ ModContent.NPCType<ProfanedRocks>(), new int[] { 100, 200, 220, 232, 300 } },
|
||||
{ ModContent.NPCType<ProfanedGuardianCommander>(), new int[] { 150, 224, 256, 444 } },
|
||||
{ ModContent.NPCType<ProfanedGuardianDefender>(), new int[] { 160, 240, 264, 405 } },
|
||||
{ ModContent.NPCType<ProfanedGuardianHealer>(), new int[] { 100, 200, 220, 300 } },
|
||||
{ ModContent.NPCType<ProfanedRocks>(), new int[] { 100, 200, 220, 300 } },
|
||||
|
||||
{ ModContent.NPCType<Dragonfolly>(), new int[] { 170, 256, 288, 320, 504 } },
|
||||
{ ModContent.NPCType<DraconicSwarmer>(), new int[] { 145, 220, 242, 264, 435 } },
|
||||
{ ModContent.NPCType<Dragonfolly>(), new int[] { 170, 256, 288, 504 } },
|
||||
{ ModContent.NPCType<DraconicSwarmer>(), new int[] { 145, 220, 242, 435 } },
|
||||
|
||||
{ ModContent.NPCType<CeaselessVoid>(), new int[] { 240, 360, 396, 432, 720 } },
|
||||
{ ModContent.NPCType<DarkEnergy>(), new int[] { 175, 260, 288, 316, 525 } },
|
||||
{ ModContent.NPCType<CeaselessVoid>(), new int[] { 240, 360, 396, 720 } },
|
||||
{ ModContent.NPCType<DarkEnergy>(), new int[] { 175, 260, 288, 525 } },
|
||||
|
||||
{ ModContent.NPCType<StormWeaverHead>(), new int[] { 240, 360, 396, 432, 720 } },
|
||||
{ ModContent.NPCType<StormWeaverBody>(), new int[] { 125, 192, 224, 256, 372 } },
|
||||
{ ModContent.NPCType<StormWeaverTail>(), new int[] { 105, 160, 192, 224, 312 } },
|
||||
{ ModContent.NPCType<StormWeaverHead>(), new int[] { 240, 360, 396, 720 } },
|
||||
{ ModContent.NPCType<StormWeaverBody>(), new int[] { 125, 192, 224, 372 } },
|
||||
{ ModContent.NPCType<StormWeaverTail>(), new int[] { 105, 160, 192, 312 } },
|
||||
|
||||
{ ModContent.NPCType<Signus>(), new int[] { 210, 315, 351, 387, 621 } },
|
||||
{ ModContent.NPCType<CosmicLantern>(), new int[] { 175, 260, 288, 316, 525 } },
|
||||
{ ModContent.NPCType<CosmicMine>(), new int[] { 190, 280, 300, 320, 570 } },
|
||||
{ ModContent.NPCType<Signus>(), new int[] { 210, 315, 351, 621 } },
|
||||
{ ModContent.NPCType<CosmicLantern>(), new int[] { 175, 260, 288, 525 } },
|
||||
{ ModContent.NPCType<CosmicMine>(), new int[] { 190, 280, 300, 570 } },
|
||||
|
||||
{ ModContent.NPCType<Polterghast>(), new int[] {
|
||||
160, // 192 in phase 2, 224 in phase 3
|
||||
240, // 288 in phase 2, 336 in phase 3
|
||||
264, // 317 in phase 2, 370 in phase 3
|
||||
288, // 346 in phase 2, 403 in phase 3
|
||||
480 } }, // 576 in phase 2, 672 in phase 3
|
||||
{ ModContent.NPCType<PolterPhantom>(), new int[] { 224, 336, 370, 403, 672 } },
|
||||
{ ModContent.NPCType<PolterPhantom>(), new int[] { 224, 336, 370, 672 } },
|
||||
|
||||
{ ModContent.NPCType<OldDuke>(), new int[] {
|
||||
192, // 211 in phase 2, 230 in phase 3
|
||||
288, // 317 in phase 2, 346 in phase 3
|
||||
324, // 356 in phase 2, 389 in phase 3
|
||||
360, // 396 in phase 2, 432 in phase 3
|
||||
567 } }, // 624 in phase 2, 680 in phase 3
|
||||
{ ModContent.NPCType<OldDukeToothBall>(), new int[] { 192, 288, 328, 368, 576 } },
|
||||
{ ModContent.NPCType<SulphurousSharkron>(), new int[] { 192, 288, 328, 368, 576 } },
|
||||
{ ModContent.NPCType<OldDukeToothBall>(), new int[] { 192, 288, 328, 576 } },
|
||||
{ ModContent.NPCType<SulphurousSharkron>(), new int[] { 192, 288, 328, 576 } },
|
||||
|
||||
{ ModContent.NPCType<DevourerofGodsHead>(), new int[] { 470, 700, 750, 800, 1410 } },
|
||||
{ ModContent.NPCType<DevourerofGodsBody>(), new int[] { 250, 374, 425, 476, 714 } },
|
||||
{ ModContent.NPCType<DevourerofGodsTail>(), new int[] { 204, 306, 340, 374, 612 } },
|
||||
{ ModContent.NPCType<CosmicGuardianHead>(), new int[] { 240, 360, 396, 432, 720 } },
|
||||
{ ModContent.NPCType<CosmicGuardianBody>(), new int[] { 175, 260, 290, 320, 525 } },
|
||||
{ ModContent.NPCType<CosmicGuardianTail>(), new int[] { 135, 200, 230, 260, 405 } },
|
||||
{ ModContent.NPCType<DevourerofGodsHead>(), new int[] { 470, 700, 750, 1410 } },
|
||||
{ ModContent.NPCType<DevourerofGodsBody>(), new int[] { 250, 374, 425, 714 } },
|
||||
{ ModContent.NPCType<DevourerofGodsTail>(), new int[] { 204, 306, 340, 612 } },
|
||||
{ ModContent.NPCType<CosmicGuardianHead>(), new int[] { 240, 360, 396, 720 } },
|
||||
{ ModContent.NPCType<CosmicGuardianBody>(), new int[] { 175, 260, 290, 525 } },
|
||||
{ ModContent.NPCType<CosmicGuardianTail>(), new int[] { 135, 200, 230, 405 } },
|
||||
|
||||
{ ModContent.NPCType<Yharon>(), new int[] { 300, 448, 480, 512, 900 } },
|
||||
{ ModContent.NPCType<Yharon>(), new int[] { 300, 448, 480, 900 } },
|
||||
|
||||
{ ModContent.NPCType<SupremeCalamitas>(), new int[] { 340, 512, 544, 576, 1020 } },
|
||||
{ ModContent.NPCType<SupremeCalamitas>(), new int[] { 340, 512, 544, 1020 } },
|
||||
|
||||
{ ModContent.NPCType<Apollo>(), new int[] { 340, 512, 544, 576, 1020 } },
|
||||
{ ModContent.NPCType<Artemis>(), new int[] { 320, 480, 512, 544, 960 } },
|
||||
{ ModContent.NPCType<Apollo>(), new int[] { 340, 512, 544, 1020 } },
|
||||
{ ModContent.NPCType<Artemis>(), new int[] { 320, 480, 512, 960 } },
|
||||
|
||||
{ ModContent.NPCType<ThanatosHead>(), new int[] { 375, 560, 592, 624, 1116 } },
|
||||
{ ModContent.NPCType<ThanatosBody1>(), new int[] { 320, 480, 512, 544, 960 } },
|
||||
{ ModContent.NPCType<ThanatosBody2>(), new int[] { 320, 480, 512, 544, 960 } },
|
||||
{ ModContent.NPCType<ThanatosTail>(), new int[] { 270, 400, 424, 448, 804 } },
|
||||
{ ModContent.NPCType<ThanatosHead>(), new int[] { 375, 560, 592, 1116 } },
|
||||
{ ModContent.NPCType<ThanatosBody1>(), new int[] { 320, 480, 512, 960 } },
|
||||
{ ModContent.NPCType<ThanatosBody2>(), new int[] { 320, 480, 512, 960 } },
|
||||
{ ModContent.NPCType<ThanatosTail>(), new int[] { 270, 400, 424, 804 } },
|
||||
|
||||
{ ModContent.NPCType<PrimordialWyrmHead>(), new int[] { 535, 800, 850, 900, 1596 } }
|
||||
{ ModContent.NPCType<PrimordialWyrmHead>(), new int[] { 535, 800, 850, 1596 } }
|
||||
};
|
||||
|
||||
EnemyStats.ProjectileDamageValues = new SortedDictionary<Tuple<int, int>, int[]>
|
||||
{
|
||||
{ new Tuple<int, int>(ModContent.NPCType<KingSlimeJewelRuby>(), 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, 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 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DesertScourgeHead>(), ModContent.ProjectileType<DesertScourgeSpit>()), new int[] { 26, 36, 44, 84 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DesertNuisanceHeadYoung>(), ModContent.ProjectileType<DesertScourgeSpit>()), new int[] { 26, 36, 44, 84 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.EyeofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 26, 44, 60, 76, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BloodlettingServant>(), ProjectileID.BloodShot), new int[] { 26, 36, 44, 52, 84 } },
|
||||
{ new Tuple<int, int>(NPCID.EyeofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 26, 44, 60, 114 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBomb>()), new int[] { 32, 48, 60, 72, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBombFall>()), new int[] { 32, 48, 60, 72, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBombGround>()), new int[] { 32, 48, 60, 72, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBomb>()), new int[] { 32, 48, 60, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBombFall>()), new int[] { 32, 48, 60, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBombGround>()), new int[] { 32, 48, 60, 108 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ProjectileID.CursedFlameHostile), new int[] { 26, 44, 60, 76, 114 } },
|
||||
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 26, 36, 44, 52, 84 } },
|
||||
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ProjectileID.CursedFlameHostile), new int[] { 26, 44, 60, 114 } },
|
||||
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 26, 36, 44, 84 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.BrainofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(NPCID.BrainofCthulhu, ProjectileID.BloodShot), new int[] { 26, 44, 60, 76, 114 } },
|
||||
{ new Tuple<int, int>(NPCID.Creeper, ProjectileID.BloodShot), new int[] { 26, 44, 60, 76, 114 } },
|
||||
{ new Tuple<int, int>(NPCID.BrainofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(NPCID.BrainofCthulhu, ProjectileID.BloodShot), new int[] { 26, 44, 60, 114 } },
|
||||
{ new Tuple<int, int>(NPCID.Creeper, ProjectileID.BloodShot), new int[] { 26, 44, 60, 114 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveMind>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DankCreeper>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DarkHeart>(), ModContent.ProjectileType<ShaderainHostile>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 72, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob2>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 72, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveMind>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DankCreeper>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DarkHeart>(), ModContent.ProjectileType<ShaderainHostile>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob2>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 108 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<BloodGeyser>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorShot>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorBodyMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorTailMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<BloodGeyser>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<IchorShot>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 22, 36, 44, 52, 84 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<BloodGeyser>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorShot>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorBodyMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorTailMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<BloodGeyser>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<IchorShot>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 22, 36, 44, 84 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.QueenBee, ProjectileID.QueenBeeStinger), new int[] { 22, 44, 64, 84, 126 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenBee, ModContent.ProjectileType<QueenBeenade>()), new int[] { 46, 72, 84, 96, 144 } }, // Beenade Bees: 122 (death mode-exclusive)
|
||||
{ new Tuple<int, int>(NPCID.QueenBee, ProjectileID.QueenBeeStinger), new int[] { 22, 44, 64, 126 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenBee, ModContent.ProjectileType<QueenBeenade>()), new int[] { 46, 72, 84, 144 } }, // Beenade Bees: 122 (death mode-exclusive)
|
||||
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Skull), new int[] { 46, 72, 84, 96, 144 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Shadowflames), new int[] { 36, 72, 88, 104, 156 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHand, ProjectileID.Skull), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Skull), new int[] { 46, 72, 84, 144 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Shadowflames), new int[] { 36, 72, 88, 156 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHand, ProjectileID.Skull), new int[] { 36, 56, 68, 120 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.DeerclopsIceSpike), new int[] { 26, 52, 76, 100, 150 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.DeerclopsRangedProjectile), new int[] { 36, 72, 88, 104, 156 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.InsanityShadowHostile), new int[] { 20, 40, 60, 80, 120 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.DeerclopsIceSpike), new int[] { 26, 52, 76, 150 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.DeerclopsRangedProjectile), new int[] { 36, 72, 88, 156 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.InsanityShadowHostile), new int[] { 20, 40, 60, 120 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 42, 68, 84, 100, 150 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 38, 60, 76, 92, 138 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<EbonianPaladin>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 42, 68, 84, 100, 150 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimulanPaladin>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 38, 60, 76, 92, 138 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimulanPaladin>(), ModContent.ProjectileType<CrimulanSpike>()), new int[] { 42, 68, 84, 100, 150 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SplitEbonianPaladin>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 38, 60, 76, 92, 138 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SplitCrimulanPaladin>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 34, 52, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CorruptSlimeSpawn>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 80, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimsonSlimeSpawn2>(), ModContent.ProjectileType<CrimsonSpike>()), new int[] { 24, 48, 60, 72, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 42, 68, 84, 150 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 38, 60, 76, 138 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<EbonianPaladin>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 42, 68, 84, 150 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimulanPaladin>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 38, 60, 76, 138 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimulanPaladin>(), ModContent.ProjectileType<CrimulanSpike>()), new int[] { 42, 68, 84, 150 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SplitEbonianPaladin>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 38, 60, 76, 138 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SplitCrimulanPaladin>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 34, 52, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CorruptSlimeSpawn>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 120 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimsonSlimeSpawn2>(), ModContent.ProjectileType<CrimsonSpike>()), new int[] { 24, 48, 60, 108 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.WallofFleshEye, ProjectileID.EyeLaser), new int[] { 36, 72, 88, 104, 156 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFlesh, ProjectileID.DemonSickle), new int[] { 52, 92, 112, 132, 198 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFlesh, ProjectileID.Fireball), new int[] { 36, 72, 88, 104, 156 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFleshEye, ProjectileID.EyeLaser), new int[] { 36, 72, 88, 156 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFlesh, ProjectileID.DemonSickle), new int[] { 52, 92, 112, 198 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFlesh, ProjectileID.Fireball), new int[] { 36, 72, 88, 156 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeGelAttack), new int[] { 60, 120, 136, 152, 228 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeSmash), new int[] { 80, 160, 188, 216, 324 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 132, 198 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeMinionBlue, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 132, 198 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeMinionPink, ProjectileID.QueenSlimeMinionPinkBall), new int[] { 52, 92, 112, 132, 198 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeGelAttack), new int[] { 60, 120, 136, 228 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeSmash), new int[] { 80, 160, 188, 324 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 198 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeMinionBlue, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 198 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeMinionPink, ProjectileID.QueenSlimeMinionPinkBall), new int[] { 52, 92, 112, 198 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 132, 198 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBomb>()), new int[] { 70, 120, 136, 152, 228 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceRain>()), new int[] { 60, 100, 120, 140, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CryogenShield>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 132, 198 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 198 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBomb>()), new int[] { 70, 120, 136, 228 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceRain>()), new int[] { 60, 100, 120, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CryogenShield>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 198 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.EyeLaser), new int[] { 40, 92, 116, 140, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.EyeLaser), new int[] { 40, 92, 116, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.DeathLaser), new int[] {
|
||||
50, // 38 in rapid fire
|
||||
108, // 81 in rapid fire
|
||||
132, // 99 in rapid fire
|
||||
156, // 117 in rapid fire
|
||||
234 } }, // 176 in rapid fire
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ModContent.ProjectileType<HomingLaserDart>()), new int[] { 70, 120, 136, 152, 228 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.CursedFlameHostile), new int[] { 50, 100, 120, 140, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<CursedFire>()), new int[] { 60, 120, 148, 176, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<Shadowflamethrower>()), new int[] { 70, 120, 148, 176, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 60, 100, 128, 156, 234 } },
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ModContent.ProjectileType<HomingLaserDart>()), new int[] { 70, 120, 136, 228 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.CursedFlameHostile), new int[] { 50, 100, 120, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<CursedFire>()), new int[] { 60, 120, 148, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<Shadowflamethrower>()), new int[] { 70, 120, 148, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 60, 100, 128, 234 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SulphuricAcidMist>()), new int[] { 60, 100, 120, 140, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SandPoisonCloud>()), new int[] { 70, 120, 136, 152, 228 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<ToxicCloud>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBody>(), ModContent.ProjectileType<SandTooth>()), new int[] { 66, 112, 128, 144, 216 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SulphuricAcidMist>()), new int[] { 60, 100, 120, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SandPoisonCloud>()), new int[] { 70, 120, 136, 228 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<ToxicCloud>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBody>(), ModContent.ProjectileType<SandTooth>()), new int[] { 66, 112, 128, 216 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 136, 204 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 148, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 156, 234 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 136, 204 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 148, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 156, 234 } },
|
||||
{ new Tuple<int, int>(NPCID.Probe, ProjectileID.PinkLaser), new int[] { 50, 88, 100, 112, 168 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 204 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 234 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 204 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 234 } },
|
||||
{ new Tuple<int, int>(NPCID.Probe, ProjectileID.PinkLaser), new int[] { 50, 88, 100, 168 } },
|
||||
|
||||
{ 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 } }, // 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 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 216 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneRay>()), new int[] { 120, 200, 240, 420 } }, // Split shots: 72, 120, 144, 252
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 216 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.Skull), new int[] { 50, 108, 124, 140, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 140, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 176, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 176, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 0, 0, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeLaser, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 140, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.Skull), new int[] { 50, 108, 124, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 0, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeLaser, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 210 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<SCalBrimstoneFireblast>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 144, 216 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cataclysm>(), ModContent.ProjectileType<BrimstoneFire>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Catastrophe>(), ModContent.ProjectileType<BrimstoneBall>()), new int[] { 70, 112, 128, 144, 216 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SoulSeeker>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 144, 216 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<SCalBrimstoneFireblast>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 216 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cataclysm>(), ModContent.ProjectileType<BrimstoneFire>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Catastrophe>(), ModContent.ProjectileType<BrimstoneBall>()), new int[] { 70, 112, 128, 216 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SoulSeeker>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 216 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.SeedPlantera), new int[] { 52, 96, 128, 160, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.PoisonSeedPlantera), new int[] { 62, 116, 144, 172, 258 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.ThornBall), new int[] { 72, 132, 160, 188, 282 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<SporeGasPlantera>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<HomingGasBulb>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.SeedPlantera), new int[] { 52, 96, 128, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.PoisonSeedPlantera), new int[] { 62, 116, 144, 258 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.ThornBall), new int[] { 72, 132, 160, 282 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<SporeGasPlantera>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<HomingGasBulb>()), new int[] { 80, 140, 160, 270 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.HallowBossRainbowStreak), new int[] { 100, 152, 172, 192, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.FairyQueenSunDance), new int[] { 120, 180, 204, 228, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.HallowBossLastingRainbow), new int[] { 100, 152, 172, 192, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.FairyQueenLance), new int[] { 130, 196, 216, 236, 390 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.HallowBossRainbowStreak), new int[] { 100, 152, 172, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.FairyQueenSunDance), new int[] { 120, 180, 204, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.HallowBossLastingRainbow), new int[] { 100, 152, 172, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.FairyQueenLance), new int[] { 130, 196, 216, 390 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Leviathan>(), ModContent.ProjectileType<LeviathanBomb>()), new int[] { 100, 172, 208, 244, 366 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<WaterSpear>()), new int[] { 80, 140, 160, 180, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<FrostMist>()), new int[] { 84, 148, 172, 196, 294 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<SirenSong>()), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Leviathan>(), ModContent.ProjectileType<LeviathanBomb>()), new int[] { 100, 172, 208, 366 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<WaterSpear>()), new int[] { 80, 140, 160, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<FrostMist>()), new int[] { 84, 148, 172, 294 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<SirenSong>()), new int[] { 88, 156, 184, 318 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralFlame>()), new int[] { 100, 172, 208, 244, 366 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AureusSpawn>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralFlame>()), new int[] { 100, 172, 208, 366 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AureusSpawn>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 318 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.Fireball), new int[] { 60, 120, 140, 180, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 306 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.Fireball), new int[] { 60, 120, 140, 180, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 306 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemFistLeft, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemFistRight, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.Fireball), new int[] { 60, 120, 140, 180, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 306 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.Fireball), new int[] { 60, 120, 140, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 306 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.Fireball), new int[] { 60, 120, 140, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 306 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemFistLeft, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 318 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemFistRight, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 318 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.Fireball), new int[] { 60, 120, 140, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 306 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 318 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliath>()), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliathV2>()), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<HiveBombGoliath>()), new int[] { 120, 192, 220, 248, 372 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliath>()), new int[] { 88, 156, 184, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliathV2>()), new int[] { 88, 156, 184, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<HiveBombGoliath>()), new int[] { 120, 192, 220, 372 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Sharknado), new int[] { 80, 100, 150, 200, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Cthulunado), new int[] { 160, 200, 232, 264, 480 } },
|
||||
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Sharknado), new int[] { 80, 100, 150, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Cthulunado), new int[] { 160, 200, 232, 480 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerBody>(), ModContent.ProjectileType<RavagerBlaster>()), new int[] { 120, 180, 208, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead>(), ModContent.ProjectileType<RavagerNuke>()), new int[] { 120, 180, 208, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<HomingLaserDart>()), new int[] { 90, 144, 172, 200, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<RavagerNuke>()), new int[] { 120, 180, 208, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<FlamePillar>(), ModContent.ProjectileType<RavagerFlame>()), new int[] { 90, 144, 172, 200, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerBody>(), ModContent.ProjectileType<RavagerBlaster>()), new int[] { 120, 180, 208, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead>(), ModContent.ProjectileType<RavagerNuke>()), new int[] { 120, 180, 208, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<HomingLaserDart>()), new int[] { 90, 144, 172, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<RavagerNuke>()), new int[] { 120, 180, 208, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<FlamePillar>(), ModContent.ProjectileType<RavagerFlame>()), new int[] { 90, 144, 172, 300 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossFireBall), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossIceMist), new int[] { 120, 180, 208, 236, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossLightningOrb), new int[] { 120, 192, 220, 248, 372 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBossClone, ProjectileID.CultistBossFireBallClone), new int[] { 90, 144, 172, 200, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.AncientDoom, ProjectileID.AncientDoomProjectile), new int[] { 88, 156, 184, 212, 318 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossFireBall), new int[] { 88, 156, 184, 318 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossIceMist), new int[] { 120, 180, 208, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossLightningOrb), new int[] { 120, 192, 220, 372 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBossClone, ProjectileID.CultistBossFireBallClone), new int[] { 90, 144, 172, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.AncientDoom, ProjectileID.AncientDoomProjectile), new int[] { 88, 156, 184, 318 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<AstralShot2>()), new int[] { 90, 152, 176, 200, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<DeusMine>()), new int[] { 120, 180, 208, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<AstralGodRay>()), new int[] { 100, 172, 192, 212, 318 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<AstralShot2>()), new int[] { 90, 152, 176, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<DeusMine>()), new int[] { 120, 180, 208, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<AstralGodRay>()), new int[] { 100, 172, 192, 318 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalDeathray), new int[] { 200, 300, 380, 460, 690 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 200, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalEye), new int[] { 90, 120, 160, 200, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalSphere), new int[] { 120, 160, 220, 280, 420 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 200, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalBolt), new int[] { 100, 140, 180, 220, 330 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalEye), new int[] { 100, 140, 180, 220, 330 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalSphere), new int[] { 132, 176, 220, 264, 396 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalDeathray), new int[] { 150, 200, 260, 320, 480 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalDeathray), new int[] { 200, 300, 380, 690 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalEye), new int[] { 90, 120, 160, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalSphere), new int[] { 120, 160, 220, 420 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalBolt), new int[] { 100, 140, 180, 330 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalEye), new int[] { 100, 140, 180, 330 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalSphere), new int[] { 132, 176, 220, 396 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalDeathray), new int[] { 150, 200, 260, 480 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<ProfanedSpear>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolySpear>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyBlast>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyFire>()), new int[] { 120, 192, 220, 248, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyFire2>()), new int[] { 120, 192, 220, 248, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<ProvidenceHolyRay>()), new int[] { 160, 320, 352, 384, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<HolyBomb>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<HolyFlare>()), new int[] { 105, 171, 189, 207, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<MoltenBlast>()), new int[] { 140, 228, 252, 276, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<MoltenBlob>()), new int[] { 105, 171, 189, 207, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.ProjectileType<ProvidenceCrystalShard>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.ProjectileType<HolyBurnOrb>()), new int[] { 120, 192, 220, 248, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.ProjectileType<HolyLight>()), new int[] { 35, 50, 50, 0, 0 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<ProfanedSpear>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolySpear>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyBlast>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyFire>()), new int[] { 120, 192, 220, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyFire2>()), new int[] { 120, 192, 220, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<ProvidenceHolyRay>()), new int[] { 160, 320, 352, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<HolyBomb>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<HolyFlare>()), new int[] { 105, 171, 189, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<MoltenBlast>()), new int[] { 140, 228, 252, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<MoltenBlob>()), new int[] { 105, 171, 189, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.ProjectileType<ProvidenceCrystalShard>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.ProjectileType<HolyBurnOrb>()), new int[] { 120, 192, 220, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.ProjectileType<HolyLight>()), new int[] { 35, 50, 50, 0 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Dragonfolly>(), ModContent.ProjectileType<RedLightningFeather>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Dragonfolly>(), ModContent.ProjectileType<BirbAuraFlare>()), new int[] { 200, 300, 332, 364, 600 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Dragonfolly>(), ModContent.ProjectileType<RedLightningFeather>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Dragonfolly>(), ModContent.ProjectileType<BirbAuraFlare>()), new int[] { 200, 300, 332, 600 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBlast>()), new int[] { 150, 264, 288, 312, 450 } }, // Split holy fire does: 113, 198, 216, 234, 338
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFire>()), new int[] { 120, 192, 220, 248, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFire2>()), new int[] { 120, 192, 220, 248, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBurnOrb>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyLight>()), new int[] { 35, 50, 50, 0, 0 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<MoltenBlast>()), new int[] { 140, 228, 252, 276, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<MoltenBlob>()), new int[] { 105, 171, 189, 207, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBomb>()), new int[] { 140, 228, 252, 276, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFlare>()), new int[] { 105, 171, 189, 207, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolySpear>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceCrystal>()), new int[] { 140, 228, 252, 276, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceCrystalShard>()), new int[] { 140, 228, 252, 276, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceHolyRay>()), new int[] { 200, 400, 440, 480, 600 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBlast>()), new int[] { 150, 264, 288, 450 } }, // Split holy fire does: 113, 198, 216, 338
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFire>()), new int[] { 120, 192, 220, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFire2>()), new int[] { 120, 192, 220, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBurnOrb>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyLight>()), new int[] { 35, 50, 50, 0 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<MoltenBlast>()), new int[] { 140, 228, 252, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<MoltenBlob>()), new int[] { 105, 171, 189, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBomb>()), new int[] { 140, 228, 252, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFlare>()), new int[] { 105, 171, 189, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolySpear>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceCrystal>()), new int[] { 140, 228, 252, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceCrystalShard>()), new int[] { 140, 228, 252, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceHolyRay>()), new int[] { 200, 400, 440, 600 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DoGBeamPortal>()), new int[] { 140, 240, 264, 288, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DarkEnergyBall>()), new int[] { 140, 240, 264, 288, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DarkEnergyBall2>()), new int[] { 140, 240, 264, 288, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DoGBeamPortal>()), new int[] { 140, 240, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DarkEnergyBall>()), new int[] { 140, 240, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DarkEnergyBall2>()), new int[] { 140, 240, 264, 420 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 150, 264, 288, 312, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ProjectileID.FrostWave), new int[] { 150, 264, 288, 312, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ModContent.ProjectileType<StormMarkHostile>()), new int[] { 160, 276, 304, 332, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverBody>(), ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 140, 240, 264, 288, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverTail>(), ProjectileID.CultistBossLightningOrb), new int[] { 150, 264, 288, 312, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 150, 264, 288, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ProjectileID.FrostWave), new int[] { 150, 264, 288, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ModContent.ProjectileType<StormMarkHostile>()), new int[] { 160, 276, 304, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverBody>(), ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 140, 240, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverTail>(), ProjectileID.CultistBossLightningOrb), new int[] { 150, 264, 288, 450 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Signus>(), ModContent.ProjectileType<SignusScythe>()), new int[] { 140, 240, 264, 288, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Signus>(), ModContent.ProjectileType<EssenceDust>()), new int[] { 140, 240, 264, 288, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Signus>(), ModContent.ProjectileType<SignusScythe>()), new int[] { 140, 240, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Signus>(), ModContent.ProjectileType<EssenceDust>()), new int[] { 140, 240, 264, 420 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomShot>()), new int[] { 140, 240, 264, 288, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomShot2>()), new int[] { 150, 264, 288, 312, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomBlast>()), new int[] { 150, 264, 288, 312, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomBlast2>()), new int[] { 160, 276, 304, 332, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PolterghastHook>(), ModContent.ProjectileType<PhantomHookShot>()), new int[] { 140, 240, 264, 288, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PhantomFuckYou>(), ModContent.ProjectileType<PhantomMine>()), new int[] { 170, 296, 324, 352, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PhantomSpiritL>(), ModContent.ProjectileType<PhantomGhostShot>()), new int[] { 150, 264, 288, 312, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomShot>()), new int[] { 140, 240, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomShot2>()), new int[] { 150, 264, 288, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomBlast>()), new int[] { 150, 264, 288, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomBlast2>()), new int[] { 160, 276, 304, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PolterghastHook>(), ModContent.ProjectileType<PhantomHookShot>()), new int[] { 140, 240, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PhantomFuckYou>(), ModContent.ProjectileType<PhantomMine>()), new int[] { 170, 296, 324, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PhantomSpiritL>(), ModContent.ProjectileType<PhantomGhostShot>()), new int[] { 150, 264, 288, 450 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Mauler>(), ModContent.ProjectileType<MaulerAcidBubble>()), new int[] { 140, 220, 244, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Mauler>(), ModContent.ProjectileType<MaulerAcidDrop>()), new int[] { 140, 220, 244, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Mauler>(), ModContent.ProjectileType<MaulerAcidBubble>()), new int[] { 140, 220, 244, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Mauler>(), ModContent.ProjectileType<MaulerAcidDrop>()), new int[] { 140, 220, 244, 420 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDuke>(), ModContent.ProjectileType<OldDukeGore>()), new int[] { 170, 296, 324, 352, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDuke>(), ModContent.ProjectileType<OldDukeVortex>()), new int[] { 280, 420, 460, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDukeToothBall>(), ModContent.ProjectileType<OldDukeToothBallSpike>()), new int[] { 170, 296, 324, 352, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDukeToothBall>(), ModContent.ProjectileType<SandPoisonCloudOldDuke>()), new int[] { 180, 316, 348, 380, 540 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SulphurousSharkron>(), ModContent.ProjectileType<OldDukeGore>()), new int[] { 170, 296, 324, 352, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDuke>(), ModContent.ProjectileType<OldDukeGore>()), new int[] { 170, 296, 324, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDuke>(), ModContent.ProjectileType<OldDukeVortex>()), new int[] { 280, 420, 460, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDukeToothBall>(), ModContent.ProjectileType<OldDukeToothBallSpike>()), new int[] { 170, 296, 324, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDukeToothBall>(), ModContent.ProjectileType<SandPoisonCloudOldDuke>()), new int[] { 180, 316, 348, 540 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SulphurousSharkron>(), ModContent.ProjectileType<OldDukeGore>()), new int[] { 170, 296, 324, 510 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsHead>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 180, 316, 348, 380, 540 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsHead>(), ModContent.ProjectileType<DoGFire>()), new int[] { 200, 340, 376, 412, 600 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsHead>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 180, 316, 348, 540 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsHead>(), ModContent.ProjectileType<DoGFire>()), new int[] { 200, 340, 376, 600 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<SkyFlareRevenge>()), new int[] { 300, 520, 548, 576, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareBomb>()), new int[] { 220, 384, 424, 464, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Flarenado>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Infernado>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Infernado2>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareDust>()), new int[] { 220, 384, 424, 464, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareDust2>()), new int[] { 220, 384, 424, 464, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<YharonFireball>()), new int[] { 220, 384, 424, 464, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<YharonBulletHellVortex>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<SkyFlareRevenge>()), new int[] { 300, 520, 548, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareBomb>()), new int[] { 220, 384, 424, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Flarenado>()), new int[] { 250, 440, 464, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Infernado>()), new int[] { 250, 440, 464, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Infernado2>()), new int[] { 250, 440, 464, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareDust>()), new int[] { 220, 384, 424, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareDust2>()), new int[] { 220, 384, 424, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<YharonFireball>()), new int[] { 220, 384, 424, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<YharonBulletHellVortex>()), new int[] { 250, 440, 464, 750 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 280, 468, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<SCalBrimstoneFireblast>()), new int[] { 280, 468, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<SCalBrimstoneGigablast>()), new int[] { 300, 508, 528, 548, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneMonster>()), new int[] { 350, 592, 624, 656, 1050 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneWave>()), new int[] { 280, 468, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 280, 468, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SepulcherBodyEnergyBall>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SoulSeekerSupreme>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<SupremeCataclysmFist>()), new int[] { 280, 468, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<SupremeCatastropheSlash>()), new int[] { 280, 468, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 488, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 280, 468, 484, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<SCalBrimstoneFireblast>()), new int[] { 280, 468, 484, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<SCalBrimstoneGigablast>()), new int[] { 300, 508, 528, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneMonster>()), new int[] { 350, 592, 624, 1050 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneWave>()), new int[] { 280, 468, 484, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 280, 468, 484, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SepulcherBodyEnergyBall>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SoulSeekerSupreme>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<SupremeCataclysmFist>()), new int[] { 280, 468, 484, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<SupremeCatastropheSlash>()), new int[] { 280, 468, 484, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 750 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Artemis>(), ModContent.ProjectileType<ArtemisSpinLaserbeam>()), new int[] { 300, 508, 528, 548, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Artemis>(), ModContent.ProjectileType<ArtemisLaser>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloFireball>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloRocket>()), new int[] { 280, 468, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Artemis>(), ModContent.ProjectileType<ArtemisSpinLaserbeam>()), new int[] { 300, 508, 528, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Artemis>(), ModContent.ProjectileType<ArtemisLaser>()), new int[] { 240, 408, 432, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloFireball>()), new int[] { 240, 408, 432, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloRocket>()), new int[] { 280, 468, 484, 840 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosHead>(), ModContent.ProjectileType<ThanatosBeamStart>()), new int[] { 350, 592, 624, 656, 1050 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosHead>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosBody1>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosBody2>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosTail>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosHead>(), ModContent.ProjectileType<ThanatosBeamStart>()), new int[] { 350, 592, 624, 1050 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosHead>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosBody1>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosBody2>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ThanatosTail>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 720 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresBody>(), ModContent.ProjectileType<AresDeathBeamStart>()), new int[] { 300, 508, 528, 548, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<AresLaserBeamStart>()), new int[] { 300, 508, 528, 548, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresPlasmaFlamethrower>(), ModContent.ProjectileType<AresPlasmaFireball>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresTeslaCannon>(), ModContent.ProjectileType<AresTeslaOrb>()), new int[] { 240, 408, 432, 456, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresGaussNuke>(), ModContent.ProjectileType<AresGaussNukeProjectile>()), new int[] { 400, 608, 640, 672, 1200 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresBody>(), ModContent.ProjectileType<AresDeathBeamStart>()), new int[] { 300, 508, 528, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<AresLaserBeamStart>()), new int[] { 300, 508, 528, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<ThanatosLaser>()), new int[] { 240, 408, 432, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresPlasmaFlamethrower>(), ModContent.ProjectileType<AresPlasmaFireball>()), new int[] { 240, 408, 432, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresTeslaCannon>(), ModContent.ProjectileType<AresTeslaOrb>()), new int[] { 240, 408, 432, 720 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresGaussNuke>(), ModContent.ProjectileType<AresGaussNukeProjectile>()), new int[] { 400, 608, 640, 1200 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.CultistBossIceMist), new int[] { 400, 600, 632, 664, 1200 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 500, 752, 788, 824, 1500 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.AncientDoomProjectile), new int[] { 400, 600, 632, 664, 1200 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmBodyAlt>(), ProjectileID.CultistBossFireBallClone), new int[] { 400, 600, 632, 664, 1200 } }
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.CultistBossIceMist), new int[] { 400, 600, 632, 1200 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 500, 752, 788, 1500 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.AncientDoomProjectile), new int[] { 400, 600, 632, 1200 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmBodyAlt>(), ProjectileID.CultistBossFireBallClone), new int[] { 400, 600, 632, 1200 } }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -164,7 +164,7 @@ namespace CalamityMod.Events
|
||||
ModContent.NPCType<DesertNuisanceBody>(), ModContent.NPCType<DesertNuisanceTail>(), ModContent.NPCType<DesertNuisanceHeadYoung>(),
|
||||
ModContent.NPCType<DesertNuisanceBodyYoung>(), ModContent.NPCType<DesertNuisanceTailYoung>() }),
|
||||
|
||||
new Boss(NPCID.EyeofCthulhu, TimeChangeContext.Night, permittedNPCs: new int[] { NPCID.ServantofCthulhu, ModContent.NPCType<BloodlettingServant>() }),
|
||||
new Boss(NPCID.EyeofCthulhu, TimeChangeContext.Night, permittedNPCs: new int[] { NPCID.ServantofCthulhu }),
|
||||
|
||||
new Boss(ModContent.NPCType<Crabulon>(), TimeChangeContext.Day, type =>
|
||||
{
|
||||
|
||||
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 278 B |
|
Before Width: | Height: | Size: 573 B |
|
Before Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 480 B |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.0 KiB |
@@ -79,17 +79,6 @@ namespace CalamityMod.ILEditing
|
||||
}
|
||||
cursor.Remove();
|
||||
cursor.Emit(OpCodes.Ldc_R4, 0.5f); // Decrease to 0.5f.
|
||||
|
||||
// CIT 22SEP2024: Removed the edit intended to decrease Frog Leg's jump speed boost,
|
||||
// as it was not doing anything due to vanilla changing how Frog Leg's jump speed boost is applied.
|
||||
|
||||
// Remove the jump height addition from the Werewolf buff (Moon Charm).
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchLdcI4(2)))
|
||||
{
|
||||
LogFailure("Jump Height Boost Fixes", "Could not locate Moon Charm jump height boost value.");
|
||||
return;
|
||||
}
|
||||
cursor.Next.Operand = 0;
|
||||
}
|
||||
|
||||
private const float VanillaBaseJumpSpeed = 5.01f;
|
||||
@@ -115,16 +104,12 @@ namespace CalamityMod.ILEditing
|
||||
private static void RunSpeedAdjustments(ILContext il)
|
||||
{
|
||||
var cursor = new ILCursor(il);
|
||||
float asphaltTopSpeedMultiplier = 1.75f; // +75%. Vanilla is +250%
|
||||
float asphaltTopSpeedMultiplier = 2.25f; // +125%. Vanilla is +250%
|
||||
float asphaltSlowdown = 1f; // Vanilla is 2f. This should actually make asphalt faster.
|
||||
|
||||
// Dunerider Boots multiply all run stats by 1.75f in vanilla
|
||||
float duneRiderBootsMultiplier = 1.25f; // Change to 1.25f
|
||||
|
||||
// Multiplied by 0.6 on frozen slime, for +26% acceleration
|
||||
// Multiplied by 0.7 on ice, for +47% acceleration
|
||||
float iceSkateAcceleration = 2.1f;
|
||||
float iceSkateTopSpeed = 1f; // no boost at all
|
||||
|
||||
//
|
||||
// ASPHALT
|
||||
@@ -153,22 +138,6 @@ namespace CalamityMod.ILEditing
|
||||
cursor.Emit(OpCodes.Ldc_R4, asphaltSlowdown);
|
||||
}
|
||||
|
||||
//
|
||||
// DUNERIDER BOOTS + SAND BLOCKS
|
||||
//
|
||||
{
|
||||
// Find the multiplier for Dunerider Boots on Sand Blocks.
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchLdcR4(1.75f)))
|
||||
{
|
||||
LogFailure("Run Speed Adjustments", "Could not locate the Dunerdier Boots multiplier.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Massively reduce the increased speed of Dunerider Boots while on Sand Blocks.
|
||||
cursor.Remove();
|
||||
cursor.Emit(OpCodes.Ldc_R4, duneRiderBootsMultiplier);
|
||||
}
|
||||
|
||||
//
|
||||
// ICE SKATES + FROZEN SLIME BLOCKS
|
||||
//
|
||||
@@ -183,17 +152,6 @@ namespace CalamityMod.ILEditing
|
||||
// Massively reduce the acceleration bonus of Ice Skates on Frozen Slime Blocks.
|
||||
cursor.Remove();
|
||||
cursor.Emit(OpCodes.Ldc_R4, iceSkateAcceleration);
|
||||
|
||||
// Find the top speed multiplier of Ice Skates on Frozen Slime Blocks.
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchLdcR4(1.25f)))
|
||||
{
|
||||
LogFailure("Run Speed Adjustments", "Could not locate Ice Skates + Frozen Slime Block top speed multiplier.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Make Ice Skates give no top speed boost whatsoever on Frozen Slime Blocks.
|
||||
cursor.Remove();
|
||||
cursor.Emit(OpCodes.Ldc_R4, iceSkateTopSpeed);
|
||||
}
|
||||
|
||||
//
|
||||
@@ -210,17 +168,6 @@ namespace CalamityMod.ILEditing
|
||||
// Massively reduce the acceleration bonus of Ice Skates on Ice Blocks.
|
||||
cursor.Remove();
|
||||
cursor.Emit(OpCodes.Ldc_R4, iceSkateAcceleration);
|
||||
|
||||
// Find the top speed multiplier of Ice Skates on Ice Blocks.
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchLdcR4(1.25f)))
|
||||
{
|
||||
LogFailure("Run Speed Adjustments", "Could not locate Ice Skates + Ice Block top speed multiplier.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Make Ice Skates give no top speed boost whatsoever on Ice Blocks.
|
||||
cursor.Remove();
|
||||
cursor.Emit(OpCodes.Ldc_R4, iceSkateTopSpeed);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -502,30 +449,13 @@ namespace CalamityMod.ILEditing
|
||||
#region UpdateBuffs Balancing Changes
|
||||
private static void UpdateBuffsBalancingChanges(ILContext il)
|
||||
{
|
||||
// This IL edit accomplishes four things:
|
||||
// 1. Nerf Sharpening Station's armor penetration boost from 12 to 5.
|
||||
// 2. Nerf Beetle Scale Mail's set bonus Beetle Might melee speed from 10% per stack to 5%.
|
||||
// 3. Nerf Nebula armor's Damage and Life Boosters (Mana Boosters are not handled in this method).
|
||||
// 4. Remove the ability for Feral Bite to randomly inflict debuffs.
|
||||
// This IL edit accomplishes three things:
|
||||
// 1. Nerf Beetle Scale Mail's set bonus Beetle Might melee speed from 10% per stack to 5%.
|
||||
// 2. Nerf Nebula armor's Damage and Life Boosters (Mana Boosters are not handled in this method).
|
||||
// 3. Remove the vanilla implementation of Feral Bite inflicting random debuffs.
|
||||
var cursor = new ILCursor(il);
|
||||
|
||||
// First, find the code which applies Sharpened's armor penetration buff.
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdcI4(BuffID.Sharpened)))
|
||||
{
|
||||
LogFailure("Sharpening Station Nerf", "Could not locate the Sharpened buff ID.");
|
||||
return;
|
||||
}
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchLdcR4(12f))) // The amount of armor penetration to grant.
|
||||
{
|
||||
LogFailure("Sharpening Station Nerf", "Could not locate the amount of armor penetration granted.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Replace the value entirely.
|
||||
cursor.Remove();
|
||||
cursor.Emit(OpCodes.Ldc_R4, BalancingConstants.SharpeningStationArmorPenetration);
|
||||
|
||||
// Next, move to Beetle Scale Mail's melee speed boost from Beetle Might buff.
|
||||
// First, move to Beetle Scale Mail's melee speed boost from Beetle Might buff.
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchLdcI4(BuffID.BeetleMight1)))
|
||||
{
|
||||
LogFailure("Beetle Scale Mail Nerf", "Could not locate the Beetle Might buff ID.");
|
||||
@@ -581,7 +511,7 @@ namespace CalamityMod.ILEditing
|
||||
// There are multiple branches pointing to this instruction, so it cannot be removed. Instead, swap its value directly.
|
||||
cursor.Next.Operand = BalancingConstants.NebulaDamagePerBooster;
|
||||
|
||||
// Finally, removing Feral Bite's debuffs.
|
||||
// Finally, removing Feral Bite's vanilla debuff infliction.
|
||||
// Find the random debuff duration multiplier for the debuffs inflicted by Feral Bite.
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchLdcR4(0.01f))) // The 0.01f random debuff duration multiplier.
|
||||
{
|
||||
@@ -590,6 +520,7 @@ namespace CalamityMod.ILEditing
|
||||
}
|
||||
|
||||
// Remove and change to 0f, this makes the random debuffs from Feral Bite have 0 duration.
|
||||
// Calamity reimplements a different version of this in CalamityGlobalBuff.Update
|
||||
cursor.Remove();
|
||||
cursor.Emit(OpCodes.Ldc_R4, 0f);
|
||||
}
|
||||
|
||||
@@ -66,11 +66,11 @@ namespace CalamityMod.ILEditing
|
||||
IL_Main.UpdateTime += PermitNighttimeTownNPCSpawning;
|
||||
On_Main.UpdateTime_SpawnTownNPCs += AlterTownNPCSpawnRate;
|
||||
On_NPC.ShouldEmpressBeEnraged += AllowEmpressToEnrageInBossRush;
|
||||
On_NPC.DoDeathEvents += PreventVanillaBossDeathsInBossRush;
|
||||
IL_NPC.DoDeathEvents += PreventVanillaBossDeathsInBossRush;
|
||||
IL_Player.CollectTaxes += MakeTaxCollectorUseful;
|
||||
|
||||
// Mechanics / features
|
||||
On_NPC.ApplyTileCollision += AllowTriggeredFallthrough;
|
||||
On_NPC.ApplyTileCollision += AllowFusionFeederToDigThroughSand;
|
||||
IL_Player.ApplyEquipFunctional += ScopesRequireVisibilityToZoom;
|
||||
IL_Player.Hurt_PlayerDeathReason_int_int_refHurtInfo_bool_bool_int_bool_float_float_float += DodgeMechanicAdjustments;
|
||||
On_Player.PutHallowedArmorSetBonusOnCooldown += AddHolyProtectionCooldown;
|
||||
@@ -84,8 +84,6 @@ namespace CalamityMod.ILEditing
|
||||
On_Item.AffixName += IncorporateEnchantmentInAffix;
|
||||
On_Projectile.NewProjectile_IEntitySource_float_float_float_float_int_int_float_int_float_float_float += IncorporateExtraProjectileVariables;
|
||||
On_Player.ApplyDamageToNPC += ApplyOldFashionedDamageToMiscHits;
|
||||
// TODO -- This should be unnecessary. There is now a TML hook for platform collision for ModNPCs.
|
||||
On_NPC.Collision_DecideFallThroughPlatforms += EnableCalamityBossPlatformCollision;
|
||||
IL_Wiring.HitWireSingle += AddTwinklersToStatue;
|
||||
On_Player.UpdateItemDye += FindCalamityItemDyeShader;
|
||||
On_AWorldListItem.GetDifficulty += GetDifficultyOverride;
|
||||
|
||||
@@ -344,33 +344,51 @@ namespace CalamityMod.ILEditing
|
||||
#endregion
|
||||
|
||||
#region Prevent Vanilla Bosses From Being Marked as Defeated in Boss Rush
|
||||
private static void PreventVanillaBossDeathsInBossRush(On_NPC.orig_DoDeathEvents orig, NPC self, Player closestPlayer)
|
||||
private static void PreventVanillaBossDeathsInBossRush(ILContext il)
|
||||
{
|
||||
// Aside from setting the boss' downed bool, DoDeathEvents also handles the following tasks:
|
||||
// Advancing Slime Rain, spawning Dungeon Spirits, advancing invasion kills, spawning Wall of Flesh's loot box, dropping boss potions and hearts, and sending the boss defeated message.
|
||||
// The first three do not matter at all in Boss Rush. Wall of Flesh's loot box not spawning is also a positive, so that it doesn't clutter the Underworld.
|
||||
// Dropping potions is worthless at this point, and Boss Rush is already a horribly balanced hellscape as is, so I'm not worried about hearts.
|
||||
// As for the last one, well, if anyone actually notices that and cares about it, then I suppose we could make a more sophisticated IL edit.
|
||||
if (BossRushEvent.BossRushActive)
|
||||
return;
|
||||
// GOAL: Prevent vanilla boss defeated flags from getting set during Boss Rush.
|
||||
// All of this is handled within a switch case directly in the DoDeathEvents function.
|
||||
// Thus, the objective here is to add a branch past the entire switch case if it is Boss Rush.
|
||||
var cursor = new ILCursor(il);
|
||||
|
||||
orig(self, closestPlayer);
|
||||
// Move to the point right before the switch case.
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchCall<NPC>("SpawnOnPlayer")))
|
||||
{
|
||||
LogFailure("Prevent Vanilla Defeated Flags in Boss Rush", "Could not move to before the switch case.");
|
||||
return;
|
||||
}
|
||||
|
||||
// Define a branch label, load the Boss Rush check, and create the branch if it is true.
|
||||
var label = il.DefineLabel();
|
||||
cursor.Emit(OpCodes.Ldsfld, typeof(BossRushEvent).GetField("BossRushActive"));
|
||||
cursor.Emit(OpCodes.Brtrue, label);
|
||||
|
||||
// Move to after the switch case to place the label.
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
if (!cursor.TryGotoNext(MoveType.After, i => i.MatchCall<NPC>("SpawnBoss")))
|
||||
{
|
||||
LogFailure("Prevent Vanilla Defeated Flags in Boss Rush", "Could not move to after the switch case.");
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (!cursor.TryGotoNext(MoveType.AfterLabel, i => i.MatchLdarg0()))
|
||||
{
|
||||
LogFailure("Prevent Vanilla Defeated Flags in Boss Rush", "Could not move to after the switch case.");
|
||||
return;
|
||||
}
|
||||
cursor.MarkLabel(label);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Enabling of Triggered NPC Platform Fallthrough
|
||||
// Why this isn't a mechanism provided by TML itself or vanilla itself is beyond me.
|
||||
private static void AllowTriggeredFallthrough(On_NPC.orig_ApplyTileCollision orig, NPC self, bool fall, Vector2 cPosition, int cWidth, int cHeight)
|
||||
#region Enabling of Fusion Feeder Sand Digging
|
||||
private static void AllowFusionFeederToDigThroughSand(On_NPC.orig_ApplyTileCollision orig, NPC self, bool fall, Vector2 cPosition, int cWidth, int cHeight)
|
||||
{
|
||||
if (self.active && self.type == ModContent.NPCType<FusionFeeder>())
|
||||
{
|
||||
self.velocity = Collision.AdvancedTileCollision(TileID.Sets.ForAdvancedCollision.ForSandshark, cPosition, self.velocity, cWidth, cHeight, fall, fall, 1);
|
||||
return;
|
||||
}
|
||||
var isNpcValid = self.TryGetGlobalNPC(out CalamityGlobalNPC npc); //why the fuck this errors is anybody's guess, it absolutely shouldn't and yet it does
|
||||
if (isNpcValid && self.active && npc.ShouldFallThroughPlatforms)
|
||||
fall = true;
|
||||
|
||||
orig(self, fall, cPosition, cWidth, cHeight);
|
||||
}
|
||||
#endregion
|
||||
@@ -516,18 +534,6 @@ namespace CalamityMod.ILEditing
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Platform Collision Checks for Grounded Bosses
|
||||
private static bool EnableCalamityBossPlatformCollision(On_NPC.orig_Collision_DecideFallThroughPlatforms orig, NPC self)
|
||||
{
|
||||
if ((self.type == ModContent.NPCType<AstrumAureus>() || self.type == ModContent.NPCType<Crabulon>() || self.type == ModContent.NPCType<RavagerBody>() ||
|
||||
self.type == ModContent.NPCType<RockPillar>() || self.type == ModContent.NPCType<FlamePillar>()) &&
|
||||
self.target >= 0 && Main.player[self.target].position.Y > self.position.Y + self.height)
|
||||
return true;
|
||||
|
||||
return orig(self);
|
||||
}
|
||||
#endregion
|
||||
|
||||
#region Incorporate Enchantments in Item Names
|
||||
private static string IncorporateEnchantmentInAffix(On_Item.orig_AffixName orig, Item self)
|
||||
{
|
||||
@@ -1483,88 +1489,28 @@ namespace CalamityMod.ILEditing
|
||||
#endregion
|
||||
|
||||
#region Statue Additions
|
||||
/// <summary>
|
||||
/// Change the following code sequence in Wiring.HitWireSingle
|
||||
/// num8 = (int) Utils.SelectRandom<short>(Main.rand, new short[2]
|
||||
/// {
|
||||
/// 355,
|
||||
/// 358
|
||||
/// });
|
||||
///
|
||||
/// to
|
||||
///
|
||||
/// var arr = new short[2]
|
||||
/// {
|
||||
/// 355,
|
||||
/// 358
|
||||
/// });
|
||||
/// arr = arr.ToList().Add(id).ToArray();
|
||||
/// num8 = Utils.SelectRandom(Main.rand, arr);
|
||||
///
|
||||
/// </summary>
|
||||
/// <param name="il"></param>
|
||||
private static void AddTwinklersToStatue(ILContext il)
|
||||
{
|
||||
// obtain a cursor positioned before the first instruction of the method
|
||||
// the cursor is used for navigating and modifying the il
|
||||
var c = new ILCursor(il);
|
||||
// Allow Twinklers to be spawned by the Firefly Statue.
|
||||
var cursor = new ILCursor(il);
|
||||
|
||||
// the exact location for this hook is very complex to search for due to the hook instructions not being unique, and buried deep in control flow
|
||||
// switch statements are sometimes compiled to if-else chains, and debug builds litter the code with no-ops and redundant locals
|
||||
|
||||
// in general you want to search using structure and function rather than numerical constants which may change across different versions or compile settings
|
||||
// using local variable indices is almost always a bad idea
|
||||
|
||||
// we can search for
|
||||
// switch (*)
|
||||
// case 54:
|
||||
// Utils.SelectRandom *
|
||||
|
||||
// in general you'd want to look for a specific switch variable, or perhaps the containing switch (type) { case 105:
|
||||
// but the generated IL is really variable and hard to match in this case
|
||||
|
||||
// we'll just use the fact that there are no other switch statements with case 54, followed by a SelectRandom
|
||||
|
||||
ILLabel[] targets = null;
|
||||
while (c.TryGotoNext(i => i.MatchSwitch(out targets)))
|
||||
// Move to the method which randomly selects an NPC for the Statue to spawn. This is the second call of the method in this function.
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
// some optimising compilers generate a sub so that all the switch cases start at 0
|
||||
// ldc.i4.s 51
|
||||
// sub
|
||||
// switch
|
||||
int offset = 0;
|
||||
if (c.Prev.MatchSub() && c.Prev.Previous.MatchLdcI4(out offset))
|
||||
if (!cursor.TryGotoNext(MoveType.Before, i => i.MatchCall(typeof(Utils), nameof(Utils.SelectRandom))))
|
||||
{
|
||||
;
|
||||
LogFailure("Add Twinkler to Firefly Statue", "Could not move to the SelectRandom method.");
|
||||
return;
|
||||
}
|
||||
|
||||
// get the label for case 54: if it exists
|
||||
int case54Index = 54 - offset;
|
||||
if (case54Index < 0 || case54Index >= targets.Length || !(targets[case54Index] is ILLabel target))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// move the cursor to case 54:
|
||||
c.GotoLabel(target);
|
||||
// there's lots of extra checks we could add here to make sure we're at the right spot, such as not encountering any branching instructions
|
||||
c.GotoNext(i => i.MatchCall(typeof(Utils), nameof(Utils.SelectRandom)));
|
||||
|
||||
// goto next positions us before the instruction we searched for, so we can insert our array modifying code right here
|
||||
c.EmitDelegate<Func<short[], short[]>>(arr =>
|
||||
{
|
||||
// resize the array and add our custom firefly
|
||||
Array.Resize(ref arr, arr.Length + 1);
|
||||
arr[arr.Length - 1] = (short)ModContent.NPCType<Twinkler>();
|
||||
return arr;
|
||||
});
|
||||
|
||||
// hook applied successfully
|
||||
return;
|
||||
}
|
||||
|
||||
// couldn't find the right place to insert
|
||||
throw new Exception("Hook location not found, switch(*) { case 54: ...");
|
||||
// Emit a delegate which resizes the array and adds Twinkler to it.
|
||||
cursor.EmitDelegate<Func<short[], short[]>>(arr =>
|
||||
{
|
||||
Array.Resize(ref arr, arr.Length + 1);
|
||||
arr[arr.Length - 1] = (short)ModContent.NPCType<Twinkler>();
|
||||
return arr;
|
||||
});
|
||||
}
|
||||
#endregion
|
||||
|
||||
|
||||
@@ -21,6 +21,9 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.inkBomb = true;
|
||||
modPlayer.rogueStealthMax += 0.1f;
|
||||
player.Calamity().stealthGenStandstill += 0.07f;
|
||||
player.Calamity().stealthGenMoving += 0.07f;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -73,8 +73,10 @@ namespace CalamityMod.Items.Accessories
|
||||
continue;
|
||||
|
||||
// Inflict Riptide on empowered parries.
|
||||
//Doze - I gave all parry accessories long debuff infliction times due to the lack of weapons that inflict debuffs for a decent time, and the scarcity of using the parry
|
||||
//Most common vanilla debuffs have a way to inflict them for 15, 20, or even 30 seconds
|
||||
if (empowered)
|
||||
npc.AddBuff(ModContent.BuffType<RiptideDebuff>(), 300);
|
||||
npc.AddBuff(ModContent.BuffType<RiptideDebuff>(), CalamityUtils.SecondsToFrames(15));
|
||||
|
||||
// If the NPC can be moved, violently shove them away. Make them susceptible to fall damage on empowered parries.
|
||||
// Otherwise, simply deal a large amount of damage to them if empowered.
|
||||
|
||||
@@ -223,7 +223,6 @@ namespace CalamityMod.Items.Accessories
|
||||
// Detailed Abyss stats only render if the player is in the Abyss.
|
||||
string stats4 = "\n" + (!modPlayer.ZoneAbyss ? this.GetLocalizedValue("AbyssStatsHidden") : this.GetLocalization("AbyssStats").Format(
|
||||
player.GetCurrentAbyssLightLevel(),
|
||||
TwoPlaces(modPlayer.abyssBreathLossStat),
|
||||
TwoPlaces(modPlayer.abyssBreathLossRateStat),
|
||||
modPlayer.abyssLifeLostAtZeroBreathStat,
|
||||
modPlayer.abyssDefenseLossStat));
|
||||
|
||||
@@ -82,7 +82,7 @@ namespace CalamityMod.Items.Accessories
|
||||
float generousHitboxWidth = Math.Max(nPC.Hitbox.Width / 2f, nPC.Hitbox.Height / 2f) + 100; // Adds some room so max bonus isnt when you're ON the hitbox
|
||||
float intensity = Utils.Remap(Utils.Distance(player.Center, nPC.Center), MaxDistance + generousHitboxWidth, generousHitboxWidth, 1, 3, true); // We have to have this seperate from bonus, otherwise all effected enemies take damage based on the closest enemy
|
||||
|
||||
if (Utils.Distance(nPC.Center, player.Center) < MaxDistance + generousHitboxWidth && (nPC.IsAnEnemy(true, true, false) || nPC.type == ModContent.NPCType<SuperDummyNPC>()) && nPC.CanBeChasedBy())
|
||||
if (Utils.Distance(nPC.Center, player.Center) < MaxDistance + generousHitboxWidth && (nPC.IsAnEnemy(true, true, false) || nPC.type == ModContent.NPCType<SuperDummyNPC>()) && !nPC.dontTakeDamage)
|
||||
{
|
||||
float minDamageMult = 0.35f;
|
||||
int maxTargets = 25;
|
||||
|
||||
@@ -27,12 +27,11 @@ namespace CalamityMod.Items.Armor.DesertProwler
|
||||
public static readonly SoundStyle SmokeBombEndSound = new("CalamityMod/Sounds/Custom/AbilitySounds/DesertProwlerSmokeBombEnd");
|
||||
public static readonly SoundStyle CDResetSound = new("CalamityMod/Sounds/Custom/AbilitySounds/DesertProwlerCDReset");
|
||||
|
||||
public static int FlatDamageBonus = 1;
|
||||
public static int SmokeCooldown = 25 * 60;
|
||||
public static int SmokeDuration = 5 * 60;
|
||||
public static int LightsOutReset = (int)(1.5f * 60);
|
||||
public static int FreeCrit = 200;
|
||||
public static int BonusDamageCap = 100;
|
||||
public static int BonusDamageCap = 200;
|
||||
|
||||
public static bool ShroudedInSmoke(Player player, out CooldownInstance cd)
|
||||
{
|
||||
@@ -78,8 +77,10 @@ namespace CalamityMod.Items.Armor.DesertProwler
|
||||
|
||||
public override void UpdateArmorSet(Player player)
|
||||
{
|
||||
player.setBonus = this.GetLocalization("SetBonus").Format(FlatDamageBonus); //More gets edited in elsewhere
|
||||
player.GetDamage<RangedDamageClass>().Flat += FlatDamageBonus;
|
||||
player.setBonus = this.GetLocalization("SetBonus").Format(); //More gets edited in elsewhere
|
||||
player.Calamity().wearingRogueArmor = true;
|
||||
player.Calamity().rogueStealthMax += 0.5f;
|
||||
player.GetDamage<ThrowingDamageClass>() += 0.05f;
|
||||
|
||||
DesertProwlerPlayer armorPlayer = player.GetModPlayer<DesertProwlerPlayer>();
|
||||
armorPlayer.desertProwlerSet = true;
|
||||
@@ -183,8 +184,7 @@ namespace CalamityMod.Items.Armor.DesertProwler
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetCritChance<RangedDamageClass>() += 4;
|
||||
player.ammoCost80 = true;
|
||||
player.GetCritChance<ThrowingDamageClass>() += 4;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
@@ -227,7 +227,7 @@ namespace CalamityMod.Items.Armor.DesertProwler
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetCritChance<RangedDamageClass>() += 5;
|
||||
player.GetCritChance<ThrowingDamageClass>() += 5;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
@@ -381,7 +381,7 @@ namespace CalamityMod.Items.Armor.DesertProwler
|
||||
{
|
||||
if (projectile.damage > 0 && !Main.gameMenu)
|
||||
{
|
||||
if (projectile.owner >= 0 && DesertProwlerHat.ShroudedInSmoke(Main.player[projectile.owner], out var cd) && projectile.DamageType.CountsAsClass(DamageClass.Ranged))
|
||||
if (projectile.owner >= 0 && DesertProwlerHat.ShroudedInSmoke(Main.player[projectile.owner], out var cd) && projectile.DamageType.CountsAsClass(RogueDamageClass.Instance))
|
||||
{
|
||||
int critPool = DesertProwlerHat.FreeCrit;
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor.FathomSwarmer
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetDamage<SummonDamageClass>() += 0.08f;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
player.moveSpeed += 0.4f;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ namespace CalamityMod.Items.Armor.FathomSwarmer
|
||||
player.spikedBoots = 2;
|
||||
player.maxMinions += 2;
|
||||
player.GetDamage<SummonDamageClass>() += 0.1f;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (modPlayer.countsAsAnyWet)
|
||||
{
|
||||
player.GetDamage<SummonDamageClass>() += 0.2f;
|
||||
player.statDefense += 10;
|
||||
@@ -56,7 +56,7 @@ namespace CalamityMod.Items.Armor.FathomSwarmer
|
||||
player.breath = player.breathMax + 3;
|
||||
}
|
||||
modPlayer.fathomSwarmerVisage = true;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
Lighting.AddLight((int)player.Center.X / 16, (int)player.Center.Y / 16, 0.3f, 0.9f, 1.35f);
|
||||
}
|
||||
|
||||
@@ -67,7 +67,6 @@ namespace CalamityMod.Items.Armor.Fearmonger
|
||||
ModContent.BuffType<GodSlayerInferno>(),
|
||||
BuffID.Chilled,
|
||||
BuffID.Frozen,
|
||||
ModContent.BuffType<GlacialState>(),
|
||||
};
|
||||
for (var i = 0; i < immuneDebuffs.Length; ++i)
|
||||
player.buffImmune[immuneDebuffs[i]] = true;
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.Items.Armor.Reaver
|
||||
modPlayer.wearingRogueArmor = true;
|
||||
player.findTreasure = true;
|
||||
player.aggro -= 200;
|
||||
if (player.IsUnderwater())
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
player.gills = true;
|
||||
|
||||
if (player.whoAmI == Main.myPlayer)
|
||||
|
||||
@@ -35,18 +35,19 @@ namespace CalamityMod.Items.Armor.SnowRuffian
|
||||
Item.height = 18;
|
||||
Item.value = CalamityGlobalItem.RarityBlueBuyPrice;
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
Item.defense = 4; //9
|
||||
Item.defense = 5; //12
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetCritChance<ThrowingDamageClass>() += 3;
|
||||
player.GetCritChance<RangedDamageClass>() += 4;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddRecipeGroup("AnySnowBlock", 60).
|
||||
AddIngredient(ItemID.BorealWood, 20).
|
||||
AddIngredient(ItemID.Silk, 6).
|
||||
AddIngredient(ItemID.FlinxFur, 2).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
|
||||
@@ -14,18 +14,19 @@ namespace CalamityMod.Items.Armor.SnowRuffian
|
||||
Item.height = 18;
|
||||
Item.value = CalamityGlobalItem.RarityBlueBuyPrice;
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
Item.defense = 3; //9
|
||||
Item.defense = 4; //12
|
||||
}
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.moveSpeed += 0.05f;
|
||||
player.moveSpeed += 0.1f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddRecipeGroup("AnySnowBlock", 40).
|
||||
AddIngredient(ItemID.BorealWood, 15).
|
||||
AddIngredient(ItemID.Silk, 5).
|
||||
AddIngredient(ItemID.FlinxFur).
|
||||
AddTile(TileID.Anvils).
|
||||
Register();
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Armor.SnowRuffian
|
||||
Item.height = 18;
|
||||
Item.value = CalamityGlobalItem.RarityBlueBuyPrice;
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
Item.defense = 2; //9
|
||||
Item.defense = 3; //12
|
||||
}
|
||||
|
||||
public override bool IsArmorSet(Item head, Item body, Item legs)
|
||||
@@ -38,10 +38,9 @@ namespace CalamityMod.Items.Armor.SnowRuffian
|
||||
{
|
||||
var modPlayer = player.Calamity();
|
||||
modPlayer.snowRuffianSet = true;
|
||||
modPlayer.rogueStealthMax += 0.5f;
|
||||
player.GetCritChance<RangedDamageClass>() += 4;
|
||||
player.GetDamage<RangedDamageClass>() += 0.04f;
|
||||
player.setBonus = this.GetLocalizedValue("SetBonus");
|
||||
player.GetDamage<ThrowingDamageClass>() += 0.05f;
|
||||
player.Calamity().wearingRogueArmor = true;
|
||||
|
||||
if (player.controlJump)
|
||||
{
|
||||
@@ -62,13 +61,14 @@ namespace CalamityMod.Items.Armor.SnowRuffian
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetDamage<ThrowingDamageClass>() += 0.02f;
|
||||
player.GetDamage<RangedDamageClass>() += 0.02f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddRecipeGroup("AnySnowBlock", 20).
|
||||
AddIngredient(ItemID.BorealWood, 10).
|
||||
AddIngredient(ItemID.Silk, 4).
|
||||
AddIngredient(ItemID.FlinxFur).
|
||||
AddTile(TileID.Anvils).
|
||||
SortBeforeFirstRecipesOf(ModContent.ItemType<SnowRuffianChestplate>()).
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.Items.Armor.Sulphurous
|
||||
{
|
||||
player.GetDamage<ThrowingDamageClass>() += 0.04f;
|
||||
player.GetCritChance<ThrowingDamageClass>() += 2;
|
||||
if (player.IsUnderwater())
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
player.gills = true;
|
||||
}
|
||||
|
||||
|
||||
@@ -22,7 +22,7 @@ namespace CalamityMod.Items.Armor.Sulphurous
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.moveSpeed += Collision.DrownCollision(player.position, player.width, player.height, player.gravDir) ? 0.35f : 0.1f;
|
||||
player.moveSpeed += player.Calamity().countsAsAnyWet ? 0.35f : 0.1f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace CalamityMod.Items.Armor.Victide
|
||||
{
|
||||
player.endurance += 0.05f;
|
||||
player.GetCritChance<GenericDamageClass>() += 5;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
player.statDefense += 5;
|
||||
player.endurance += 0.1f;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Victide
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.moveSpeed += Collision.DrownCollision(player.position, player.width, player.height, player.gravDir) ? 0.3f : 0.08f;
|
||||
player.moveSpeed += player.Calamity().countsAsAnyWet ? 0.3f : 0.08f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Victide
|
||||
var modPlayer = player.Calamity();
|
||||
modPlayer.victideSet = true;
|
||||
player.ignoreWater = true;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
player.GetDamage<MagicDamageClass>() += 0.1f;
|
||||
player.lifeRegen += 3;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Victide
|
||||
var modPlayer = player.Calamity();
|
||||
modPlayer.victideSet = true;
|
||||
player.ignoreWater = true;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
player.GetDamage<MeleeDamageClass>() += 0.1f;
|
||||
player.lifeRegen += 3;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Armor.Victide
|
||||
var modPlayer = player.Calamity();
|
||||
modPlayer.victideSet = true;
|
||||
player.ignoreWater = true;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
player.GetDamage<RangedDamageClass>() += 0.1f;
|
||||
player.lifeRegen += 3;
|
||||
|
||||
@@ -33,7 +33,7 @@ namespace CalamityMod.Items.Armor.Victide
|
||||
modPlayer.rogueStealthMax += 0.6f;
|
||||
modPlayer.wearingRogueArmor = true;
|
||||
player.ignoreWater = true;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
player.GetDamage<ThrowingDamageClass>() += 0.1f;
|
||||
player.lifeRegen += 3;
|
||||
|
||||
@@ -55,7 +55,7 @@ namespace CalamityMod.Items.Armor.Victide
|
||||
}
|
||||
}
|
||||
player.ignoreWater = true;
|
||||
if (Collision.DrownCollision(player.position, player.width, player.height, player.gravDir))
|
||||
if (player.Calamity().countsAsAnyWet)
|
||||
{
|
||||
player.GetDamage<SummonDamageClass>() += 0.1f;
|
||||
player.lifeRegen += 3;
|
||||
|
||||
@@ -26,12 +26,14 @@ namespace CalamityMod.Items
|
||||
|
||||
internal static void LoadTweaks()
|
||||
{
|
||||
// Various shorthands for items which receive very simple changes, such as setting one flag.
|
||||
// Various shorthands for items which receive very simple changes, or are repeated multiple times.
|
||||
IItemTweak[] trueMelee = Do(TrueMelee);
|
||||
IItemTweak[] trueMeleeNoSpeed = Do(TrueMeleeNoSpeed);
|
||||
IItemTweak[] pointBlank = Do(PointBlank);
|
||||
IItemTweak[] autoReuse = Do(AutoReuse);
|
||||
IItemTweak[] nonConsumableBossSummon = Do(MaxStack(1), NotConsumable, UseTimeExact(10));
|
||||
IItemTweak[] phaseblade = Do(AutoReuse, UseTurn, DamageExact(36));
|
||||
IItemTweak[] phasesaber = Do(DamageExact(132));
|
||||
|
||||
// SORTING NOTES:
|
||||
// 1. Sort tweaks by categories first, then sort by the internal name in alphabetical order. Navigate through categories and names using the search function.
|
||||
@@ -59,8 +61,8 @@ namespace CalamityMod.Items
|
||||
{ ItemID.BlizzardStaff, Do(DamageExact(41), ManaExact(7)) },
|
||||
{ ItemID.BloodyMachete, Do(AutoReuse, DamageExact(24)) },
|
||||
{ ItemID.Blowgun, Do(PointBlank, DamageExact(40), ShootSpeedExact(15f)) },
|
||||
{ ItemID.BluePhaseblade, Do(AutoReuse, UseTurn, DamageExact(48)) },
|
||||
{ ItemID.BluePhasesaber, Do(DamageExact(132)) },
|
||||
{ ItemID.BluePhaseblade, phaseblade },
|
||||
{ ItemID.BluePhasesaber, phasesaber },
|
||||
{ ItemID.BoneSword, Do(AutoReuse, UseTurn, DamageExact(25)) },
|
||||
{ ItemID.BookofSkulls, Do(DamageExact(27), ManaExact(13), ShootSpeedExact(5.5f)) },
|
||||
{ ItemID.BookStaff, Do(ManaExact(14)) }, // Tome of Infinite Wisdom
|
||||
@@ -100,7 +102,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.DD2SquireDemonSword, Do(DamageExact(110), UseExact(25)) }, // Brand of the Inferno
|
||||
{ ItemID.DeathSickle, Do(UseMeleeSpeed, DamageExact(82), ShootSpeedExact(15f)) },
|
||||
{ ItemID.DemonBow, Do(PointBlank, DamageExact(12), AutoReuse) },
|
||||
{ ItemID.DemonScythe, Do(AutoReuse, DamageExact(33)) },
|
||||
{ ItemID.DemonScythe, Do(AutoReuse, DamageExact(28)) },
|
||||
{ ItemID.DyeTradersScimitar, Do(AutoReuse, UseTurn, DamageExact(24)) }, // Exotic Scimitar
|
||||
{ ItemID.ElectrosphereLauncher, Do(DamageExact(44)) },
|
||||
{ ItemID.ElfMelter, Do(ShootSpeedDelta(+5f)) },
|
||||
@@ -113,7 +115,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.FairyQueenMagicItem, Do(DamageExact(54)) }, // Nightglow
|
||||
{ ItemID.FalconBlade, Do(UseTurn, UseExact(13)) },
|
||||
{ ItemID.FireworksLauncher, Do(DamageExact(50), UseExact(25)) }, // Celebration
|
||||
{ ItemID.Flamarang, Do(DamageExact(40)) },
|
||||
{ ItemID.Flamarang, Do(DamageExact(37)) },
|
||||
{ ItemID.Flamelash, Do(DamageExact(40)) },
|
||||
{ ItemID.Flamethrower, Do(DamageExact(21), ShootSpeedDelta(+3f)) },
|
||||
{ ItemID.FlowerofFire, Do(AutoReuse, ManaExact(7), UseRatio(0.88f), DamageRatio(0.7f)) }, // Uses ratios due to remix seed
|
||||
@@ -126,8 +128,8 @@ namespace CalamityMod.Items
|
||||
{ ItemID.GoldShortsword, Do(AutoReuse, TrueMelee, DamageExact(17)) },
|
||||
{ ItemID.GolemFist, Do(DamageExact(150)) },
|
||||
{ ItemID.Gradient, Do(AutoReuse, DamageExact(39)) },
|
||||
{ ItemID.GreenPhaseblade, Do(AutoReuse, UseTurn, DamageExact(48)) },
|
||||
{ ItemID.GreenPhasesaber, Do(DamageExact(132)) },
|
||||
{ ItemID.GreenPhaseblade, phaseblade },
|
||||
{ ItemID.GreenPhasesaber, phasesaber },
|
||||
{ ItemID.GrenadeLauncher, Do(DamageExact(112)) },
|
||||
{ ItemID.Gungnir, Do(AutoReuse, TrueMelee, DamageExact(144), ShootSpeedExact(7f)) },
|
||||
{ ItemID.HallowedRepeater, Do(PointBlank, UseExact(12)) },
|
||||
@@ -166,7 +168,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.MiniNukeI, Do(DamageExact(90)) },
|
||||
{ ItemID.MiniNukeII, Do(DamageExact(90)) },
|
||||
{ ItemID.Minishark, Do(PointBlank, DamageExact(4)) },
|
||||
{ ItemID.MoltenFury, Do(PointBlank, UseExact(29), AutoReuse) },
|
||||
{ ItemID.MoltenFury, Do(PointBlank, UseExact(28), AutoReuse) },
|
||||
{ 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
|
||||
@@ -181,8 +183,8 @@ namespace CalamityMod.Items
|
||||
{ ItemID.NettleBurst, Do(ManaExact(10), DamageExact(70)) },
|
||||
{ ItemID.NightsEdge, Do(TrueMelee, DamageExact(45)) },
|
||||
{ ItemID.NorthPole, Do(AutoReuse, UseMeleeSpeed) },
|
||||
{ ItemID.OrangePhaseblade, Do(AutoReuse, UseTurn, DamageExact(48)) },
|
||||
{ ItemID.OrangePhasesaber, Do(DamageExact(132)) },
|
||||
{ ItemID.OrangePhaseblade, phaseblade },
|
||||
{ ItemID.OrangePhasesaber, phasesaber },
|
||||
{ ItemID.OrichalcumHalberd, Do(AutoReuse, TrueMelee, DamageExact(128), ShootSpeedExact(6f)) },
|
||||
{ ItemID.OrichalcumRepeater, Do(PointBlank, DamageExact(48)) },
|
||||
{ ItemID.OrichalcumSword, Do(UseTurn, DamageExact(175)) },
|
||||
@@ -205,8 +207,8 @@ namespace CalamityMod.Items
|
||||
{ ItemID.PrincessWeapon, Do(DamageExact(90)) }, // Resonance Scepter
|
||||
{ ItemID.PsychoKnife, Do(UseTurn, UseExact(11), DamageExact(200)) },
|
||||
{ ItemID.PurpleClubberfish, Do(UseTurn, KnockbackExact(10f)) },
|
||||
{ ItemID.PurplePhaseblade, Do(AutoReuse, UseTurn, DamageExact(48)) },
|
||||
{ ItemID.PurplePhasesaber, Do(DamageExact(132)) },
|
||||
{ ItemID.PurplePhaseblade, phaseblade },
|
||||
{ ItemID.PurplePhasesaber, phasesaber },
|
||||
{ ItemID.PygmyStaff, Do(AutoReuse, UseExact(20), DamageExact(70)) },
|
||||
{ ItemID.QuadBarrelShotgun, Do(PointBlank, DamageExact(11)) },
|
||||
{ ItemID.RainbowGun, Do(DamageExact(60), ManaExact(40)) },
|
||||
@@ -215,8 +217,8 @@ namespace CalamityMod.Items
|
||||
{ ItemID.RavenStaff, Do(AutoReuse, UseExact(20), DamageExact(36)) },
|
||||
{ ItemID.RazorbladeTyphoon, Do(DamageExact(103)) },
|
||||
{ ItemID.Razorpine, Do(DamageExact(40)) },
|
||||
{ ItemID.RedPhaseblade, Do(AutoReuse, UseTurn, DamageExact(48)) },
|
||||
{ ItemID.RedPhasesaber, Do(DamageExact(132)) },
|
||||
{ ItemID.RedPhaseblade, phaseblade },
|
||||
{ ItemID.RedPhasesaber, phasesaber },
|
||||
{ ItemID.RedRyder, Do(PointBlank, DamageExact(24)) },
|
||||
{ ItemID.RedsYoyo, Do(AutoReuse, DamageExact(48)) }, // Red's Throw and Valkyrie Yoyo have the same stats
|
||||
{ ItemID.RocketLauncher, Do(DamageExact(70)) },
|
||||
@@ -238,12 +240,12 @@ namespace CalamityMod.Items
|
||||
{ ItemID.SniperRifle, Do(PointBlank, DamageExact(215)) },
|
||||
{ ItemID.SolarEruption, Do(DamageExact(122)) },
|
||||
{ ItemID.SoulDrain, Do(DamageExact(38)) }, // Life Drain
|
||||
{ ItemID.SpaceGun, Do(DamageExact(25)) },
|
||||
{ ItemID.SpaceGun, Do(DamageExact(23)) },
|
||||
{ ItemID.Spear, Do(AutoReuse, TrueMelee, DamageExact(14)) },
|
||||
{ ItemID.SpectreStaff, Do(DamageExact(78)) },
|
||||
{ ItemID.SpiritFlame, Do(UseExact(20), ManaExact(11), ShootSpeedExact(2f)) },
|
||||
{ ItemID.StaffofEarth, Do(DamageExact(150)) },
|
||||
{ ItemID.StarCannon, Do(DamageExact(25)) },
|
||||
{ ItemID.StarCannon, Do(DamageExact(25), UseExact(15)) },
|
||||
{ ItemID.StardustDragonStaff, Do(AutoReuse, DamageExact(20), UseExact(19)) },
|
||||
{ ItemID.StormTigerStaff, Do(AutoReuse, DamageExact(49), UseExact(20)) }, // Desert Tiger Staff
|
||||
{ ItemID.StylistKilLaKillScissorsIWish, Do(AutoReuse, UseTurn, DamageExact(21)) }, // Stylish Scissors
|
||||
@@ -284,12 +286,12 @@ namespace CalamityMod.Items
|
||||
{ ItemID.VenusMagnum, Do(PointBlank, DamageExact(65)) },
|
||||
{ ItemID.WaspGun, Do(UseExact(11), DamageExact(58)) },
|
||||
{ ItemID.WaterBolt, Do(DamageExact(23)) },
|
||||
{ ItemID.WhitePhaseblade, Do(AutoReuse, UseTurn, DamageExact(48)) },
|
||||
{ ItemID.WhitePhasesaber, Do(DamageExact(132)) },
|
||||
{ ItemID.WhitePhaseblade, phaseblade },
|
||||
{ ItemID.WhitePhasesaber, phasesaber },
|
||||
{ ItemID.WoodenBoomerang, Do(DamageExact(16), Value(Item.sellPrice(copper: 20))) },
|
||||
{ ItemID.Yelets, Do(AutoReuse, DamageExact(53)) },
|
||||
{ ItemID.YellowPhaseblade, Do(AutoReuse, UseTurn, DamageExact(48)) },
|
||||
{ ItemID.YellowPhasesaber, Do(DamageExact(132)) },
|
||||
{ ItemID.YellowPhaseblade, phaseblade },
|
||||
{ ItemID.YellowPhasesaber, phasesaber },
|
||||
{ ItemID.Zenith, Do(DamageExact(210)) },
|
||||
{ ItemID.ZombieArm, Do(AutoReuse, UseTurn, KnockbackExact(12f)) },
|
||||
#endregion
|
||||
@@ -333,106 +335,99 @@ namespace CalamityMod.Items
|
||||
|
||||
#region CATEGORY 3: Tool Balancing
|
||||
{ ItemID.AcornAxe, Do(AxePower(100)) }, // Axe of Regrowth
|
||||
{ ItemID.AdamantiteChainsaw, Do(TrueMeleeNoSpeed, AxePower(90), UseTimeExact(4), TileBoostExact(+0), DamageExact(75)) },
|
||||
{ ItemID.AdamantiteDrill, Do(TrueMeleeNoSpeed, PickPower(180), UseTimeExact(4), TileBoostExact(+1), DamageExact(32)) },
|
||||
{ ItemID.AdamantitePickaxe, Do(PickPower(180), UseTimeExact(8), TileBoostExact(+1)) },
|
||||
{ ItemID.AdamantiteChainsaw, Do(TrueMeleeNoSpeed, AxePower(90), TileBoostExact(+0), DamageExact(75)) },
|
||||
{ ItemID.AdamantiteDrill, Do(TrueMeleeNoSpeed, TileBoostExact(+1), DamageExact(32)) },
|
||||
{ ItemID.AdamantitePickaxe, Do(TileBoostExact(+1)) },
|
||||
{ ItemID.AdamantiteWaraxe, Do(AxePower(160), UseTimeExact(10), TileBoostExact(+1)) },
|
||||
{ ItemID.BloodLustCluster, Do(AxePower(100), UseTimeExact(13), TileBoostExact(+0)) },
|
||||
{ ItemID.BonePickaxe, Do(PickPower(55), UseTimeExact(6)) },
|
||||
{ ItemID.BorealWoodHammer, Do(HammerPower(25), UseTimeExact(11), TileBoostExact(+0)) },
|
||||
{ ItemID.ButchersChainsaw, Do(TrueMeleeNoSpeed, AxePower(150), UseTimeExact(3), TileBoostExact(+0)) },
|
||||
{ ItemID.BloodLustCluster, Do(AxePower(100), UseTimeExact(13)) },
|
||||
{ ItemID.BonePickaxe, Do(UseTimeExact(6)) },
|
||||
{ ItemID.BorealWoodHammer, Do(HammerPower(25), UseTimeExact(11)) },
|
||||
{ ItemID.ButchersChainsaw, Do(TrueMeleeNoSpeed, UseTimeExact(3), TileBoostExact(+0)) },
|
||||
{ ItemID.CactusPickaxe, Do(PickPower(34), UseTimeExact(9)) },
|
||||
{ ItemID.CnadyCanePickaxe, Do(PickPower(55), UseTimeExact(9), TileBoostExact(+1)) }, // Candy Cane Pickaxe
|
||||
{ ItemID.ChlorophyteChainsaw, Do(TrueMeleeNoSpeed, AxePower(120), UseTimeExact(3), TileBoostExact(+0), DamageExact(112)) },
|
||||
{ ItemID.ChlorophyteDrill, Do(TrueMeleeNoSpeed, PickPower(200), UseTimeExact(4), TileBoostExact(+2), DamageExact(43)) },
|
||||
{ ItemID.ChlorophyteGreataxe, Do(AxePower(165), UseTimeExact(7), TileBoostExact(+2)) },
|
||||
{ ItemID.ChlorophyteJackhammer, Do(TrueMeleeNoSpeed, HammerPower(90), UseTimeExact(5), TileBoostExact(+0)) },
|
||||
{ ItemID.ChlorophytePickaxe, Do(PickPower(200), UseTimeExact(7), TileBoostExact(+2)) },
|
||||
{ ItemID.ChlorophyteWarhammer, Do(HammerPower(90), UseTimeExact(8), TileBoostExact(+2)) },
|
||||
{ ItemID.CobaltChainsaw, Do(TrueMeleeNoSpeed, AxePower(70), UseTimeExact(4), TileBoostExact(-1), DamageExact(51)) },
|
||||
{ ItemID.CnadyCanePickaxe, Do(UseTimeExact(9), TileBoostExact(+1)) }, // Candy Cane Pickaxe
|
||||
{ ItemID.ChlorophyteChainsaw, Do(TrueMeleeNoSpeed, AxePower(120), UseTimeExact(3), DamageExact(112)) },
|
||||
{ ItemID.ChlorophyteDrill, Do(TrueMeleeNoSpeed, TileBoostExact(+2), DamageExact(43)) },
|
||||
{ ItemID.ChlorophyteGreataxe, Do(AxePower(165), TileBoostExact(+2)) },
|
||||
{ ItemID.ChlorophyteJackhammer, Do(TrueMeleeNoSpeed, UseTimeExact(5)) },
|
||||
{ ItemID.ChlorophytePickaxe, Do(TileBoostExact(+2)) },
|
||||
{ ItemID.ChlorophyteWarhammer, Do(UseTimeExact(8), TileBoostExact(+2)) },
|
||||
{ ItemID.CobaltChainsaw, Do(TrueMeleeNoSpeed, UseTimeExact(4), DamageExact(51)) },
|
||||
{ ItemID.CobaltDrill, Do(TrueMeleeNoSpeed, PickPower(130), UseTimeExact(5), DamageExact(21)) },
|
||||
{ ItemID.CobaltPickaxe, Do(PickPower(130), UseTimeExact(9)) },
|
||||
{ ItemID.CobaltWaraxe, Do(AxePower(125), UseTimeExact(12), TileBoostExact(+0)) },
|
||||
{ ItemID.CobaltWaraxe, Do(AxePower(125), UseTimeExact(12)) },
|
||||
{ ItemID.CopperAxe, Do(AxePower(50), UseTimeExact(16), TileBoostExact(+0)) },
|
||||
{ ItemID.CopperHammer, Do(HammerPower(35), UseTimeExact(12), TileBoostExact(+0)) },
|
||||
{ ItemID.CopperPickaxe, Do(PickPower(35), UseTimeExact(10), TileBoostExact(+0)) },
|
||||
{ ItemID.DeathbringerPickaxe, Do(PickPower(70), UseTimeExact(10)) },
|
||||
{ ItemID.Drax, Do(TrueMeleeNoSpeed, PickPower(200), AxePower(110), UseTimeExact(4), TileBoostExact(+1), DamageExact(80)) },
|
||||
{ ItemID.EbonwoodHammer, Do(HammerPower(25), UseTimeExact(9), TileBoostExact(+0)) },
|
||||
{ ItemID.FleshGrinder, Do(HammerPower(70), UseTimeExact(13), TileBoostExact(+0)) },
|
||||
{ ItemID.GoldAxe, Do(AxePower(80), UseTimeExact(14), TileBoostExact(+0)) },
|
||||
{ ItemID.GoldHammer, Do(HammerPower(60), UseTimeExact(9), TileBoostExact(+0)) },
|
||||
{ ItemID.GoldPickaxe, Do(PickPower(55), UseTimeExact(9)) },
|
||||
{ ItemID.Hammush, Do(HammerPower(85), UseTimeExact(10), TileBoostExact(+1)) },
|
||||
{ ItemID.IronAxe, Do(AxePower(60), UseTimeExact(15), TileBoostExact(+0)) },
|
||||
{ ItemID.IronHammer, Do(HammerPower(45), UseTimeExact(11), TileBoostExact(+0)) },
|
||||
{ ItemID.IronPickaxe, Do(PickPower(40), UseTimeExact(8)) },
|
||||
{ ItemID.CopperHammer, Do(UseTimeExact(12), TileBoostExact(+0)) },
|
||||
{ ItemID.CopperPickaxe, Do(UseTimeExact(10), TileBoostExact(+0)) },
|
||||
{ ItemID.DeathbringerPickaxe, Do(UseTimeExact(10)) },
|
||||
{ ItemID.Drax, Do(TrueMeleeNoSpeed, TileBoostExact(+1), DamageExact(80)) },
|
||||
{ ItemID.EbonwoodHammer, Do(HammerPower(25), UseTimeExact(9)) },
|
||||
{ ItemID.FleshGrinder, Do(HammerPower(70), UseTimeExact(13)) },
|
||||
{ ItemID.GoldAxe, Do(AxePower(80), UseTimeExact(14)) },
|
||||
{ ItemID.GoldHammer, Do(HammerPower(60), UseTimeExact(9)) },
|
||||
{ ItemID.GoldPickaxe, Do(UseTimeExact(9)) },
|
||||
{ ItemID.Hammush, Do(UseTimeExact(10), TileBoostExact(+1)) },
|
||||
{ ItemID.IronAxe, Do(AxePower(60), UseTimeExact(15)) },
|
||||
{ ItemID.IronHammer, Do(HammerPower(45), UseTimeExact(11)) },
|
||||
{ ItemID.IronPickaxe, Do(UseTimeExact(8)) },
|
||||
{ ItemID.LaserDrill, Do(PickPower(220), AxePower(120), UseTimeExact(4), DamageExact(54)) },
|
||||
{ ItemID.LeadAxe, Do(AxePower(60), UseTimeExact(15), TileBoostExact(+0)) },
|
||||
{ ItemID.LeadHammer, Do(HammerPower(45), UseTimeExact(11), TileBoostExact(+0)) },
|
||||
{ ItemID.LeadAxe, Do(AxePower(60), UseTimeExact(15)) },
|
||||
{ ItemID.LeadHammer, Do(HammerPower(45), UseTimeExact(11)) },
|
||||
{ ItemID.LeadPickaxe, Do(PickPower(40), UseTimeExact(8)) },
|
||||
{ ItemID.LucyTheAxe, Do(AxePower(150), UseExact(13), TileBoostExact(+1)) },
|
||||
{ ItemID.LunarHamaxeNebula, Do(HammerPower(100), AxePower(175), UseTimeExact(5), TileBoostExact(+4)) },
|
||||
{ ItemID.LunarHamaxeSolar, Do(HammerPower(100), AxePower(175), UseTimeExact(5), TileBoostExact(+4)) },
|
||||
{ ItemID.LunarHamaxeStardust, Do(HammerPower(100), AxePower(175), UseTimeExact(5), TileBoostExact(+4)) },
|
||||
{ ItemID.LunarHamaxeVortex, Do(HammerPower(100), AxePower(175), UseTimeExact(5), TileBoostExact(+4)) },
|
||||
{ ItemID.MeteorHamaxe, Do(HammerPower(70), AxePower(100), UseTimeExact(16), TileBoostExact(+0)) },
|
||||
{ ItemID.MoltenHamaxe, Do(HammerPower(75), AxePower(125), UseTimeExact(14), TileBoostExact(+0)) },
|
||||
{ ItemID.MoltenPickaxe, Do(PickPower(100), UseTimeExact(10)) },
|
||||
{ ItemID.MythrilChainsaw, Do(TrueMeleeNoSpeed, AxePower(80), UseTimeExact(4), TileBoostExact(-1), DamageExact(63)) },
|
||||
{ ItemID.LucyTheAxe, Do(UseExact(13), TileBoostExact(+1)) },
|
||||
{ ItemID.LunarHamaxeNebula, Do(AxePower(175), UseTimeExact(5)) },
|
||||
{ ItemID.LunarHamaxeSolar, Do(AxePower(175), UseTimeExact(5)) },
|
||||
{ ItemID.LunarHamaxeStardust, Do(AxePower(175), UseTimeExact(5)) },
|
||||
{ ItemID.LunarHamaxeVortex, Do(AxePower(175), UseTimeExact(5)) },
|
||||
{ ItemID.MeteorHamaxe, Do(HammerPower(70)) },
|
||||
{ ItemID.MoltenHamaxe, Do(HammerPower(75), AxePower(125)) },
|
||||
{ ItemID.MoltenPickaxe, Do(UseTimeExact(10)) },
|
||||
{ ItemID.MythrilChainsaw, Do(TrueMeleeNoSpeed, AxePower(80), UseTimeExact(4), DamageExact(63)) },
|
||||
{ ItemID.MythrilDrill, Do(TrueMeleeNoSpeed, PickPower(160), UseTimeExact(4), DamageExact(26)) },
|
||||
{ ItemID.MythrilPickaxe, Do(PickPower(160), UseTimeExact(8)) },
|
||||
{ ItemID.MythrilWaraxe, Do(AxePower(140), UseTimeExact(11), TileBoostExact(+0)) },
|
||||
{ ItemID.NebulaDrill, Do(TrueMeleeNoSpeed, PickPower(225), UseTimeExact(3), TileBoostExact(+4), DamageExact(95)) },
|
||||
{ ItemID.NebulaPickaxe, Do(PickPower(225), UseTimeExact(6), TileBoostExact(+4)) },
|
||||
{ ItemID.MythrilWaraxe, Do(AxePower(140), UseTimeExact(11)) },
|
||||
{ ItemID.NebulaDrill, Do(TrueMeleeNoSpeed, UseTimeExact(3), TileBoostExact(+4), DamageExact(95)) },
|
||||
{ ItemID.NightmarePickaxe, Do(PickPower(66), UseTimeExact(9)) },
|
||||
{ ItemID.OrichalcumChainsaw, Do(TrueMeleeNoSpeed, AxePower(80), UseTimeExact(4), TileBoostExact(-1), DamageExact(63)) },
|
||||
{ ItemID.OrichalcumChainsaw, Do(TrueMeleeNoSpeed, AxePower(80), UseTimeExact(4), DamageExact(63)) },
|
||||
{ ItemID.OrichalcumDrill, Do(TrueMeleeNoSpeed, PickPower(160), UseTimeExact(4), DamageExact(26)) },
|
||||
{ ItemID.OrichalcumPickaxe, Do(PickPower(160), UseTimeExact(8)) },
|
||||
{ ItemID.OrichalcumWaraxe, Do(AxePower(140), UseTimeExact(11), TileBoostExact(+0)) },
|
||||
{ ItemID.PalladiumChainsaw, Do(TrueMeleeNoSpeed, AxePower(70), UseTimeExact(4), TileBoostExact(-1), DamageExact(51)) },
|
||||
{ ItemID.PalladiumDrill, Do(TrueMeleeNoSpeed, PickPower(130), UseTimeExact(5), DamageExact(21)) },
|
||||
{ ItemID.PalladiumPickaxe, Do(PickPower(130), UseTimeExact(9)) },
|
||||
{ ItemID.PalladiumWaraxe, Do(AxePower(125), UseTimeExact(12), TileBoostExact(+0)) },
|
||||
{ ItemID.PalmWoodHammer, Do(HammerPower(25), UseTimeExact(11), TileBoostExact(+0)) },
|
||||
{ ItemID.PearlwoodHammer, Do(HammerPower(25), UseTimeExact(4), UseAnimationExact(20), DamageExact(36), TileBoostExact(+0)) },
|
||||
{ ItemID.PickaxeAxe, Do(PickPower(200), AxePower(110), UseTimeExact(7), TileBoostExact(+1)) },
|
||||
{ ItemID.Picksaw, Do(PickPower(210), AxePower(125), UseTimeExact(6), TileBoostExact(+1)) },
|
||||
{ ItemID.PlatinumAxe, Do(AxePower(80), UseTimeExact(14), TileBoostExact(+0)) },
|
||||
{ ItemID.PlatinumHammer, Do(HammerPower(60), UseTimeExact(9), TileBoostExact(+0)) },
|
||||
{ ItemID.OrichalcumWaraxe, Do(AxePower(140), UseTimeExact(11)) },
|
||||
{ ItemID.PalladiumChainsaw, Do(TrueMeleeNoSpeed, AxePower(70), UseTimeExact(4), DamageExact(51)) },
|
||||
{ ItemID.PalladiumDrill, Do(TrueMeleeNoSpeed, UseTimeExact(5), DamageExact(21)) },
|
||||
{ ItemID.PalladiumPickaxe, Do(UseTimeExact(9)) },
|
||||
{ ItemID.PalladiumWaraxe, Do(AxePower(125)) },
|
||||
{ ItemID.PalmWoodHammer, Do(HammerPower(25), UseTimeExact(11)) },
|
||||
{ ItemID.PearlwoodHammer, Do(HammerPower(25), UseTimeExact(4), UseAnimationExact(20), DamageExact(36)) },
|
||||
{ ItemID.PickaxeAxe, Do(TileBoostExact(+1)) },
|
||||
{ ItemID.PlatinumAxe, Do(AxePower(80), UseTimeExact(14)) },
|
||||
{ ItemID.PlatinumHammer, Do(HammerPower(60), UseTimeExact(9)) },
|
||||
{ ItemID.PlatinumPickaxe, Do(PickPower(55), UseTimeExact(9)) },
|
||||
{ ItemID.Pwnhammer, Do(HammerPower(80), UseTimeExact(11), TileBoostExact(+1)) },
|
||||
{ ItemID.Pwnhammer, Do(UseTimeExact(11), TileBoostExact(+1)) },
|
||||
{ ItemID.ReaverShark, Do(PickPower(65), UseTimeExact(16)) },
|
||||
{ ItemID.RichMahoganyHammer, Do(HammerPower(25), UseTimeExact(10), TileBoostExact(+0)) },
|
||||
{ ItemID.Rockfish, Do(HammerPower(50), UseTimeExact(10), TileBoostExact(+0)) },
|
||||
{ ItemID.SawtoothShark, Do(TrueMeleeNoSpeed, AxePower(45), UseTimeExact(4), TileBoostExact(-1)) },
|
||||
{ ItemID.ShadewoodHammer, Do(HammerPower(25), UseTimeExact(9), TileBoostExact(+0)) },
|
||||
{ ItemID.ShroomiteDiggingClaw, Do(PickPower(200), AxePower(125), UseTimeExact(4), TileBoostExact(-1)) },
|
||||
{ ItemID.SilverAxe, Do(AxePower(70), UseTimeExact(14), TileBoostExact(+0)) },
|
||||
{ ItemID.SilverHammer, Do(HammerPower(55), UseTimeExact(10), TileBoostExact(+0)) },
|
||||
{ ItemID.SilverPickaxe, Do(PickPower(50), UseTimeExact(11)) },
|
||||
{ ItemID.SolarFlareDrill, Do(TrueMeleeNoSpeed, PickPower(225), UseTimeExact(3), TileBoostExact(+4), DamageExact(95)) },
|
||||
{ ItemID.SolarFlarePickaxe, Do(PickPower(225), UseTimeExact(6), TileBoostExact(+4)) },
|
||||
{ ItemID.SpectreHamaxe, Do(HammerPower(90), AxePower(170), TileBoostExact(+4)) },
|
||||
{ ItemID.SpectrePickaxe, Do(PickPower(200), TileBoostExact(+4)) },
|
||||
{ ItemID.StardustDrill, Do(TrueMeleeNoSpeed, PickPower(225), UseTimeExact(3), TileBoostExact(+4), DamageExact(95)) },
|
||||
{ ItemID.StardustPickaxe, Do(PickPower(225), UseTimeExact(6), TileBoostExact(+4)) },
|
||||
{ ItemID.TheAxe, Do(HammerPower(100), AxePower(175), UseTimeExact(7), TileBoostExact(+1)) },
|
||||
{ ItemID.TheBreaker, Do(HammerPower(70), UseTimeExact(13), TileBoostExact(+0)) },
|
||||
{ ItemID.TinAxe, Do(AxePower(50), UseTimeExact(16), TileBoostExact(+0)) },
|
||||
{ ItemID.TinHammer, Do(HammerPower(35), UseTimeExact(12), TileBoostExact(+0)) },
|
||||
{ ItemID.TinPickaxe, Do(PickPower(35), UseTimeExact(10), TileBoostExact(+0)) },
|
||||
{ ItemID.TitaniumChainsaw, Do(TrueMeleeNoSpeed, AxePower(90), UseTimeExact(4), TileBoostExact(+0), DamageExact(75)) },
|
||||
{ ItemID.TitaniumDrill, Do(TrueMeleeNoSpeed, PickPower(180), UseTimeExact(4), TileBoostExact(+1), DamageExact(32)) },
|
||||
{ ItemID.RichMahoganyHammer, Do(HammerPower(25), UseTimeExact(10)) },
|
||||
{ ItemID.Rockfish, Do(HammerPower(50), UseTimeExact(10)) },
|
||||
{ ItemID.SawtoothShark, Do(TrueMeleeNoSpeed, AxePower(45)) },
|
||||
{ ItemID.ShadewoodHammer, Do(HammerPower(25), UseTimeExact(9)) },
|
||||
{ ItemID.SilverAxe, Do(AxePower(70), UseTimeExact(14)) },
|
||||
{ ItemID.SilverHammer, Do(HammerPower(55), UseTimeExact(10)) },
|
||||
{ ItemID.SilverPickaxe, Do(PickPower(50)) },
|
||||
{ ItemID.SolarFlareDrill, Do(TrueMeleeNoSpeed, UseTimeExact(3), TileBoostExact(+4), DamageExact(95)) },
|
||||
{ ItemID.SpectreHamaxe, Do(AxePower(170), TileBoostExact(+4)) },
|
||||
{ ItemID.SpectrePickaxe, Do(TileBoostExact(+4)) },
|
||||
{ ItemID.StardustDrill, Do(TrueMeleeNoSpeed, UseTimeExact(3), TileBoostExact(+4), DamageExact(95)) },
|
||||
{ ItemID.TheBreaker, Do(HammerPower(70), UseTimeExact(13)) },
|
||||
{ ItemID.TinAxe, Do(AxePower(50), UseTimeExact(16)) },
|
||||
{ ItemID.TinHammer, Do(HammerPower(35), UseTimeExact(12)) },
|
||||
{ ItemID.TinPickaxe, Do(UseTimeExact(10)) },
|
||||
{ ItemID.TitaniumChainsaw, Do(TrueMeleeNoSpeed, AxePower(90), TileBoostExact(+0), DamageExact(75)) },
|
||||
{ ItemID.TitaniumDrill, Do(TrueMeleeNoSpeed, PickPower(180), TileBoostExact(+1), DamageExact(32)) },
|
||||
{ ItemID.TitaniumPickaxe, Do(PickPower(180), UseTimeExact(8), TileBoostExact(+1)) },
|
||||
{ ItemID.TitaniumWaraxe, Do(AxePower(160), UseTimeExact(10), TileBoostExact(+1)) },
|
||||
{ ItemID.TungstenAxe, Do(AxePower(70), UseTimeExact(14), TileBoostExact(+0)) },
|
||||
{ ItemID.TungstenHammer, Do(HammerPower(55), UseTimeExact(10), TileBoostExact(+0)) },
|
||||
{ ItemID.TungstenPickaxe, Do(PickPower(50), UseTimeExact(11)) },
|
||||
{ ItemID.VortexDrill, Do(TrueMeleeNoSpeed, PickPower(225), UseTimeExact(3), TileBoostExact(+4), DamageExact(95)) },
|
||||
{ ItemID.VortexPickaxe, Do(PickPower(225), UseTimeExact(6), TileBoostExact(+4)) },
|
||||
{ ItemID.WarAxeoftheNight, Do(AxePower(100), UseTimeExact(13), TileBoostExact(+0)) },
|
||||
{ ItemID.WoodenHammer, Do(HammerPower(25), UseTimeExact(11), TileBoostExact(+0)) },
|
||||
{ ItemID.TungstenAxe, Do(AxePower(70), UseTimeExact(14)) },
|
||||
{ ItemID.TungstenHammer, Do(HammerPower(55), UseTimeExact(10)) },
|
||||
{ ItemID.TungstenPickaxe, Do(UseTimeExact(11)) },
|
||||
{ ItemID.VortexDrill, Do(TrueMeleeNoSpeed, UseTimeExact(3), TileBoostExact(+4), DamageExact(95)) },
|
||||
{ ItemID.WarAxeoftheNight, Do(AxePower(100), UseTimeExact(13)) },
|
||||
{ ItemID.WoodenHammer, Do(UseTimeExact(11), TileBoostExact(+0)) },
|
||||
#endregion
|
||||
|
||||
#region CATEGORY 4: True Melee support
|
||||
|
||||
@@ -22,26 +22,61 @@ namespace CalamityMod.Items
|
||||
public override bool AltFunctionUse(Player player) => true;
|
||||
public override bool? UseItem(Player player)
|
||||
{
|
||||
var calPlayer = player.Calamity();
|
||||
if (player.altFunctionUse == 2)
|
||||
if (player.ItemTimeIsZero)
|
||||
{
|
||||
TryDropBoosterItem(player, ref calPlayer.rageBoostOne, ModContent.ItemType<MushroomPlasmaRoot>());
|
||||
TryDropBoosterItem(player, ref calPlayer.rageBoostTwo, ModContent.ItemType<InfernalBlood>());
|
||||
TryDropBoosterItem(player, ref calPlayer.rageBoostThree, ModContent.ItemType<RedLightningContainer>());
|
||||
TryDropBoosterItem(player, ref calPlayer.adrenalineBoostOne, ModContent.ItemType<ElectrolyteGelPack>());
|
||||
TryDropBoosterItem(player, ref calPlayer.adrenalineBoostTwo, ModContent.ItemType<StarlightFuelCell>());
|
||||
TryDropBoosterItem(player, ref calPlayer.adrenalineBoostThree, ModContent.ItemType<Ectoheart>());
|
||||
TryDropBoosterItem(player, ref calPlayer.nimbleBounderBoost, ModContent.ItemType<NimbleBounder>());
|
||||
}
|
||||
else
|
||||
{
|
||||
TryDropBoosterItem(player, ref calPlayer.sTangerine, ModContent.ItemType<SanguineTangerine>());
|
||||
TryDropBoosterItem(player, ref calPlayer.mFruit, ModContent.ItemType<MiracleFruit>());
|
||||
TryDropBoosterItem(player, ref calPlayer.tCloudberry, ModContent.ItemType<TaintedCloudberry>());
|
||||
TryDropBoosterItem(player, ref calPlayer.sStrawberry, ModContent.ItemType<SacredStrawberry>());
|
||||
TryDropBoosterItem(player, ref calPlayer.cShard, ModContent.ItemType<CometShard>());
|
||||
TryDropBoosterItem(player, ref calPlayer.eCore, ModContent.ItemType<EtherealCore>());
|
||||
TryDropBoosterItem(player, ref calPlayer.pHeart, ModContent.ItemType<PhantomHeart>());
|
||||
var calPlayer = player.Calamity();
|
||||
if (player.altFunctionUse == 2)
|
||||
{
|
||||
TryDropBoosterItem(player, ref calPlayer.rageBoostOne, ModContent.ItemType<MushroomPlasmaRoot>());
|
||||
TryDropBoosterItem(player, ref calPlayer.rageBoostTwo, ModContent.ItemType<InfernalBlood>());
|
||||
TryDropBoosterItem(player, ref calPlayer.rageBoostThree, ModContent.ItemType<RedLightningContainer>());
|
||||
TryDropBoosterItem(player, ref calPlayer.adrenalineBoostOne, ModContent.ItemType<ElectrolyteGelPack>());
|
||||
TryDropBoosterItem(player, ref calPlayer.adrenalineBoostTwo, ModContent.ItemType<StarlightFuelCell>());
|
||||
TryDropBoosterItem(player, ref calPlayer.adrenalineBoostThree, ModContent.ItemType<Ectoheart>());
|
||||
TryDropBoosterItem(player, ref calPlayer.nimbleBounderBoost, ModContent.ItemType<NimbleBounder>());
|
||||
}
|
||||
else
|
||||
{
|
||||
if (calPlayer.sTangerine || calPlayer.mFruit || calPlayer.tCloudberry || calPlayer.sStrawberry)
|
||||
{
|
||||
TryDropBoosterItem(player, ref calPlayer.sTangerine, ModContent.ItemType<SanguineTangerine>());
|
||||
TryDropBoosterItem(player, ref calPlayer.mFruit, ModContent.ItemType<MiracleFruit>());
|
||||
TryDropBoosterItem(player, ref calPlayer.tCloudberry, ModContent.ItemType<TaintedCloudberry>());
|
||||
TryDropBoosterItem(player, ref calPlayer.sStrawberry, ModContent.ItemType<SacredStrawberry>());
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i < player.ConsumedLifeFruit; i++)
|
||||
{
|
||||
int drop = Item.NewItem(player.GetSource_DropAsItem(), player.Hitbox, ItemID.LifeFruit);
|
||||
Main.item[drop].noGrabDelay = 100;
|
||||
}
|
||||
player.ConsumedLifeFruit = 0;
|
||||
for (int j = 0; j < player.ConsumedLifeCrystals; j++)
|
||||
{
|
||||
int drop = Item.NewItem(player.GetSource_DropAsItem(), player.Hitbox, ItemID.LifeCrystal);
|
||||
Main.item[drop].noGrabDelay = 100;
|
||||
}
|
||||
player.ConsumedLifeCrystals = 0;
|
||||
}
|
||||
|
||||
if (calPlayer.cShard || calPlayer.eCore || calPlayer.pHeart)
|
||||
{
|
||||
TryDropBoosterItem(player, ref calPlayer.cShard, ModContent.ItemType<CometShard>());
|
||||
TryDropBoosterItem(player, ref calPlayer.eCore, ModContent.ItemType<EtherealCore>());
|
||||
TryDropBoosterItem(player, ref calPlayer.pHeart, ModContent.ItemType<PhantomHeart>());
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int k = 0; k < player.ConsumedManaCrystals; k++)
|
||||
{
|
||||
int drop = Item.NewItem(player.GetSource_DropAsItem(), player.Hitbox, ItemID.ManaCrystal);
|
||||
Main.item[drop].noGrabDelay = 100;
|
||||
}
|
||||
player.ConsumedManaCrystals = 0;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
return null;
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace CalamityMod.Items.DraedonMisc
|
||||
rangedDisplay.OverrideColor = new Color(236, 255, 31);
|
||||
list.Insert(insertIndex + 2, rangedDisplay);
|
||||
|
||||
int mageItem = ModContent.ItemType<GatlingLaser>();
|
||||
int mageItem = ModContent.ItemType<CountermeasureMitt>();
|
||||
TooltipLine mageDisplay = new TooltipLine(this.Mod, "CalamityMod:MageDisplay", $"[i:{mageItem}] {CalamityUtils.GetItemName(mageItem)}");
|
||||
mageDisplay.OverrideColor = new Color(255, 64, 31);
|
||||
list.Insert(insertIndex + 3, mageDisplay);
|
||||
|
||||
@@ -21,9 +21,9 @@ namespace CalamityMod.Items.Mounts
|
||||
MountData.buff = ModContent.BuffType<OnyxExcavatorBuff>();
|
||||
|
||||
// Horizontal movement
|
||||
MountData.runSpeed = 5.5f;
|
||||
MountData.runSpeed = 4.5f;
|
||||
MountData.swimSpeed = 0.5f;
|
||||
MountData.acceleration = 0.2f;
|
||||
MountData.acceleration = 0.1f;
|
||||
|
||||
// Vertical movement
|
||||
MountData.fallDamage = 0f;
|
||||
|
||||
@@ -52,7 +52,6 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
|
||||
public static IList<string> devList = new List<string>()
|
||||
{
|
||||
"Altix",
|
||||
"Angel",
|
||||
"apotofkoolaid",
|
||||
"AquaSG",
|
||||
"Atalya",
|
||||
@@ -90,6 +89,7 @@ namespace CalamityMod.Items.Placeables.Furniture.DevPaintings
|
||||
"Shayy",
|
||||
"Spider Prov",
|
||||
"StipulateVenus",
|
||||
"Sunny",
|
||||
"Tobias",
|
||||
"Tomat",
|
||||
"Triangle",
|
||||
|
||||
@@ -32,7 +32,6 @@ namespace CalamityMod.Items.VanillaArmorChanges
|
||||
player.Calamity().eskimoSet = true;
|
||||
|
||||
player.buffImmune[BuffID.Frostburn] = true;
|
||||
player.buffImmune[ModContent.BuffType<GlacialState>()] = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,79 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.CustomRecipes;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.DraedonsArsenal;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
[LegacyName("GatlingLaser")]
|
||||
public class CountermeasureMitt : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.DraedonsArsenal";
|
||||
public override void SetDefaults()
|
||||
{
|
||||
CalamityGlobalItem modItem = Item.Calamity();
|
||||
|
||||
Item.width = 54;
|
||||
Item.height = 56;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 3;
|
||||
Item.damage = 45;
|
||||
Item.knockBack = 4f;
|
||||
Item.useAnimation = Item.useTime = 11;
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.channel = true;
|
||||
Item.noUseGraphic = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.RarityYellowBuyPrice;
|
||||
Item.rare = ItemRarityID.Yellow;
|
||||
|
||||
Item.shoot = ModContent.ProjectileType<CountermeasureMittHoldout>();
|
||||
Item.shootSpeed = 24f;
|
||||
}
|
||||
public override void ModifyTooltips(List<TooltipLine> tooltips) => CalamityGlobalItem.InsertKnowledgeTooltip(tooltips, 3);
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
public override bool AltFunctionUse(Player player) => true;
|
||||
public override void HoldItem(Player player)
|
||||
{
|
||||
if (Main.myPlayer == player.whoAmI)
|
||||
player.Calamity().rightClickListener = true;
|
||||
player.Calamity().mouseWorldListener = true;
|
||||
}
|
||||
public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI)
|
||||
{
|
||||
Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request<Texture2D>("CalamityMod/Items/Weapons/DraedonsArsenal/CountermeasureMittGlow").Value);
|
||||
}
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
float gunType = 0;
|
||||
if (player.Calamity().mouseRight && player.whoAmI == Main.myPlayer && !Main.mapFullscreen && !Main.blockMouse && player.Calamity().arsenalCooldown <= 0)
|
||||
gunType = 5;
|
||||
Projectile holdout = Projectile.NewProjectileDirect(source, player.MountedCenter, Vector2.Zero, type, damage, knockback, player.whoAmI, 0, 0, gunType);
|
||||
|
||||
holdout.velocity = (player.Calamity().mouseWorld - player.MountedCenter).SafeNormalize(Vector2.Zero);
|
||||
return false;
|
||||
}
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<MysteriousCircuitry>(15).
|
||||
AddIngredient<DubiousPlating>(15).
|
||||
AddIngredient<LifeAlloy>(5).
|
||||
AddIngredient<InfectedArmorPlating>(10).
|
||||
AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(3, out Func<bool> condition), condition).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
After Width: | Height: | Size: 3.8 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
@@ -1,74 +0,0 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using CalamityMod.CustomRecipes;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Projectiles.DraedonsArsenal;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
public class GatlingLaser : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.DraedonsArsenal";
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/GatlingLaserFireStart");
|
||||
public static readonly SoundStyle FireLoopSound = new("CalamityMod/Sounds/Item/GatlingLaserFireLoop");
|
||||
public static readonly SoundStyle FireEndSound = new("CalamityMod/Sounds/Item/GatlingLaserFireEnd");
|
||||
|
||||
|
||||
// This is the amount of charge consumed every time the holdout projectile fires a laser.
|
||||
public const float HoldoutChargeUse = 0.0075f;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
CalamityGlobalItem modItem = Item.Calamity();
|
||||
|
||||
Item.width = 43;
|
||||
Item.height = 24;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.damage = 43;
|
||||
Item.knockBack = 1f;
|
||||
Item.useTime = 2;
|
||||
Item.useAnimation = 2;
|
||||
Item.noUseGraphic = true;
|
||||
Item.autoReuse = false;
|
||||
Item.channel = true;
|
||||
Item.mana = 4;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.UseSound = FireSound;
|
||||
Item.noMelee = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.RarityYellowBuyPrice;
|
||||
Item.rare = ItemRarityID.Yellow;
|
||||
|
||||
Item.shoot = ModContent.ProjectileType<GatlingLaserProj>();
|
||||
Item.shootSpeed = 24f;
|
||||
|
||||
modItem.UsesCharge = true;
|
||||
modItem.MaxCharge = 135f;
|
||||
modItem.ChargePerUse = 0f; // This weapon is a holdout. Charge is consumed by the holdout projectile.
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
|
||||
public override void ModifyTooltips(List<TooltipLine> tooltips) => CalamityGlobalItem.InsertKnowledgeTooltip(tooltips, 3);
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-20, 0);
|
||||
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<MysteriousCircuitry>(15).
|
||||
AddIngredient<DubiousPlating>(15).
|
||||
AddIngredient<LifeAlloy>(5).
|
||||
AddIngredient<InfectedArmorPlating>(10).
|
||||
AddCondition(ArsenalTierGatedRecipe.ConstructRecipeCondition(3, out Func<bool> condition), condition).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
Item.width = 70;
|
||||
Item.height = 60;
|
||||
Item.damage = 22;
|
||||
Item.damage = 21;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 18;
|
||||
Item.useTime = 30;
|
||||
@@ -39,48 +39,18 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
float projSpeed = velocity.Length();
|
||||
Vector2 realPlayerPos = player.RotatedRelativePoint(player.MountedCenter, true);
|
||||
float mouseXDist = (float)Main.mouseX + Main.screenPosition.X + realPlayerPos.X;
|
||||
float mouseYDist = (float)Main.mouseY + Main.screenPosition.Y + realPlayerPos.Y;
|
||||
if (player.gravDir == -1f)
|
||||
{
|
||||
mouseYDist = Main.screenPosition.Y + (float)Main.screenHeight + (float)Main.mouseY + realPlayerPos.Y;
|
||||
}
|
||||
float mouseDistance = (float)Math.Sqrt((double)(mouseXDist * mouseXDist + mouseYDist * mouseYDist));
|
||||
if ((float.IsNaN(mouseXDist) && float.IsNaN(mouseYDist)) || (mouseXDist == 0f && mouseYDist == 0f))
|
||||
{
|
||||
mouseXDist = (float)player.direction;
|
||||
mouseYDist = 0f;
|
||||
mouseDistance = projSpeed;
|
||||
}
|
||||
else
|
||||
{
|
||||
mouseDistance = projSpeed / mouseDistance;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 4; i++)
|
||||
{
|
||||
realPlayerPos = new Vector2(player.position.X + (float)player.width * 0.5f + (float)(Main.rand.Next(201) * -(float)player.direction) + ((float)Main.mouseX + Main.screenPosition.X - player.position.X), player.MountedCenter.Y);
|
||||
realPlayerPos.X = (realPlayerPos.X + player.Center.X) / 2f + (float)Main.rand.Next(-200, 201);
|
||||
realPlayerPos.Y -= (float)(100 * i);
|
||||
mouseXDist = (float)Main.mouseX + Main.screenPosition.X - realPlayerPos.X;
|
||||
mouseYDist = (float)Main.mouseY + Main.screenPosition.Y - realPlayerPos.Y;
|
||||
if (mouseYDist < 0f)
|
||||
{
|
||||
mouseYDist *= -1f;
|
||||
}
|
||||
if (mouseYDist < 20f)
|
||||
{
|
||||
mouseYDist = 20f;
|
||||
}
|
||||
mouseDistance = (float)Math.Sqrt((double)(mouseXDist * mouseXDist + mouseYDist * mouseYDist));
|
||||
mouseDistance = projSpeed / mouseDistance;
|
||||
mouseXDist *= mouseDistance;
|
||||
mouseYDist *= mouseDistance;
|
||||
float speedX4 = mouseXDist + (float)Main.rand.Next(-40, 41) * 0.02f;
|
||||
float speedY5 = mouseYDist + (float)Main.rand.Next(-40, 41) * 0.02f;
|
||||
Projectile.NewProjectile(source, realPlayerPos.X, realPlayerPos.Y, speedX4, speedY5, type, damage, knockback, player.whoAmI);
|
||||
Vector2 realPlayerPos = new Vector2((player.MountedCenter.X + Main.mouseX + Main.screenPosition.X - player.position.X + player.Center.X) / 2f, player.MountedCenter.Y - (100f * i));
|
||||
|
||||
Vector2 mouseDist = new Vector2(Main.mouseX + Main.screenPosition.X - realPlayerPos.X, Math.Abs(Main.mouseY + Main.screenPosition.Y - realPlayerPos.Y));
|
||||
if (mouseDist.Y < 20f)
|
||||
mouseDist.Y = 20f;
|
||||
mouseDist = mouseDist.SafeNormalize(Vector2.UnitX) * velocity.Length();
|
||||
mouseDist.X += Main.rand.NextFloat(-0.4f, 0.4f);
|
||||
mouseDist.Y += Main.rand.NextFloat(-0.4f, 0.4f);
|
||||
|
||||
Projectile.NewProjectile(source, realPlayerPos, mouseDist, type, damage, knockback, player.whoAmI);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -20,16 +20,17 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
Item.width = 58;
|
||||
Item.height = 56;
|
||||
Item.damage = 205;
|
||||
Item.damage = 285;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 10;
|
||||
Item.useTime = 12;
|
||||
Item.useAnimation = 12;
|
||||
Item.mana = 15;
|
||||
Item.useTime = 8;
|
||||
Item.useAnimation = 24;
|
||||
Item.reuseDelay = 30;
|
||||
Item.useLimitPerAnimation = 3;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 5f;
|
||||
Item.value = CalamityGlobalItem.RarityPureGreenBuyPrice;
|
||||
Item.UseSound = SoundID.Item72;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ModContent.ProjectileType<Shadowbolt>();
|
||||
Item.shootSpeed = 5f;
|
||||
|
||||
@@ -25,12 +25,11 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
Item.width = 46;
|
||||
Item.height = 46;
|
||||
Item.damage = 59;
|
||||
Item.damage = 56;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.useAnimation = 60;
|
||||
Item.useTime = 60;
|
||||
Item.useTime = Item.useAnimation = 60;
|
||||
Item.knockBack = 8f;
|
||||
Item.mana = 18;
|
||||
Item.UseSound = SoundID.DD2_MonkStaffSwing;
|
||||
|
||||
@@ -42,7 +42,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public override void OnHitPvp(Player player, Player target, Player.HurtInfo hurtInfo)
|
||||
{
|
||||
target.AddBuff(BuffID.Frostburn2, 300);
|
||||
target.AddBuff(ModContent.BuffType<GlacialState>(), 60);
|
||||
var source = player.GetSource_ItemUse(Item);
|
||||
int p = Projectile.NewProjectile(source, target.Center, Vector2.Zero, ModContent.ProjectileType<DarkIceZero>(), Item.damage, 12f, player.whoAmI);
|
||||
Main.projectile[p].Kill();
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public static float MaxThrowReach = 760;
|
||||
public static float SnapDamageMultiplier = 1.2f; //Extra damage from making the scissors snap
|
||||
|
||||
public static float MaxCharge = 15f; // Maximum charge value AKA how much charge you get from a parry
|
||||
public static float MaxCharge = 16f; // Maximum charge value AKA how much charge you get from a parry
|
||||
public static float chargeDamageMultiplier = 1.35f; //Extra damage from charge
|
||||
public static float chainDamageMultiplier = 0.1f;
|
||||
public static float SnapBoltsDamageMultiplier = 0.1f;
|
||||
@@ -235,7 +235,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
var barBG = Request<Texture2D>("CalamityMod/UI/MiscTextures/GenericBarBack").Value;
|
||||
var barFG = Request<Texture2D>("CalamityMod/UI/MiscTextures/GenericBarFront").Value;
|
||||
|
||||
float barScale = 3f;
|
||||
float barScale = 4f;
|
||||
Vector2 barOrigin = barBG.Size() * 0.5f;
|
||||
float yOffset = 50f;
|
||||
Vector2 drawPos = position + Vector2.UnitY * scale * (frame.Height - yOffset);
|
||||
|
||||
@@ -16,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.width = 56;
|
||||
Item.height = 56;
|
||||
|
||||
Item.damage = 50;
|
||||
Item.damage = 42;
|
||||
Item.knockBack = 3f;
|
||||
Item.useTime = 53;
|
||||
Item.useAnimation = 53;
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.width = 30;
|
||||
Item.height = 26;
|
||||
Item.DamageType = DamageClass.MeleeNoSpeed;
|
||||
Item.damage = 152;
|
||||
Item.damage = 115;
|
||||
Item.knockBack = 7f;
|
||||
Item.useTime = 20;
|
||||
Item.useAnimation = 20;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 76;
|
||||
Item.height = 76;
|
||||
Item.damage = 195;
|
||||
Item.damage = 144;
|
||||
Item.DamageType = TrueMeleeDamageClass.Instance;
|
||||
Item.useAnimation = Item.useTime = 90; // Yes it's actually supposed to be this slow
|
||||
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.width = 36;
|
||||
Item.height = 40;
|
||||
Item.DamageType = DamageClass.MeleeNoSpeed;
|
||||
Item.damage = 21;
|
||||
Item.damage = 17;
|
||||
Item.knockBack = 1.5f;
|
||||
Item.useTime = 25;
|
||||
Item.useAnimation = 25;
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 46;
|
||||
Item.height = 46;
|
||||
Item.damage = 60;
|
||||
Item.damage = 48;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useTurn = true;
|
||||
Item.useAnimation = 27;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 60;
|
||||
Item.height = 30;
|
||||
Item.damage = 135;
|
||||
Item.damage = 120;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 5;
|
||||
Item.useAnimation = 25;
|
||||
|
||||
@@ -44,7 +44,6 @@ 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 bulletAmt = 4;
|
||||
for (int index = 0; index < bulletAmt; ++index)
|
||||
{
|
||||
@@ -87,10 +86,12 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
targetPosition.X = (targetPosition.X + player.Center.X) / 2f + Main.rand.Next(-200, 201);
|
||||
targetPosition.Y -= 100 * j;
|
||||
|
||||
Vector2 extraBulletVel = Vector2.Normalize(Main.npc[targets[j]].Center - targetPosition) * Item.shootSpeed;
|
||||
// Create a dummy projectile to grab the number of max updates the bullet has for predictive aim use
|
||||
Projectile dummy = new Projectile();
|
||||
dummy.SetDefaults(type);
|
||||
Vector2 extraBulletVel = CalamityUtils.CalculatePredictiveAimToTargetMaxUpdates(targetPosition, Main.npc[targets[j]], Item.shootSpeed, dummy.MaxUpdates);
|
||||
|
||||
int proj = Projectile.NewProjectile(source, targetPosition, extraBulletVel, type, extraBulletDamage, knockback, player.whoAmI);
|
||||
Main.projectile[proj].extraUpdates += 14;
|
||||
Main.projectile[proj].tileCollide = false;
|
||||
Main.projectile[proj].timeLeft /= 2;
|
||||
}
|
||||
@@ -107,10 +108,12 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
targetPosition.X = (targetPosition.X + player.Center.X) / 2f + Main.rand.Next(-200, 201);
|
||||
targetPosition.Y -= 100 * randomTarget;
|
||||
|
||||
Vector2 extraBulletVel = Vector2.Normalize(Main.npc[targets[randomTarget]].Center - targetPosition) * Item.shootSpeed;
|
||||
// Create a dummy projectile to grab the number of max updates the bullet has for predictive aim use
|
||||
Projectile dummy = new Projectile();
|
||||
dummy.SetDefaults(type);
|
||||
Vector2 extraBulletVel = CalamityUtils.CalculatePredictiveAimToTargetMaxUpdates(targetPosition, Main.npc[targets[randomTarget]], Item.shootSpeed, dummy.MaxUpdates);
|
||||
|
||||
int proj = Projectile.NewProjectile(source, targetPosition, extraBulletVel, type, extraBulletDamage, knockback, player.whoAmI);
|
||||
Main.projectile[proj].extraUpdates += 14;
|
||||
Main.projectile[proj].tileCollide = false;
|
||||
Main.projectile[proj].timeLeft /= 2;
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
using Terraria.ID;
|
||||
@@ -9,10 +10,13 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public class FirestormCannon : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.ItemsThatAllowRepeatedRightClick[Type] = true;
|
||||
}
|
||||
|
||||
// This is intentionally stored on the item instead of the holdout to prevent swapping items to instantly reset the heat
|
||||
// This could be theoretically exploited using multiple items, but the heat dissipates fast enough that I can't really care
|
||||
public int BuiltUpHeat = 0;
|
||||
public const int OverheatLevel = 480;
|
||||
public const int OverheatCooldown = 180;
|
||||
public const int OverheatDamage = 20;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
@@ -20,71 +24,41 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.height = 28;
|
||||
Item.damage = 14;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 12;
|
||||
Item.useAnimation = 12;
|
||||
Item.useTime = Item.useAnimation = 11;
|
||||
Item.knockBack = 1.5f;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 1.5f;
|
||||
Item.channel = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.RarityGreenBuyPrice;
|
||||
Item.rare = ItemRarityID.Green;
|
||||
Item.UseSound = SoundID.Item11;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ProjectileID.Flare;
|
||||
Item.shoot = ModContent.ProjectileType<FirestormCannonHoldout>();
|
||||
Item.shootSpeed = 5.5f;
|
||||
Item.useAmmo = AmmoID.Flare;
|
||||
Item.Calamity().canFirePointBlankShots = true;
|
||||
}
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-10, 0);
|
||||
|
||||
public override bool CanConsumeAmmo(Item ammo, Player player) => Main.rand.Next(100) >= 70;
|
||||
|
||||
public override bool AltFunctionUse(Player player) => true;
|
||||
|
||||
public override float UseSpeedMultiplier(Player player)
|
||||
public override void HoldItem(Player player)
|
||||
{
|
||||
if (player.altFunctionUse == 2)
|
||||
return 1 / 3f;
|
||||
return 1f;
|
||||
player.Calamity().rightClickListener = true;
|
||||
// Heat decrements if:
|
||||
// The holdout exists, the player is not firing, the player is not in overheat, and there is heat in the weapon
|
||||
if (player.ownedProjectileCounts[Item.shoot] > 0 && !Main.mouseLeft && player.Calamity().flareGunOverheat == 0 && BuiltUpHeat > 0)
|
||||
{
|
||||
BuiltUpHeat -= player.miscCounter % 2 == 0 ? 3 : 2;
|
||||
if (BuiltUpHeat < 0)
|
||||
BuiltUpHeat = 0;
|
||||
}
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
public override bool CanConsumeAmmo(Item ammo, Player player) => player.ownedProjectileCounts[Item.shoot] > 0; // Spawning the holdout cannot consume ammo
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
if (player.altFunctionUse == 2)
|
||||
{
|
||||
velocity *= 2f;
|
||||
int flareAmt = Main.rand.Next(4, 6);
|
||||
for (int index = 0; index < flareAmt; ++index)
|
||||
{
|
||||
float SpeedX = velocity.X + (float)Main.rand.Next(-50, 51) * 0.05f;
|
||||
float SpeedY = velocity.Y + (float)Main.rand.Next(-50, 51) * 0.05f;
|
||||
int flare = Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, type, damage, knockback, player.whoAmI);
|
||||
if (flare.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Main.projectile[flare].penetrate = 1;
|
||||
Main.projectile[flare].timeLeft = 600;
|
||||
Main.projectile[flare].DamageType = DamageClass.Ranged;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
else
|
||||
{
|
||||
int flareAmt = Main.rand.Next(1, 3);
|
||||
for (int index = 0; index < flareAmt; ++index)
|
||||
{
|
||||
float SpeedX = velocity.X + (float)Main.rand.Next(-40, 41) * 0.05f;
|
||||
float SpeedY = velocity.Y + (float)Main.rand.Next(-40, 41) * 0.05f;
|
||||
int flare = Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, type, damage, knockback, player.whoAmI);
|
||||
if (flare.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Main.projectile[flare].DamageType = DamageClass.Ranged;
|
||||
Main.projectile[flare].timeLeft = 200;
|
||||
Main.projectile[flare].penetrate = 3;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
Projectile.NewProjectile(source, position, velocity, ModContent.ProjectileType<FirestormCannonHoldout>(), damage, knockback, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 40;
|
||||
Item.height = 26;
|
||||
Item.damage = 20;
|
||||
Item.damage = 19;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 22;
|
||||
Item.useAnimation = 22;
|
||||
|
||||
@@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public static readonly SoundStyle Fire = new("CalamityMod/Sounds/Item/MagnaCannonShot") { PitchVariance = 0.3f, Volume = 0.4f };
|
||||
|
||||
public static int AftershotCooldownFrames = 30;
|
||||
public static int FullChargeFrames = 138; //126 frames is durration of charge sound
|
||||
public static int FullChargeFrames = 138; //126 frames is duration of charge sound
|
||||
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 56;
|
||||
Item.height = 34;
|
||||
Item.damage = 30;
|
||||
Item.damage = 25;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useAnimation = Item.useTime = AftershotCooldownFrames;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
|
||||
@@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 48;
|
||||
Item.height = 24;
|
||||
Item.damage = 33;
|
||||
Item.damage = 30;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useAnimation = Item.useTime = AftershotCooldownFrames;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
using CalamityMod.Projectiles.Ranged;
|
||||
using CalamityMod.Projectiles.Rogue;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.DataStructures;
|
||||
@@ -10,56 +11,53 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public class SpectralstormCannon : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
|
||||
// This is intentionally stored on the item instead of the holdout to prevent swapping items to instantly reset the heat
|
||||
// This could be theoretically exploited using multiple items, but the heat dissipates fast enough that I can't really care
|
||||
public int BuiltUpHeat = 0;
|
||||
public const int OverheatLevel = 540;
|
||||
public const int OverheatCooldown = 160;
|
||||
public const int OverheatDamage = 50;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 66;
|
||||
Item.height = 26;
|
||||
Item.damage = 48;
|
||||
Item.damage = 82;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 4;
|
||||
Item.useAnimation = 12;
|
||||
Item.useTime = Item.useAnimation = 11;
|
||||
Item.knockBack = 1.5f;
|
||||
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.noMelee = true;
|
||||
Item.knockBack = 1.5f;
|
||||
Item.channel = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.autoReuse = true;
|
||||
|
||||
Item.value = CalamityGlobalItem.RarityRedBuyPrice;
|
||||
Item.rare = ItemRarityID.Red;
|
||||
Item.UseSound = SoundID.Item11;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ProjectileID.Flare;
|
||||
Item.shootSpeed = 9.5f;
|
||||
Item.shoot = ModContent.ProjectileType<SpectralstormCannonHoldout>();
|
||||
Item.shootSpeed = 10f;
|
||||
Item.useAmmo = AmmoID.Flare;
|
||||
Item.Calamity().canFirePointBlankShots = true;
|
||||
}
|
||||
|
||||
public override Vector2? HoldoutOffset() => new Vector2(-10, 0);
|
||||
|
||||
public override bool CanConsumeAmmo(Item ammo, Player player)
|
||||
public override void HoldItem(Player player)
|
||||
{
|
||||
if (Main.rand.Next(0, 100) < 70)
|
||||
return false;
|
||||
return true;
|
||||
player.Calamity().rightClickListener = true;
|
||||
// Heat decrements if:
|
||||
// The holdout exists, the player is not firing, the player is not in overheat, and there is heat in the weapon
|
||||
if (player.ownedProjectileCounts[Item.shoot] > 0 && !Main.mouseLeft && player.Calamity().flareGunOverheat == 0 && BuiltUpHeat > 0)
|
||||
{
|
||||
BuiltUpHeat -= 3;
|
||||
if (BuiltUpHeat < 0)
|
||||
BuiltUpHeat = 0;
|
||||
}
|
||||
}
|
||||
|
||||
public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0;
|
||||
public override bool CanConsumeAmmo(Item ammo, Player player) => player.ownedProjectileCounts[Item.shoot] > 0; // Spawning the holdout cannot consume ammo
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
float SpeedX = velocity.X + (float)Main.rand.Next(-40, 41) * 0.05f;
|
||||
float SpeedY = velocity.Y + (float)Main.rand.Next(-40, 41) * 0.05f;
|
||||
int flare = Projectile.NewProjectile(source, position.X, position.Y, SpeedX, SpeedY, type, damage, knockback, player.whoAmI);
|
||||
if (flare.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Main.projectile[flare].timeLeft = 200;
|
||||
Main.projectile[flare].DamageType = DamageClass.Ranged;
|
||||
}
|
||||
|
||||
float SpeedX2 = velocity.X + (float)Main.rand.Next(-20, 21) * 0.05f;
|
||||
float SpeedY2 = velocity.Y + (float)Main.rand.Next(-20, 21) * 0.05f;
|
||||
int soul = Projectile.NewProjectile(source, position.X, position.Y, SpeedX2, SpeedY2, ModContent.ProjectileType<LostSoulFriendly>(), damage, knockback, player.whoAmI, 2f, 0f);
|
||||
if (soul.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Main.projectile[soul].timeLeft = 600;
|
||||
Main.projectile[soul].DamageType = DamageClass.Ranged;
|
||||
Main.projectile[soul].frame = Main.rand.Next(4);
|
||||
}
|
||||
Projectile.NewProjectile(source, position, velocity, ModContent.ProjectileType<SpectralstormCannonHoldout>(), damage, knockback, player.whoAmI);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
@@ -9,11 +9,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class FrostyFlare : RogueWeapon
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 99;
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 10;
|
||||
@@ -27,12 +22,10 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.UseSound = SoundID.Item1;
|
||||
Item.autoReuse = true;
|
||||
Item.knockBack = 2f;
|
||||
Item.value = Item.buyPrice(0, 0, 8, 0);
|
||||
Item.value = CalamityGlobalItem.RarityLightPurpleBuyPrice;
|
||||
Item.rare = ItemRarityID.LightPurple;
|
||||
Item.shoot = ModContent.ProjectileType<FrostyFlareProj>();
|
||||
Item.shootSpeed = 22f;
|
||||
Item.maxStack = Item.CommonMaxStack;
|
||||
Item.consumable = true;
|
||||
Item.DamageType = RogueDamageClass.Instance;
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
Item.width = 32;
|
||||
Item.height = 38;
|
||||
Item.damage = 23;
|
||||
Item.damage = 21;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.useAnimation = 18;
|
||||
@@ -35,7 +35,10 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
int p = Projectile.NewProjectile(source, position, velocity, type, damage, knockback, player.whoAmI, 0f, 1f);
|
||||
if (p.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Main.projectile[p].Calamity().stealthStrike = true;
|
||||
Main.projectile[p].penetrate = 1;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
|
||||
@@ -44,7 +44,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<IceStar>(100).
|
||||
AddIngredient<IceStar>().
|
||||
AddIngredient<Avalanche>().
|
||||
AddIngredient<HoarfrostBow>().
|
||||
AddIngredient<Icebreaker>().
|
||||
|
||||
@@ -13,9 +13,9 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
Item.width = 22;
|
||||
Item.height = 28;
|
||||
Item.damage = 37;
|
||||
Item.damage = 31;
|
||||
Item.DamageType = RogueDamageClass.Instance;
|
||||
Item.useAnimation = Item.useTime = 28;
|
||||
Item.useAnimation = Item.useTime = 25;
|
||||
Item.knockBack = 5.75f;
|
||||
Item.shootSpeed = 4f;
|
||||
|
||||
@@ -31,8 +31,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.shoot = ModContent.ProjectileType<MeteorFistProj>();
|
||||
}
|
||||
|
||||
public override float StealthDamageMultiplier => 1.15f;
|
||||
|
||||
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)
|
||||
|
||||
@@ -17,8 +17,8 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.damage = 12;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.useTime = 5;
|
||||
Item.useAnimation = 5;
|
||||
Item.useTime = 6;
|
||||
Item.useAnimation = 6;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.knockBack = 1.5f;
|
||||
Item.UseSound = SoundID.Item1;
|
||||
@@ -36,12 +36,9 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
if (player.Calamity().StealthStrikeAvailable() && player.ownedProjectileCounts[ModContent.ProjectileType<ShroomerangSpore>()] < 20 && stealth.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Main.projectile[stealth].Calamity().stealthStrike = true;
|
||||
int projAmt = Main.rand.Next(7, 11);
|
||||
for (int i = 0; i < projAmt; i++)
|
||||
for (int i = 0; i < 8; i++)
|
||||
{
|
||||
int spore = Projectile.NewProjectile(source, player.Center, velocity, ModContent.ProjectileType<ShroomerangSpore>(), (int)(damage * 0.5f), knockback, player.whoAmI);
|
||||
if (spore.WithinBounds(Main.maxProjectiles))
|
||||
Main.projectile[spore].ai[1] = 1f;
|
||||
int spore = Projectile.NewProjectile(source, player.Center, velocity, ModContent.ProjectileType<ShroomerangSpore>(), damage, knockback, player.whoAmI, 0f, 1f);
|
||||
}
|
||||
foreach (Player other in Main.ActivePlayers)
|
||||
{
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
Item.width = 32;
|
||||
Item.height = 30;
|
||||
Item.damage = 41;
|
||||
Item.damage = 30;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.useAnimation = 18;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.damage = 18;
|
||||
Item.damage = 20;
|
||||
Item.DamageType = DamageClass.Summon;
|
||||
Item.shoot = ModContent.ProjectileType<FlarebatMinion>();
|
||||
Item.knockBack = 1f;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
{
|
||||
Item.width = 66;
|
||||
Item.height = 70;
|
||||
Item.damage = 16;
|
||||
Item.damage = 15;
|
||||
Item.mana = 10;
|
||||
Item.useAnimation = Item.useTime = 30;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
|
||||
@@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
{
|
||||
Item.width = 40;
|
||||
Item.height = 36;
|
||||
Item.damage = 14;
|
||||
Item.damage = 15;
|
||||
Item.DamageType = DamageClass.Summon;
|
||||
Item.shoot = ModContent.ProjectileType<VileFeederSummon>();
|
||||
Item.knockBack = 0.5f;
|
||||
|
||||
@@ -138,7 +138,7 @@ PhoenixAttunement: {
|
||||
Swing the sword around you, accelerating over time
|
||||
The swirling nebula constantly emits homing cosmic bolts
|
||||
Release to hurl the sword toward the cursor alongside 6 gigantic cosmic bolts
|
||||
The hurled sword erupts into a blazing flame pillar on enemy hits
|
||||
The hurled sword erupts into a blazing tornado on enemy hits
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -29,9 +29,8 @@ AbyssalDivingSuit: {
|
||||
The suit's armored plates increase damage reduction by 15%
|
||||
Wearing this suit grants 15% damage reduction for hits under 50 damage
|
||||
The suit can absorb up to 3 hits over 50 damage, and will take 3 minutes to regenerate
|
||||
Reduces the damage caused by drowning in the abyss, and removes the bleed effect in the upper layers
|
||||
Grants the ability to swim, extends underwater breathing, emits light underwater, and improves mobility on ice
|
||||
Provides a moderate amount of light and reduces breath loss in the abyss
|
||||
Provides a moderate amount of light, reduces breath loss, and reduces damage caused by drowning in the abyss
|
||||
Abyss creatures are less likely to see you, mitigates the abyss' defense reduction, and lets you sink faster in liquids
|
||||
Grants immunity to the sulphurous waters and Crush Depth's increased breath loss
|
||||
Grants resistance to the increased breath loss caused by Hadopelagic Pressure
|
||||
@@ -596,7 +595,6 @@ DepthCharm: {
|
||||
Tooltip:
|
||||
'''
|
||||
Reduces the damage caused by drowning in the abyss
|
||||
Removes the bleed effect caused by the upper layers of the abyss
|
||||
Removes the increased breath loss of Crush Depth
|
||||
'''
|
||||
}
|
||||
@@ -1001,8 +999,10 @@ InkBomb: {
|
||||
DisplayName: Ink Bomb
|
||||
Tooltip:
|
||||
'''
|
||||
Throws several ink bombs when hit that explode into ink
|
||||
Gain a lot of stealth and confuse enemies when struck
|
||||
+10 maximum stealth
|
||||
Stealth generates 7% faster
|
||||
Throws several ink bombs when hit that explode into ink and confuse enemies
|
||||
Gain a lot of stealth when struck
|
||||
This effect has a 20 second cooldown before it can occur again
|
||||
'''
|
||||
}
|
||||
@@ -1822,9 +1822,9 @@ StatMeter: {
|
||||
AbyssStats:
|
||||
'''
|
||||
Abyss Light Strength: {0}
|
||||
Breath Lost Per Tick: {1} | Breath Loss Rate: {2}
|
||||
Life Lost Per Tick at Zero Breath: {3}
|
||||
Defense Lost From Pressure: {4}
|
||||
Breath Loss Rate: {1}
|
||||
Life Lost Per Tick at Zero Breath: {2}
|
||||
Defense Lost From Pressure: {3}
|
||||
'''
|
||||
AbyssStatsHidden: Abyss stats are only displayed while in the Abyss
|
||||
}
|
||||
|
||||
@@ -423,9 +423,9 @@ GodSlayerChestplate: {
|
||||
'''
|
||||
CommonSetBonus:
|
||||
'''
|
||||
Pressing {0} allows you to dash towards your cursor for 2.5 seconds
|
||||
Pressing {0} allows you to dash towards your cursor for 2 seconds
|
||||
Enemies you dash through take massive damage
|
||||
During the dash you are immune to most debuffs
|
||||
During the dash you are immune to damage and most debuffs
|
||||
The dash has a {1} second cooldown
|
||||
'''
|
||||
}
|
||||
@@ -617,7 +617,6 @@ TarragonBreastplate: {
|
||||
'''
|
||||
CommonSetBonus:
|
||||
'''
|
||||
Reduces enemy spawn rates
|
||||
Increased heart pickup range
|
||||
Enemies have a chance to drop extra hearts on death
|
||||
'''
|
||||
|
||||
@@ -61,13 +61,17 @@ AerospecLeggings: {
|
||||
|
||||
DesertProwlerHat: {
|
||||
DisplayName: Desert Prowler Hat
|
||||
Tooltip: 4% increased ranged critical strike chance and 20% chance to not consume ammo
|
||||
SetBonus: Ranged attacks deal an extra {0} flat damage
|
||||
Tooltip: 4% increased rogue critical strike chance
|
||||
SetBonus:
|
||||
'''
|
||||
5% increased rogue damage
|
||||
+50 maximum stealth
|
||||
'''
|
||||
AbilityBrief: Sandsmoke Bomb - Double tap {0} to shroud yourself in a small cloud of sand
|
||||
AbilityDescription:
|
||||
'''
|
||||
While the sand cloud is active, gain increased mobility but heavily reduced defense
|
||||
Using a ranged weapon instantly dispels the sand cloak, but guarantees a supercrit for {0}% damage
|
||||
Using a rogue weapon instantly dispels the sand cloak, but guarantees a supercrit for {0}% damage
|
||||
The super crit applies only as long as the resulting hit wouldn't exceed {1} damage
|
||||
Landing the killing blow on an enemy with this shot shortens the ability's cooldown to {2} seconds
|
||||
'''
|
||||
@@ -80,7 +84,7 @@ DesertProwlerPants: {
|
||||
|
||||
DesertProwlerShirt: {
|
||||
DisplayName: Desert Prowler Shirt
|
||||
Tooltip: 5% increased ranged critical strike chance
|
||||
Tooltip: 5% increased rogue critical strike chance
|
||||
}
|
||||
|
||||
MarniteArchitectHeadgear: {
|
||||
@@ -101,22 +105,22 @@ MarniteArchitectToga: {
|
||||
|
||||
SnowRuffianChestplate: {
|
||||
DisplayName: Snow Ruffian Chestplate
|
||||
Tooltip: 3% increased rogue critical strike chance
|
||||
Tooltip: 4% increased ranged critical strike chance
|
||||
}
|
||||
|
||||
SnowRuffianGreaves: {
|
||||
DisplayName: Snow Ruffian Greaves
|
||||
Tooltip: 5% increased movement speed
|
||||
Tooltip: 10% increased movement speed
|
||||
}
|
||||
|
||||
SnowRuffianMask: {
|
||||
DisplayName: Snow Ruffian Mask
|
||||
Tooltip: 2% increased rogue damage
|
||||
Tooltip: 2% increased ranged damage
|
||||
SetBonus:
|
||||
'''
|
||||
5% increased rogue damage
|
||||
+50 maximum stealth
|
||||
4% increased ranged damage and critical strike chance
|
||||
You can glide to negate fall damage
|
||||
Ranged critical strikes frostburn enemies
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -420,7 +420,7 @@ DisgustingMeat: {
|
||||
Tooltip:
|
||||
'''
|
||||
Debug item, spawn and use to remove permanent upgrades
|
||||
<left> will remove health and mana upgrades
|
||||
<left> will remove health and mana upgrades, use with no Calamity upgrades to remove vanilla upgrades
|
||||
<right> will remove rage and adrenaline upgrades, plus other miscellaneous boosters
|
||||
Removed boosters will be vomited out of you as items
|
||||
'''
|
||||
|
||||
@@ -4296,12 +4296,12 @@ WulfrumPanelWall: {
|
||||
}
|
||||
|
||||
ChargedWulfrumWallMountedBulb: {
|
||||
DisplayName: Mods.CalamityMod.Items.Placeables.ChargedWulfrumWallMountedBulb.DisplayName
|
||||
DisplayName: Charged Wulfrum Wall Mounted Bulb
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
WulfrumWallMountedBulb: {
|
||||
DisplayName: Mods.CalamityMod.Items.Placeables.WulfrumWallMountedBulb.DisplayName
|
||||
DisplayName: Wulfrum Wall Mounted Bulb
|
||||
Tooltip: ""
|
||||
}
|
||||
|
||||
|
||||
@@ -10,6 +10,18 @@ AerialTracker: {
|
||||
'''
|
||||
}
|
||||
|
||||
CountermeasureMitt: {
|
||||
DisplayName: B-LSR: Countermeasure Mitt
|
||||
Tooltip:
|
||||
'''
|
||||
A precision welding glove with laser emitters in each fingertip
|
||||
<right> to focus all emitters into a short range palm blast that always critically strikes
|
||||
Palm blasts have a cooldown which is significantly shorter if they miss
|
||||
[c/1FFBFF:'Most battalions prefer to either spread attacks widely, or focus on a singular target.]
|
||||
[c/1FFBFF:This glove caters to both, though it will never bridge the gap between their strategies.']
|
||||
'''
|
||||
}
|
||||
|
||||
GalvanizingGlaive: {
|
||||
DisplayName: Galvanizing Glaive
|
||||
Tooltip:
|
||||
@@ -21,15 +33,6 @@ GalvanizingGlaive: {
|
||||
'''
|
||||
}
|
||||
|
||||
GatlingLaser: {
|
||||
DisplayName: Gatling Laser
|
||||
Tooltip:
|
||||
'''
|
||||
Fires a rapid barrage of accelerated lasers to annihilate foes
|
||||
[c/1FFBFF:'Developed to be used primarily by Yharim's fleet and base defense force.']
|
||||
'''
|
||||
}
|
||||
|
||||
GaussDagger: {
|
||||
DisplayName: Gauss Dagger
|
||||
Tooltip:
|
||||
|
||||
@@ -84,7 +84,7 @@ ArkoftheCosmos: {
|
||||
<right> to snip out the scissor blades in front of you
|
||||
Hitting an enemy with it will parry them, granting you brief invulnerability
|
||||
You can also parry projectiles to make them deal 160 less damage for a short period
|
||||
Parrying will empower the next 15 swings of the sword
|
||||
Parrying will empower the next 16 swings of the sword
|
||||
'''
|
||||
BlastInfo: Double <right> with charges available to cause a Big Rip in spacetime and consume all charges
|
||||
}
|
||||
@@ -918,7 +918,7 @@ OldLordClaymore: {
|
||||
HoldShiftTooltip:
|
||||
'''
|
||||
[c/df4420:A gift to outstanding Demons, a replica of the sword used by the greatest of all Demon Lords.]
|
||||
[c/df4420:The prosperity he brought to their kind is unmatched even now that they alone rule the Undeworld.]
|
||||
[c/df4420:The prosperity he brought to their kind is unmatched even now that they alone rule the Underworld.]
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -453,9 +453,11 @@ FirestormCannon: {
|
||||
DisplayName: Firestorm Cannon
|
||||
Tooltip:
|
||||
'''
|
||||
Releases a constant stream of weaponized flares
|
||||
Press <right> to fire a condensed spread of flares
|
||||
Fires a rapid barrage of flares that builds up a searing heat in the weapon
|
||||
Firing for too long overheats the weapon, leaving it unusable for a short period
|
||||
Press <right> to put away the weapon, which preserves its heat
|
||||
70% chance to save ammo
|
||||
'What could go wrong?'
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -1154,8 +1156,13 @@ SpectralstormCannon: {
|
||||
DisplayName: Spectralstorm Cannon
|
||||
Tooltip:
|
||||
'''
|
||||
Fires a storm of lost souls and flares
|
||||
Fires a barrage of spectral flares that builds up a searing heat in the weapon
|
||||
While cooling down, heat-seeking phantoms are continuously released
|
||||
Firing for too long overheats the weapon, leaving it unusable for a short period
|
||||
However, triggering overheat releases a powerful burst of souls and resets heat
|
||||
Press <right> to put away the weapon, which preserves its heat
|
||||
70% chance to save ammo
|
||||
'Ectoplasmic blast rated visor mandatory'
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -600,8 +600,8 @@ InfernalKris: {
|
||||
DisplayName: Infernal Kris
|
||||
Tooltip:
|
||||
'''
|
||||
Throws a burning dagger that starts spinning after travelling a short distance, inflicting additional damage while spinning
|
||||
Stealth strikes cause the dagger to be engulfed in flames, exploding on contact with walls and enemies
|
||||
Rapidly throws burning daggers
|
||||
Stealth strikes engulf the dagger in flames, exploding when hitting walls and enemies
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -3,14 +3,11 @@
|
||||
RecipeGroup: {
|
||||
HardmodeAnvil: "{$LegacyMisc.37} Hardmode Anvil"
|
||||
HardmodeForge: "{$LegacyMisc.37} Hardmode Forge"
|
||||
AnyLargeGem: "{$LegacyMisc.37} Large Gem"
|
||||
AnyFood: "{$LegacyMisc.37} Food Item"
|
||||
AnyEvilBar: "{$LegacyMisc.37} Evil Bar"
|
||||
AnyEvilPowder: "{$LegacyMisc.37} Evil Powder"
|
||||
Boss2Material: Shadow Scale or Tissue Sample
|
||||
CursedFlameIchor: Cursed Flame or Ichor
|
||||
AnyEvilWater: "{$LegacyMisc.37} Evil Water"
|
||||
AnyEvilFlask: "{$LegacyMisc.37} Evil Flask"
|
||||
AnyEvilBlock: "{$LegacyMisc.37} Evil Block"
|
||||
AnyGoodBlock: "{$LegacyMisc.37} Good Block"
|
||||
LunarPickaxe: "{$LegacyMisc.37} Lunar Pickaxe"
|
||||
|
||||
@@ -147,7 +147,6 @@ AeroSlime.DisplayName: Aero Slime
|
||||
ArmoredDiggerHead.DisplayName: Armored Digger
|
||||
MechanizedSerpent: Mechanized Serpent
|
||||
AuroraSpirit.DisplayName: Aurora Spirit
|
||||
BloodlettingServant.DisplayName: Bloodletting Servant
|
||||
BloomSlime.DisplayName: Bloom Slime
|
||||
Bohldohr.DisplayName: Bohldohr
|
||||
BucketZombie.DisplayName: "{$NPCName.Zombie}"
|
||||
|
||||
@@ -63,9 +63,6 @@ FlareBomb.DisplayName: Flare Bomb
|
||||
FlareDust.DisplayName: Flare Dust
|
||||
FlareDust2.DisplayName: Flare Bomb
|
||||
Flarenado.DisplayName: Flarenado
|
||||
FoveanatorEnergyBomb.DisplayName: Nebulous Energy Bomb
|
||||
FoveanatorLaser.DisplayName: Nebulous Laser
|
||||
FoveanatorFlamethrower.DisplayName: Nebulous Flames
|
||||
FrostMist.DisplayName: Frost Mist
|
||||
GooglyEye.DisplayName: Googly Eye
|
||||
GreatSandBlast.DisplayName: Great Sand Blast
|
||||
|
||||
@@ -8,7 +8,7 @@ AnomalysNanogunHoldout.DisplayName: The Anomaly's Nanogun
|
||||
AnomalysNanogunMPFBBoom.DisplayName: MPFB Explosion
|
||||
AnomalysNanogunMPFBDevastator.DisplayName: MPFB Devastator
|
||||
AnomalysNanogunPlasmaBeam.DisplayName: Plasma Beam
|
||||
GatlingLaserShot.DisplayName: Gatling Laser
|
||||
CountermeasurePalmBlast.DisplayName: Palm Blast
|
||||
GaussEnergy.DisplayName: Gauss Energy
|
||||
GaussFlux.DisplayName: Gauss Flux
|
||||
GaussPistolShot.DisplayName: Gauss Shot
|
||||
|
||||
@@ -206,6 +206,7 @@ SicknessRound2.DisplayName: Round
|
||||
SlagRound.DisplayName: Slag Round
|
||||
SlimeBolt.DisplayName: Slime Bolt
|
||||
SparkSpreaderFire.DisplayName: Sparked Flames
|
||||
SpectralFlare.DisplayName: Spectral Flare
|
||||
SpeedBlasterShot.DisplayName: Splatter Shot
|
||||
SporeBomb.DisplayName: Spore Bomb
|
||||
SproutingArrowMain.DisplayName: Sprouting Arrow
|
||||
|
||||
@@ -61,6 +61,7 @@ Dragonfire4: This was a fight {0} could not win.
|
||||
ElementalMix1: "{0} was reduced to technicolor confetti."
|
||||
ElementalMix2: "{0} was blasted apart by a harmonized elemental onslaught."
|
||||
ElementalMix3: "{0} was overwhelmed by elemental turbulence."
|
||||
FlareGunOverheat: "{0}'s gun was simply too hot to handle."
|
||||
GodSlayerInferno1: "{0} imploded into nothingness."
|
||||
GodSlayerInferno2: "{0}'s body slipped into oblivion."
|
||||
GodSlayerInferno3: "{0} ceased being a part of our universe."
|
||||
|
||||
@@ -32,8 +32,34 @@ CurrentlySelected: Currently Selected : {0}
|
||||
DifficultyClickText: "[c/919191:Click to select a difficulty mode]"
|
||||
ExpertDifficultyLock: "[c/919191:Higher difficulty modes can only be toggled in Expert Mode or above]"
|
||||
ChangingTheRules: "[c/919191:You cannot change the rules now!]"
|
||||
NoDifficulty: None
|
||||
NoDifficultyInfo: The classic Terraria experience, with no Calamity difficulty changes
|
||||
Classic: Classic
|
||||
ClassicEnabled: Classic Mode is enabled
|
||||
ClassicInfo: Your Adventure Begins... A far more relaxed Terraria experience
|
||||
Expert: Expert
|
||||
ExpertEnabled: Expert Mode is enabled
|
||||
ExpertShortInfo: "[c/b8860b:Fortune & Glory, Kid. For those looking for a more difficult vanilla experience]"
|
||||
ExpertExpandedInfo:
|
||||
'''
|
||||
[c/a87a07:Most bosses gain new attacks and more difficult attack patterns]
|
||||
[c/a87a07:Most enemies have twice as much health, deal twice as much damage and receive 10% less knockback]
|
||||
[c/a87a07:Certain enemies have new attacks, can inflict new debuffs or have a higher chance of inflicting debuffs they already had]
|
||||
[c/a87a07:Enemies drop more loot, as well as having higher chances]
|
||||
[c/a87a07:Players drop more of their coins on death]
|
||||
'''
|
||||
ExpertActivate: Expert is active
|
||||
ExpertDeactivate: Expert is not active
|
||||
Master: Master
|
||||
MasterEnabled: Master Mode is enabled
|
||||
MasterShortInfo: "[c/00ad79:Game over man, game over! A tougher step up in stats from Expert Mode]"
|
||||
MasterExpandedInfo:
|
||||
'''
|
||||
[c/029c6d:Most enemies have even more health and knockback resistance added on from Expert Mode]
|
||||
[c/029c6d:Bosses have new exclusive vanity rewards]
|
||||
[c/029c6d:Players drop ALL their coins on death]
|
||||
[c/029c6d:Players gain an additional accessory slot at the start of the game]
|
||||
'''
|
||||
MasterActivate: Master is active
|
||||
MasterDeactivate: Master is not active
|
||||
Revengeance: Revengeance
|
||||
RevengeanceEnabled: Revengeance Mode is enabled
|
||||
RevengeanceShortInfo: "[c/F54254:The intended Calamity experience! Can only be enabled in Expert Mode!]"
|
||||
@@ -55,7 +81,7 @@ DeathEnabled: Death Mode is enabled
|
||||
DeathShortInfo: "[c/C82DF7:A far more difficult challenge than Revengeance Mode! Can only be enabled in Master Mode!]"
|
||||
DeathExpandedInfo:
|
||||
'''
|
||||
[c/B834E0:All foes will pose a much larger threat with highly aggressive AIs and increased damage]
|
||||
[c/B834E0:All foes will pose a much larger threat with highly aggressive AIs]
|
||||
[c/B834E0:Bosses have substantially harder AI changes. Enemies are even more numerous and can easily overwhelm you]
|
||||
[c/B834E0:Debuffs are especially lethal and the Abyss is significantly more dangerous]
|
||||
[c/E945FF:Vigilance and tenacity are crucial to survival]
|
||||
@@ -117,7 +143,7 @@ Cooldowns: {
|
||||
PrismaticLaser: Prismatic Laser Barrage Cooldown
|
||||
ProfanedSoulShieldDurability: Profaned Soul Shield Durability
|
||||
ProfanedSoulShieldRecharge: Profaned Soul Shield Recharge
|
||||
RaiderBoost: Extra Critical Chance
|
||||
RaidersBoost: Extra Critical Chance
|
||||
RelicOfResilienceCooldown: Relic of Resilience Cooldown
|
||||
RogueBooster: Rogue Booster Cooldown
|
||||
SandCloak: Sand Cloak Cooldown
|
||||
|
||||