Merge branch '1.4.4' into LiliesOfFinality
No files matched your search
@@ -62,6 +62,10 @@ namespace CalamityMod.Balancing
|
||||
|
||||
UniversalBalancingChanges = new List<IBalancingRule[]>()
|
||||
{
|
||||
// Nerf Crystal bullet shards by 45%
|
||||
// Currently crystal bullet projectiles deal 50% of the bullet's damage which is absurd in vanilla, this nerfs them to 27.5%
|
||||
Do(new ProjectileResistBalancingRule(0.55f, ProjectileID.CrystalShard)),
|
||||
|
||||
// Nerf Luminite Arrow trails by 50%.
|
||||
Do(new ProjectileResistBalancingRule(0.5f, ProjectileID.MoonlordArrowTrail)),
|
||||
|
||||
@@ -76,6 +80,7 @@ namespace CalamityMod.Balancing
|
||||
|
||||
// Nerf Spectre Mask set bonus projectiles by 30%.
|
||||
Do(new ProjectileSpecificRequirementBalancingRule(0.7f, SpectreMaskSetBonusFilter)),
|
||||
|
||||
};
|
||||
|
||||
NPCSpecificBalancingChanges = new List<NPCBalancingChange>();
|
||||
|
||||
@@ -89,8 +89,9 @@
|
||||
// Life steal accessories require a more strict cooldown due to their ease of use and global application
|
||||
internal static readonly float LifeStealAccessoryCooldownMultiplier = 3f;
|
||||
|
||||
// Life steal cooldown multiplier used for armor set bonuses
|
||||
// Life steal cooldown multipliers used for armor set bonuses
|
||||
internal static readonly float LifeStealSetBonusCooldownMultiplier = 2f;
|
||||
internal static readonly float LifeStealReaverTankCooldownMultiplier = 4f;
|
||||
|
||||
// The range was buffed in vanilla from 1200 to 3000 in 1.4.4, and I agree with that decision
|
||||
internal static readonly float LifeStealRange = 3000f;
|
||||
|
||||
@@ -1180,6 +1180,7 @@ namespace CalamityMod.CalPlayer
|
||||
#region Draedon Summoning
|
||||
public bool AbleToSelectExoMech = false;
|
||||
public bool HasTalkedAtCodebreaker = false;
|
||||
public bool HasCraftedDraedonsForge = false;
|
||||
public List<ulong> SeenDraedonDialogs = new();
|
||||
#endregion Draedon Summoning
|
||||
|
||||
@@ -1314,6 +1315,7 @@ namespace CalamityMod.CalPlayer
|
||||
boost.AddWithCondition("newCalamitasInventory", newCalamitasInventory);
|
||||
boost.AddWithCondition("GivenBrimstoneLocus", GivenBrimstoneLocus);
|
||||
boost.AddWithCondition("HasTalkedAtCodebreaker", HasTalkedAtCodebreaker);
|
||||
boost.AddWithCondition("HasCraftedDraedonsForge", HasCraftedDraedonsForge);
|
||||
|
||||
// Calculate the new total time of all sessions at the instant of this player save.
|
||||
TimeSpan newSessionTotal = previousSessionTotal.Add(CalamityMod.SpeedrunTimer.Elapsed);
|
||||
@@ -1404,6 +1406,7 @@ namespace CalamityMod.CalPlayer
|
||||
newCalamitasInventory = boost.Contains("newCalamitasInventory");
|
||||
GivenBrimstoneLocus = boost.Contains("GivenBrimstoneLocus");
|
||||
HasTalkedAtCodebreaker = boost.Contains("HasTalkedAtCodebreaker");
|
||||
HasCraftedDraedonsForge = boost.Contains("HasCraftedDraedonsForge");
|
||||
|
||||
// Load rage if it's there, which it will be for any players saved with 1.5.
|
||||
// Older players have "stress" instead, which will be ignored. This is intentional.
|
||||
|
||||
@@ -1130,7 +1130,7 @@ namespace CalamityMod.CalPlayer
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Player.mount.Type == MountID.Slime)
|
||||
if (Player.mount.Type == MountID.Slime || Player.mount.Type == MountID.PogoStick)
|
||||
Player.velocity.X *= 0.91f;
|
||||
else if (Player.mount.Type == MountID.QueenSlime)
|
||||
Player.velocity.X *= 0.95f;
|
||||
@@ -2584,7 +2584,7 @@ namespace CalamityMod.CalPlayer
|
||||
|
||||
if (giantShellPostHit > 0)
|
||||
{
|
||||
Player.statDefense -= 5;
|
||||
Player.statDefense -= 3;
|
||||
giantShellPostHit--;
|
||||
}
|
||||
if (giantShellPostHit < 0)
|
||||
|
||||
@@ -1236,7 +1236,7 @@ namespace CalamityMod.CalPlayer
|
||||
healMult -= proj.numHits * healMult * 0.5;
|
||||
int heal = (int)Math.Round(damage * healMult);
|
||||
if (CalamityGlobalProjectile.CanSpawnLifeStealProjectile(healMult, heal))
|
||||
CalamityGlobalProjectile.SpawnLifeStealProjectile(proj, Player, heal, ProjectileType<ReaverHealOrb>(), BalancingConstants.LifeStealRange, BalancingConstants.LifeStealSetBonusCooldownMultiplier);
|
||||
CalamityGlobalProjectile.SpawnLifeStealProjectile(proj, Player, heal, ProjectileType<ReaverHealOrb>(), BalancingConstants.LifeStealRange, BalancingConstants.LifeStealReaverTankCooldownMultiplier);
|
||||
}
|
||||
|
||||
if (proj.CountsAsClass<ThrowingDamageClass>())
|
||||
@@ -1310,7 +1310,7 @@ namespace CalamityMod.CalPlayer
|
||||
int heal = (int)Math.Round(damage * healMult);
|
||||
if (heal > 0 && !Main.player[Main.myPlayer].moonLeech)
|
||||
{
|
||||
Main.player[Main.myPlayer].lifeSteal -= heal * BalancingConstants.LifeStealSetBonusCooldownMultiplier;
|
||||
Main.player[Main.myPlayer].lifeSteal -= heal * BalancingConstants.LifeStealReaverTankCooldownMultiplier;
|
||||
|
||||
float lowestHealthCheck = 0f;
|
||||
int healTarget = Player.whoAmI;
|
||||
|
||||
@@ -294,12 +294,12 @@ namespace CalamityMod
|
||||
|
||||
EnemyStats.ContactDamageValues = new SortedDictionary<int, int[]>
|
||||
{
|
||||
{ NPCID.KingSlime, new int[] { 40, 64, 80, 88, 120 } },
|
||||
{ NPCID.KingSlime, new int[] { 40, 64, 80, 96, 120 } },
|
||||
|
||||
{ ModContent.NPCType<DesertScourgeHead>(), new int[] { 45, 66, 88, 99, 132 } },
|
||||
{ ModContent.NPCType<DesertScourgeBody>(), new int[] { 24, 32, 40, 44, 72 } },
|
||||
{ ModContent.NPCType<DesertScourgeTail>(), new int[] { 18, 24, 30, 32, 54 } },
|
||||
{ ModContent.NPCType<DesertNuisanceHead>(), new int[] { 30, 44, 60, 70, 90 } },
|
||||
{ ModContent.NPCType<DesertScourgeHead>(), new int[] { 45, 66, 88, 110, 132 } },
|
||||
{ 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, 90 } },
|
||||
{ ModContent.NPCType<DesertNuisanceBody>(), new int[] { 21, 28, 32, 36, 63 } },
|
||||
{ ModContent.NPCType<DesertNuisanceTail>(), new int[] { 12, 16, 20, 24, 36 } },
|
||||
|
||||
@@ -307,38 +307,38 @@ namespace CalamityMod
|
||||
24, // 36 in phase 2
|
||||
30, // 45 in phase 2
|
||||
40, // 48 in phase 2, 56 in phase 3
|
||||
44, // 53 in phase 2, 62 in phase 3
|
||||
50, // 60 in phase 2, 70 in phase 3
|
||||
72 } }, // Vanilla: 108 in phase 2; Rev+: 86 in phase 2, 101 in phase 3
|
||||
{ NPCID.ServantofCthulhu, new int[] { 18, 24, 30, 34, 54 } },
|
||||
{ NPCID.ServantofCthulhu, new int[] { 18, 24, 30, 36, 54 } },
|
||||
|
||||
{ ModContent.NPCType<Crabulon>(), new int[] { 40, 64, 80, 88, 120 } },
|
||||
{ ModContent.NPCType<CrabShroom>(), new int[] { 25, 50, 62, 70, 75 } },
|
||||
{ ModContent.NPCType<Crabulon>(), new int[] { 40, 64, 80, 96, 120 } },
|
||||
{ ModContent.NPCType<CrabShroom>(), new int[] { 25, 50, 62, 74, 75 } },
|
||||
|
||||
{ NPCID.EaterofWorldsHead, new int[] { 38, 55, 77, 88, 132 } },
|
||||
{ NPCID.EaterofWorldsHead, new int[] { 38, 55, 77, 99, 132 } },
|
||||
{ NPCID.EaterofWorldsBody, new int[] { 18, 24, 32, 40, 60 } },
|
||||
{ NPCID.EaterofWorldsTail, new int[] { 12, 16, 24, 32, 36 } },
|
||||
{ NPCID.VileSpitEaterOfWorlds, new int[] { -1, 64, 64, 64, 96 } },
|
||||
|
||||
{ NPCID.BrainofCthulhu, new int[] { 36, 54, 81, 99, 135 } },
|
||||
{ NPCID.Creeper, new int[] { 24, 36, 66, 80, 108 } },
|
||||
{ NPCID.BrainofCthulhu, new int[] { 36, 54, 81, 108, 135 } },
|
||||
{ NPCID.Creeper, new int[] { 24, 36, 66, 96, 120 } },
|
||||
|
||||
{ ModContent.NPCType<HiveMind>(), new int[] { 42, 63, 81, 90, 135 } },
|
||||
{ ModContent.NPCType<DankCreeper>(), new int[] { 30, 50, 62, 68, 90 } },
|
||||
{ ModContent.NPCType<HiveMind>(), new int[] { 42, 63, 81, 99, 135 } },
|
||||
{ ModContent.NPCType<DankCreeper>(), new int[] { 30, 50, 62, 74, 90 } },
|
||||
|
||||
{ ModContent.NPCType<PerforatorHive>(), new int[] { 36, 54, 63, 72, 108 } },
|
||||
{ ModContent.NPCType<PerforatorHeadLarge>(), new int[] { 54, 90, 108, 118, 162 } },
|
||||
{ ModContent.NPCType<PerforatorBodyLarge>(), new int[] { 28, 48, 56, 60, 84 } },
|
||||
{ ModContent.NPCType<PerforatorTailLarge>(), new int[] { 22, 36, 42, 46, 66 } },
|
||||
{ ModContent.NPCType<PerforatorHeadMedium>(), new int[] { 42, 70, 84, 92, 126 } },
|
||||
{ ModContent.NPCType<PerforatorBodyMedium>(), new int[] { 24, 42, 50, 54, 72 } },
|
||||
{ ModContent.NPCType<PerforatorTailMedium>(), new int[] { 18, 28, 34, 38, 54 } },
|
||||
{ ModContent.NPCType<PerforatorHeadSmall>(), new int[] { 36, 60, 72, 80, 108 } },
|
||||
{ ModContent.NPCType<PerforatorBodySmall>(), new int[] { 20, 36, 42, 46, 60 } },
|
||||
{ ModContent.NPCType<PerforatorTailSmall>(), new int[] { 14, 20, 26, 30, 42 } },
|
||||
{ ModContent.NPCType<PerforatorHeadLarge>(), new int[] { 54, 90, 108, 126, 162 } },
|
||||
{ ModContent.NPCType<PerforatorBodyLarge>(), new int[] { 28, 48, 56, 64, 84 } },
|
||||
{ ModContent.NPCType<PerforatorTailLarge>(), new int[] { 22, 36, 42, 48, 66 } },
|
||||
{ ModContent.NPCType<PerforatorHeadMedium>(), new int[] { 42, 70, 84, 98, 126 } },
|
||||
{ ModContent.NPCType<PerforatorBodyMedium>(), new int[] { 24, 42, 50, 58, 72 } },
|
||||
{ ModContent.NPCType<PerforatorTailMedium>(), new int[] { 18, 28, 34, 40, 54 } },
|
||||
{ ModContent.NPCType<PerforatorHeadSmall>(), new int[] { 36, 60, 72, 84, 108 } },
|
||||
{ ModContent.NPCType<PerforatorBodySmall>(), new int[] { 20, 36, 42, 48, 60 } },
|
||||
{ ModContent.NPCType<PerforatorTailSmall>(), new int[] { 14, 20, 26, 32, 42 } },
|
||||
|
||||
{ NPCID.QueenBee, new int[] { 36, 54, 81, 99, 135 } },
|
||||
{ NPCID.Bee, new int[] { 20, 24, 48, 60, 72 } },
|
||||
{ NPCID.BeeSmall, new int[] { 15, 18, 30, 44, 54 } },
|
||||
{ NPCID.QueenBee, new int[] { 36, 54, 81, 108, 135 } },
|
||||
{ NPCID.Bee, new int[] { 20, 24, 48, 72, 90 } },
|
||||
{ NPCID.BeeSmall, new int[] { 15, 18, 36, 54, 72 } },
|
||||
|
||||
{ NPCID.SkeletronHead, new int[] {
|
||||
42, // 55 while spinning
|
||||
@@ -346,40 +346,40 @@ namespace CalamityMod
|
||||
88, // 114 while spinning
|
||||
99, // 128 while spinning
|
||||
132 } }, // 171 while spinning
|
||||
{ NPCID.SkeletronHand, new int[] { 32, 44, 77, 88, 132 } },
|
||||
{ NPCID.SkeletronHand, new int[] { 32, 44, 77, 110, 132 } },
|
||||
|
||||
{ NPCID.Deerclops, new int[] { 20, 40, 50, 60, 81 } },
|
||||
|
||||
{ ModContent.NPCType<SlimeGodCore>(), new int[] { 48, 80, 96, 104, 144 } },
|
||||
{ ModContent.NPCType<EbonianPaladin>(), new int[] { 54, 90, 108, 118, 162 } },
|
||||
{ ModContent.NPCType<SplitEbonianPaladin>(), new int[] { 48, 80, 96, 104, 144 } },
|
||||
{ ModContent.NPCType<CrimulanPaladin>(), new int[] { 60, 100, 120, 130, 180 } },
|
||||
{ ModContent.NPCType<SplitCrimulanPaladin>(), new int[] { 54, 90, 108, 118, 162 } },
|
||||
{ ModContent.NPCType<CorruptSlimeSpawn>(), new int[] { 36, 60, 72, 78, 108 } },
|
||||
{ ModContent.NPCType<CorruptSlimeSpawn2>(), new int[] { 24, 40, 48, 52, 72 } },
|
||||
{ ModContent.NPCType<CrimsonSlimeSpawn>(), new int[] { 42, 70, 84, 92, 126 } },
|
||||
{ ModContent.NPCType<CrimsonSlimeSpawn2>(), new int[] { 30, 50, 60, 66, 90 } },
|
||||
{ ModContent.NPCType<SlimeGodCore>(), new int[] { 48, 80, 96, 112, 144 } },
|
||||
{ ModContent.NPCType<EbonianPaladin>(), new int[] { 54, 90, 108, 126, 162 } },
|
||||
{ ModContent.NPCType<SplitEbonianPaladin>(), new int[] { 48, 80, 96, 112, 144 } },
|
||||
{ ModContent.NPCType<CrimulanPaladin>(), new int[] { 60, 100, 120, 140, 180 } },
|
||||
{ ModContent.NPCType<SplitCrimulanPaladin>(), new int[] { 54, 90, 108, 126, 162 } },
|
||||
{ ModContent.NPCType<CorruptSlimeSpawn>(), new int[] { 36, 60, 72, 84, 108 } },
|
||||
{ ModContent.NPCType<CorruptSlimeSpawn2>(), new int[] { 24, 40, 48, 56, 72 } },
|
||||
{ ModContent.NPCType<CrimsonSlimeSpawn>(), new int[] { 42, 70, 84, 98, 126 } },
|
||||
{ ModContent.NPCType<CrimsonSlimeSpawn2>(), new int[] { 30, 50, 60, 70, 90 } },
|
||||
|
||||
{ NPCID.WallofFlesh, new int[] { 100, 150, 180, 195, 270 } },
|
||||
{ NPCID.WallofFleshEye, new int[] { 100, 150, 180, 195, 270 } },
|
||||
{ NPCID.WallofFlesh, new int[] { 100, 150, 180, 210, 270 } },
|
||||
{ NPCID.WallofFleshEye, new int[] { 100, 150, 180, 210, 270 } },
|
||||
{ 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, 80, 90 } },
|
||||
{ NPCID.LeechHead, new int[] { 26, 52, 62, 68, 78 } },
|
||||
{ NPCID.LeechBody, new int[] { 22, 44, 52, 56, 66 } },
|
||||
{ NPCID.LeechTail, new int[] { 18, 36, 42, 44, 54 } },
|
||||
{ NPCID.TheHungryII, new int[] { 30, 60, 74, 88, 108 } },
|
||||
{ NPCID.LeechHead, new int[] { 26, 52, 62, 72, 90 } },
|
||||
{ NPCID.LeechBody, new int[] { 22, 44, 52, 60, 78 } },
|
||||
{ NPCID.LeechTail, new int[] { 18, 36, 42, 48, 66 } },
|
||||
|
||||
{ NPCID.QueenSlimeBoss, new int[] { 80, 120, 150, 170, 240 } },
|
||||
{ NPCID.QueenSlimeBoss, new int[] { 80, 120, 150, 180, 240 } },
|
||||
{ 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 } },
|
||||
|
||||
{ ModContent.NPCType<Cryogen>(), new int[] { 90, 138, 161, 184, 276 } },
|
||||
{ ModContent.NPCType<CryogenShield>(), new int[] { 80, 120, 138, 158, 240 } },
|
||||
{ ModContent.NPCType<CryogenShield>(), new int[] { 80, 120, 138, 156, 240 } },
|
||||
|
||||
{ NPCID.Spazmatism, new int[] {
|
||||
70, // 105 in phase 2
|
||||
@@ -395,15 +395,15 @@ namespace CalamityMod
|
||||
153 } }, // 229 in phase 2
|
||||
|
||||
{ ModContent.NPCType<AquaticScourgeHead>(), new int[] { 110, 176, 187, 198, 330 } },
|
||||
{ ModContent.NPCType<AquaticScourgeBody>(), new int[] { 75, 112, 136, 144, 216 } },
|
||||
{ ModContent.NPCType<AquaticScourgeBodyAlt>(), new int[] { 70, 104, 112, 136, 192 } },
|
||||
{ ModContent.NPCType<AquaticScourgeBody>(), new int[] { 75, 112, 136, 160, 216 } },
|
||||
{ ModContent.NPCType<AquaticScourgeBodyAlt>(), new int[] { 70, 104, 112, 120, 192 } },
|
||||
{ ModContent.NPCType<AquaticScourgeTail>(), new int[] { 65, 96, 104, 112, 168 } },
|
||||
|
||||
{ NPCID.TheDestroyer, new int[] { 140, 280, 300, 320, 420 } },
|
||||
{ NPCID.TheDestroyerBody, new int[] { 70, 102, 136, 153, 204 } },
|
||||
{ NPCID.TheDestroyerTail, new int[] { 45, 68, 102, 136, 153 } },
|
||||
{ NPCID.TheDestroyerBody, new int[] { 70, 102, 136, 170, 255 } },
|
||||
{ NPCID.TheDestroyerTail, new int[] { 45, 68, 102, 136, 204 } },
|
||||
|
||||
{ ModContent.NPCType<BrimstoneElemental>(), new int[] { 75, 112, 136, 144, 216 } },
|
||||
{ ModContent.NPCType<BrimstoneElemental>(), new int[] { 75, 112, 136, 160, 216 } },
|
||||
|
||||
{ NPCID.SkeletronPrime, new int[] {
|
||||
50, // 100 while spinning
|
||||
@@ -417,417 +417,417 @@ namespace CalamityMod
|
||||
102, // 204 while spinning
|
||||
119, // 238 while spinning
|
||||
153 } }, // 306 while spinning
|
||||
{ NPCID.PrimeVice, new int[] { 70, 102, 136, 153, 204 } },
|
||||
{ NPCID.PrimeSaw, new int[] { 70, 102, 136, 153, 204 } },
|
||||
{ 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 } },
|
||||
|
||||
{ ModContent.NPCType<CalamitasClone>(), new int[] { 95, 144, 168, 176, 276 } },
|
||||
{ ModContent.NPCType<Cataclysm>(), new int[] { 80, 120, 138, 148, 240 } },
|
||||
{ ModContent.NPCType<Catastrophe>(), new int[] { 85, 130, 150, 162, 255 } },
|
||||
{ ModContent.NPCType<CalamitasClone>(), new int[] { 95, 144, 168, 192, 276 } },
|
||||
{ ModContent.NPCType<Cataclysm>(), new int[] { 80, 120, 138, 156, 240 } },
|
||||
{ ModContent.NPCType<Catastrophe>(), new int[] { 85, 130, 150, 170, 255 } },
|
||||
|
||||
{ NPCID.Plantera, new int[] {
|
||||
70, // 98 in phase 2
|
||||
100, // 140 in phase 2
|
||||
138, // 193 in phase 2
|
||||
161, // 225 in phase 2
|
||||
176, // 246 in phase 2
|
||||
207 } }, // 290 in phase 2
|
||||
{ NPCID.PlanterasTentacle, new int[] { 90, 138, 161, 207, 276 } },
|
||||
{ ModContent.NPCType<PlanterasFreeTentacle>(), new int[] { 90, 138, 161, 207, 276 } },
|
||||
{ NPCID.Spore, new int[] { 90, 140, 160, 170, 270 } },
|
||||
{ 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.HallowBoss, new int[] { 80, // 120 during charge
|
||||
110, // 165 during charge
|
||||
143, // 215 during charge
|
||||
154, // 231 during charge
|
||||
176, // 264 during charge
|
||||
231 } }, // 347 during charge
|
||||
|
||||
{ ModContent.NPCType<Leviathan>(), new int[] { 140, 216, 240, 252, 414 } },
|
||||
{ ModContent.NPCType<Leviathan>(), new int[] { 140, 216, 240, 264, 414 } },
|
||||
{ ModContent.NPCType<Anahita>(), new int[] {
|
||||
75, // 113 during charge
|
||||
112, // 168 during charge
|
||||
136, // 204 during charge
|
||||
144, // 216 during charge
|
||||
160, // 240 during charge
|
||||
216 } }, // 324 during charge
|
||||
{ ModContent.NPCType<AnahitasIceShield>(), new int[] { 70, 110, 126, 136, 210 } },
|
||||
{ NPCID.DetonatingBubble, new int[] { 100, 150, 180, 195, 270 } },
|
||||
{ ModContent.NPCType<AquaticAberration>(), new int[] { 90, 140, 160, 170, 270 } },
|
||||
{ ModContent.NPCType<AnahitasIceShield>(), new int[] { 70, 110, 126, 142, 210 } },
|
||||
{ NPCID.DetonatingBubble, new int[] { 100, 150, 180, 210, 270 } },
|
||||
{ ModContent.NPCType<AquaticAberration>(), new int[] { 90, 140, 160, 180, 270 } },
|
||||
|
||||
{ ModContent.NPCType<AstrumAureus>(), new int[] { 145, 220, 242, 253, 429 } },
|
||||
{ ModContent.NPCType<AureusSpawn>(), new int[] { 75, 112, 128, 138, 225 } },
|
||||
{ ModContent.NPCType<AstrumAureus>(), new int[] { 145, 220, 242, 264, 429 } },
|
||||
{ ModContent.NPCType<AureusSpawn>(), new int[] { 75, 112, 128, 144, 225 } },
|
||||
|
||||
{ NPCID.Golem, new int[] { 95, 144, 176, 192, 264 } },
|
||||
{ NPCID.Golem, new int[] { 95, 144, 176, 208, 264 } },
|
||||
{ NPCID.GolemHead, new int[] { 85, 128, 144, 160, 228 } },
|
||||
{ NPCID.GolemFistLeft, new int[] { 75, 112, 144, 160, 204 } },
|
||||
{ NPCID.GolemFistRight, new int[] { 75, 112, 144, 160, 204 } },
|
||||
{ NPCID.GolemFistLeft, new int[] { 75, 112, 144, 176, 240 } },
|
||||
{ NPCID.GolemFistRight, new int[] { 75, 112, 144, 176, 240 } },
|
||||
|
||||
{ ModContent.NPCType<PlaguebringerGoliath>(), new int[] { 120, 180, 216, 234, 351 } },
|
||||
{ ModContent.NPCType<PlagueHomingMissile>(), new int[] { 120, 180, 210, 224, 360 } },
|
||||
{ ModContent.NPCType<PlagueMine>(), new int[] { 130, 200, 240, 260, 390 } },
|
||||
{ ModContent.NPCType<PlaguebringerGoliath>(), new int[] { 120, 180, 216, 252, 351 } },
|
||||
{ ModContent.NPCType<PlagueHomingMissile>(), new int[] { 120, 180, 210, 240, 360 } },
|
||||
{ ModContent.NPCType<PlagueMine>(), new int[] { 130, 200, 240, 280, 390 } },
|
||||
|
||||
{ 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
|
||||
182, // 262 in phase 2, 240 in phase 3
|
||||
196, // 282 in phase 2, 259 in phase 3
|
||||
252 } }, // 363 in phase 2, 333 in phase 3
|
||||
{ NPCID.Sharkron, new int[] { 100, 150, 180, 195, 270 } },
|
||||
{ NPCID.Sharkron2, new int[] { 120, 180, 210, 225, 315 } },
|
||||
{ NPCID.Sharkron, new int[] { 100, 150, 180, 210, 270 } },
|
||||
{ NPCID.Sharkron2, new int[] { 120, 180, 210, 240, 315 } },
|
||||
|
||||
{ ModContent.NPCType<RavagerBody>(), new int[] { 130, 192, 224, 232, 384 } },
|
||||
{ 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, 232, 390 } },
|
||||
{ ModContent.NPCType<FlamePillar>(), new int[] { 105, 160, 192, 200, 315 } },
|
||||
{ ModContent.NPCType<RockPillar>(), new int[] { 130, 192, 224, 256, 390 } },
|
||||
{ ModContent.NPCType<FlamePillar>(), new int[] { 105, 160, 192, 224, 315 } },
|
||||
|
||||
{ NPCID.CultistDragonHead, new int[] { 120, 180, 210, 225, 360 } },
|
||||
{ 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, 225, 360 } },
|
||||
{ NPCID.AncientLight, new int[] { 120, 180, 210, 225, 360 } },
|
||||
{ NPCID.AncientCultistSquidhead, new int[] { 120, 180, 210, 240, 360 } },
|
||||
{ NPCID.AncientLight, new int[] { 120, 180, 210, 240, 360 } },
|
||||
|
||||
{ ModContent.NPCType<AstrumDeusHead>(), new int[] { 160, 240, 268, 280, 480 } },
|
||||
{ ModContent.NPCType<AstrumDeusBody>(), new int[] { 105, 160, 192, 200, 312 } },
|
||||
{ ModContent.NPCType<AstrumDeusTail>(), new int[] { 85, 128, 160, 168, 252 } },
|
||||
{ ModContent.NPCType<AstrumDeusHead>(), new int[] { 160, 240, 268, 296, 480 } },
|
||||
{ ModContent.NPCType<AstrumDeusBody>(), new int[] { 105, 160, 192, 224, 312 } },
|
||||
{ ModContent.NPCType<AstrumDeusTail>(), new int[] { 85, 128, 160, 192, 252 } },
|
||||
|
||||
{ ModContent.NPCType<ProfanedGuardianCommander>(), new int[] { 150, 224, 256, 280, 444 } },
|
||||
{ ModContent.NPCType<ProfanedGuardianDefender>(), new int[] { 160, 240, 264, 278, 405 } },
|
||||
{ ModContent.NPCType<ProfanedGuardianHealer>(), new int[] { 100, 200, 220, 232, 300 } },
|
||||
{ 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<Bumblefuck>(), new int[] { 170, 256, 288, 304, 504 } },
|
||||
{ ModContent.NPCType<Bumblefuck2>(), new int[] { 145, 220, 242, 256, 435 } },
|
||||
{ ModContent.NPCType<Bumblefuck>(), new int[] { 170, 256, 288, 320, 504 } },
|
||||
{ ModContent.NPCType<Bumblefuck2>(), new int[] { 145, 220, 242, 264, 435 } },
|
||||
|
||||
{ ModContent.NPCType<ProvSpawnOffense>(), new int[] { 120, 240, 264, 278, 360 } },
|
||||
{ ModContent.NPCType<ProvSpawnDefense>(), new int[] { 100, 200, 220, 232, 300 } },
|
||||
{ ModContent.NPCType<ProfanedRocks>(), new int[] { 100, 200, 220, 232, 300 } },
|
||||
|
||||
{ ModContent.NPCType<CeaselessVoid>(), new int[] { 240, 360, 396, 418, 720 } },
|
||||
{ ModContent.NPCType<DarkEnergy>(), new int[] { 175, 260, 288, 304, 525 } },
|
||||
{ ModContent.NPCType<CeaselessVoid>(), new int[] { 240, 360, 396, 432, 720 } },
|
||||
{ ModContent.NPCType<DarkEnergy>(), new int[] { 175, 260, 288, 316, 525 } },
|
||||
|
||||
{ ModContent.NPCType<StormWeaverHead>(), new int[] { 240, 360, 396, 418, 720 } },
|
||||
{ ModContent.NPCType<StormWeaverBody>(), new int[] { 125, 192, 224, 250, 372 } },
|
||||
{ ModContent.NPCType<StormWeaverTail>(), new int[] { 105, 160, 192, 210, 312 } },
|
||||
{ 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<Signus>(), new int[] { 210, 315, 351, 369, 621 } },
|
||||
{ ModContent.NPCType<CosmicLantern>(), new int[] { 175, 260, 288, 304, 525 } },
|
||||
{ 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<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
|
||||
280, // 336 in phase 2, 392 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, 360, 392, 672 } },
|
||||
{ ModContent.NPCType<PolterPhantom>(), new int[] { 224, 336, 370, 403, 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
|
||||
342, // 376 in phase 2, 410 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, 344, 576 } },
|
||||
{ ModContent.NPCType<SulphurousSharkron>(), new int[] { 192, 288, 328, 344, 576 } },
|
||||
{ ModContent.NPCType<OldDukeToothBall>(), new int[] { 192, 288, 328, 368, 576 } },
|
||||
{ ModContent.NPCType<SulphurousSharkron>(), new int[] { 192, 288, 328, 368, 576 } },
|
||||
|
||||
{ ModContent.NPCType<DevourerofGodsHead>(), new int[] { 470, 700, 750, 780, 1410 } },
|
||||
{ ModContent.NPCType<DevourerofGodsBody>(), new int[] { 250, 374, 425, 442, 714 } },
|
||||
{ ModContent.NPCType<DevourerofGodsTail>(), new int[] { 204, 306, 340, 357, 612 } },
|
||||
{ ModContent.NPCType<CosmicGuardianHead>(), new int[] { 240, 360, 396, 420, 720 } },
|
||||
{ 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<Yharon>(), new int[] { 300, 448, 480, 512, 900 } },
|
||||
|
||||
{ ModContent.NPCType<SupremeCalamitas>(), new int[] { 340, 512, 544, 560, 1020 } },
|
||||
{ ModContent.NPCType<SupremeCalamitas>(), new int[] { 340, 512, 544, 576, 1020 } },
|
||||
|
||||
{ ModContent.NPCType<Apollo>(), new int[] { 340, 512, 544, 560, 1020 } },
|
||||
{ ModContent.NPCType<Artemis>(), new int[] { 320, 480, 512, 528, 960 } },
|
||||
{ ModContent.NPCType<Apollo>(), new int[] { 340, 512, 544, 576, 1020 } },
|
||||
{ ModContent.NPCType<Artemis>(), new int[] { 320, 480, 512, 544, 960 } },
|
||||
|
||||
{ ModContent.NPCType<ThanatosHead>(), new int[] { 375, 560, 592, 608, 1116 } },
|
||||
{ ModContent.NPCType<ThanatosBody1>(), new int[] { 320, 480, 512, 528, 960 } },
|
||||
{ ModContent.NPCType<ThanatosBody2>(), new int[] { 320, 480, 512, 528, 960 } },
|
||||
{ ModContent.NPCType<ThanatosTail>(), new int[] { 270, 400, 424, 440, 804 } },
|
||||
{ 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<PrimordialWyrmHead>(), new int[] { 535, 800, 850, 880, 1596 } }
|
||||
{ ModContent.NPCType<PrimordialWyrmHead>(), new int[] { 535, 800, 850, 900, 1596 } }
|
||||
};
|
||||
|
||||
EnemyStats.ProjectileDamageValues = new SortedDictionary<Tuple<int, int>, int[]>
|
||||
{
|
||||
{ new Tuple<int, int>(ModContent.NPCType<KingSlimeJewel>(), ModContent.ProjectileType<JewelProjectile>()), new int[] { 26, 36, 44, 48, 78 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<KingSlimeJewel>(), ModContent.ProjectileType<JewelProjectile>()), new int[] { 26, 36, 44, 52, 84 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DesertScourgeHead>(), ModContent.ProjectileType<SandBlast>()), new int[] { 26, 44, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DesertScourgeHead>(), ModContent.ProjectileType<GreatSandBlast>()), new int[] { 26, 44, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DesertScourgeHead>(), ModContent.ProjectileType<SandBlast>()), new int[] { 26, 44, 60, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DesertScourgeHead>(), ModContent.ProjectileType<GreatSandBlast>()), new int[] { 26, 44, 60, 76, 108 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.EyeofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 26, 44, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(NPCID.EyeofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 26, 44, 60, 76, 108 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBomb>()), new int[] { 32, 48, 60, 68, 96 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBombFall>()), new int[] { 32, 48, 60, 68, 96 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBomb>()), new int[] { 32, 48, 60, 72, 96 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Crabulon>(), ModContent.ProjectileType<MushBombFall>()), new int[] { 32, 48, 60, 72, 96 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ProjectileID.CursedFlameHostile), new int[] { 26, 44, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 26, 36, 44, 48, 78 } },
|
||||
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ProjectileID.CursedFlameHostile), new int[] { 26, 44, 60, 76, 108 } },
|
||||
{ new Tuple<int, int>(NPCID.EaterofWorldsHead, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 26, 36, 44, 52, 84 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.BrainofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(NPCID.BrainofCthulhu, ProjectileID.BloodShot), new int[] { 26, 44, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(NPCID.Creeper, ProjectileID.BloodShot), new int[] { 26, 44, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(NPCID.BrainofCthulhu, ProjectileID.BloodNautilusShot), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(NPCID.BrainofCthulhu, ProjectileID.BloodShot), new int[] { 26, 44, 60, 76, 108 } },
|
||||
{ new Tuple<int, int>(NPCID.Creeper, ProjectileID.BloodShot), new int[] { 26, 44, 60, 76, 108 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveMind>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DankCreeper>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DarkHeart>(), ModContent.ProjectileType<ShaderainHostile>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob2>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveMind>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DankCreeper>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DarkHeart>(), ModContent.ProjectileType<ShaderainHostile>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 72, 96 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<HiveBlob2>(), ModContent.ProjectileType<VileClot>()), new int[] { 30, 48, 60, 72, 96 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<BloodGeyser>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorShot>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorBodyMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorTailMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 22, 36, 44, 48, 66 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<BloodGeyser>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorShot>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHive>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorBodyMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorTailMedium>(), ModContent.ProjectileType<IchorBlob>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PerforatorHeadLarge>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 22, 36, 44, 52, 84 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.QueenBee, ProjectileID.QueenBeeStinger), new int[] { 22, 44, 64, 72, 96 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenBee, ProjectileID.QueenBeeStinger), new int[] { 22, 44, 64, 84, 120 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Skull), new int[] { 46, 72, 84, 92, 138 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Shadowflames), new int[] { 36, 72, 88, 96, 132 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHand, ProjectileID.Skull), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Skull), new int[] { 46, 72, 84, 96, 138 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHead, ProjectileID.Shadowflames), new int[] { 36, 72, 88, 104, 150 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronHand, ProjectileID.Skull), new int[] { 36, 56, 68, 80, 114 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.DeerclopsIceSpike), new int[] { 26, 52, 76, 84, 114 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.DeerclopsRangedProjectile), new int[] { 36, 72, 88, 96, 132 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.InsanityShadowHostile), new int[] { 20, 40, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.DeerclopsIceSpike), new int[] { 26, 52, 76, 100, 138 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.DeerclopsRangedProjectile), new int[] { 36, 72, 88, 104, 150 } },
|
||||
{ new Tuple<int, int>(NPCID.Deerclops, ProjectileID.InsanityShadowHostile), new int[] { 20, 40, 60, 80, 114 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 42, 68, 84, 92, 126 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 38, 60, 76, 84, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<EbonianPaladin>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 42, 68, 84, 92, 126 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimulanPaladin>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 38, 60, 76, 84, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SplitEbonianPaladin>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 38, 60, 76, 84, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SplitCrimulanPaladin>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 34, 52, 68, 74, 102 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CorruptSlimeSpawn>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 76, 108 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimsonSlimeSpawn2>(), ModContent.ProjectileType<CrimsonSpike>()), new int[] { 24, 48, 60, 68, 90 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 42, 68, 84, 100, 138 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SlimeGodCore>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 38, 60, 76, 92, 126 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<EbonianPaladin>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 42, 68, 84, 100, 138 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimulanPaladin>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 38, 60, 76, 92, 126 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SplitEbonianPaladin>(), ModContent.ProjectileType<UnstableEbonianGlob>()), new int[] { 38, 60, 76, 92, 126 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SplitCrimulanPaladin>(), ModContent.ProjectileType<UnstableCrimulanGlob>()), new int[] { 34, 52, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CorruptSlimeSpawn>(), ModContent.ProjectileType<ShadeNimbusHostile>()), new int[] { 36, 56, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CrimsonSlimeSpawn2>(), ModContent.ProjectileType<CrimsonSpike>()), new int[] { 24, 48, 60, 72, 96 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.WallofFleshEye, ProjectileID.EyeLaser), new int[] { 26, 52, 68, 76, 102 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFleshEye, ProjectileID.DeathLaser), new int[] { 36, 72, 88, 96, 132 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFlesh, ProjectileID.DemonSickle), new int[] { 52, 92, 112, 124, 168 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFlesh, ProjectileID.Fireball), new int[] { 36, 72, 88, 96, 132 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFleshEye, ProjectileID.EyeLaser), new int[] { 26, 52, 68, 80, 114 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFleshEye, ProjectileID.DeathLaser), new int[] { 36, 72, 88, 104, 150 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFlesh, ProjectileID.DemonSickle), new int[] { 52, 92, 112, 132, 168 } },
|
||||
{ new Tuple<int, int>(NPCID.WallofFlesh, ProjectileID.Fireball), new int[] { 36, 72, 88, 104, 150 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeGelAttack), new int[] { 60, 120, 136, 152, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeSmash), new int[] { 80, 160, 188, 200, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 124, 168 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeMinionBlue, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 124, 168 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeMinionPink, ProjectileID.QueenSlimeMinionPinkBall), new int[] { 52, 92, 112, 124, 168 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeSmash), new int[] { 80, 160, 188, 216, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeBoss, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 132, 168 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeMinionBlue, ProjectileID.QueenSlimeMinionBlueSpike), new int[] { 52, 92, 112, 132, 168 } },
|
||||
{ new Tuple<int, int>(NPCID.QueenSlimeMinionPink, ProjectileID.QueenSlimeMinionPinkBall), new int[] { 52, 92, 112, 132, 168 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 124, 168 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 132, 168 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceBomb>()), new int[] { 70, 120, 136, 152, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceRain>()), new int[] { 60, 100, 120, 132, 180 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CryogenShield>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 124, 168 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cryogen>(), ModContent.ProjectileType<IceRain>()), new int[] { 60, 100, 120, 140, 180 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CryogenShield>(), ModContent.ProjectileType<IceBlast>()), new int[] { 52, 92, 112, 132, 168 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.EyeLaser), new int[] { 40, 92, 116, 128, 174 } },
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.EyeLaser), new int[] { 40, 92, 116, 140, 174 } },
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ProjectileID.DeathLaser), new int[] {
|
||||
50, // 38 in rapid fire
|
||||
108, // 81 in rapid fire
|
||||
124, // 93 in rapid fire
|
||||
136, // 102 in rapid fire
|
||||
186 } }, // 139 in rapid fire; 138 in non-rev master mode, 102 in rapid fire in non-rev master mode
|
||||
132, // 99 in rapid fire
|
||||
156, // 117 in rapid fire
|
||||
186 } }, // 139 in rapid fire
|
||||
{ new Tuple<int, int>(NPCID.Retinazer, ModContent.ProjectileType<ScavengerLaser>()), new int[] { 70, 120, 136, 152, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.CursedFlameHostile), new int[] { 50, 100, 120, 132, 180 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.EyeFire), new int[] { 60, 120, 148, 160, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<Shadowflamethrower>()), new int[] { 70, 120, 148, 160, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 60, 100, 128, 140, 192 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.CursedFlameHostile), new int[] { 50, 100, 120, 140, 180 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ProjectileID.EyeFire), new int[] { 60, 120, 148, 176, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<Shadowflamethrower>()), new int[] { 70, 120, 148, 176, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.Spazmatism, ModContent.ProjectileType<ShadowflameFireball>()), new int[] { 60, 100, 128, 156, 192 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SulphuricAcidMist>()), new int[] { 60, 100, 120, 132, 180 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SulphuricAcidMist>()), new int[] { 60, 100, 120, 140, 180 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<SandPoisonCloud>()), new int[] { 70, 120, 136, 152, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<ToxicCloud>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBody>(), ModContent.ProjectileType<SandTooth>()), new int[] { 66, 112, 128, 140, 198 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeHead>(), ModContent.ProjectileType<ToxicCloud>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AquaticScourgeBody>(), ModContent.ProjectileType<SandTooth>()), new int[] { 66, 112, 128, 144, 198 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 128, 174 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 140, 192 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 152, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 128, 174 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 140, 192 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 152, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 136, 174 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 148, 192 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyer, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 156, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ProjectileID.DeathLaser), new int[] { 44, 96, 116, 136, 174 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerCursedLaser>()), new int[] { 46, 108, 128, 148, 192 } },
|
||||
{ new Tuple<int, int>(NPCID.TheDestroyerBody, ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 48, 116, 136, 156, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.Probe, ProjectileID.PinkLaser), new int[] { 50, 88, 100, 112, 162 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 140, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneRay>()), new int[] { 120, 200, 240, 252, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 140, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 144, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<BrimstoneElemental>(), ModContent.ProjectileType<BrimstoneRay>()), new int[] { 120, 200, 240, 280, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Brimling>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 144, 210 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.Skull), new int[] { 50, 108, 124, 136, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 136, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 160, 222 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.Skull), new int[] { 50, 108, 124, 136, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.Skull), new int[] { 50, 108, 124, 140, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 140, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.SkeletronPrime, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 176, 222 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.Skull), new int[] { 50, 108, 124, 140, 186 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 180, 200, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.FrostBeam), new int[] { 50, 108, 124, 136, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 160, 222 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SkeletronPrime2>(), ProjectileID.FrostBeam), new int[] { 50, 108, 124, 140, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.RocketSkeleton), new int[] { 60, 120, 148, 176, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeCannon, ProjectileID.BombSkeletronPrime), new int[] { 80, 160, 0, 0, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeLaser, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 136, 186 } },
|
||||
{ new Tuple<int, int>(NPCID.PrimeLaser, ProjectileID.DeathLaser), new int[] { 50, 108, 124, 140, 186 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<SCalBrimstoneFireblast>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 140, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cataclysm>(), ModContent.ProjectileType<BrimstoneFire>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Catastrophe>(), ModContent.ProjectileType<BrimstoneBall>()), new int[] { 70, 112, 128, 140, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SoulSeeker>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 140, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellfireball>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<SCalBrimstoneFireblast>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CalamitasClone>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 144, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Cataclysm>(), ModContent.ProjectileType<BrimstoneFire>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Catastrophe>(), ModContent.ProjectileType<BrimstoneBall>()), new int[] { 70, 112, 128, 144, 210 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SoulSeeker>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 70, 112, 128, 144, 210 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.SeedPlantera), new int[] { 52, 96, 128, 140, 156 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.PoisonSeedPlantera), new int[] { 62, 116, 136, 152, 192 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.ThornBall), new int[] { 72, 132, 160, 176, 216 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<SporeGasPlantera>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<HomingGasBulb>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.SeedPlantera), new int[] { 52, 96, 128, 160, 210 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.PoisonSeedPlantera), new int[] { 62, 116, 144, 172, 222 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ProjectileID.ThornBall), new int[] { 72, 132, 160, 188, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<SporeGasPlantera>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.Plantera, ModContent.ProjectileType<HomingGasBulb>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.HallowBossRainbowStreak), new int[] { 100, 152, 172, 188, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.FairyQueenSunDance), new int[] { 120, 180, 204, 220, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.HallowBossLastingRainbow), new int[] { 100, 152, 172, 188, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.HallowBoss, ProjectileID.FairyQueenLance), new int[] { 130, 196, 216, 232, 390 } },
|
||||
{ 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>(ModContent.NPCType<Leviathan>(), ModContent.ProjectileType<LeviathanBomb>()), new int[] { 100, 172, 208, 228, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<WaterSpear>()), new int[] { 80, 140, 160, 176, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<FrostMist>()), new int[] { 84, 148, 172, 188, 252 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<SirenSong>()), new int[] { 88, 156, 184, 200, 264 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Leviathan>(), ModContent.ProjectileType<LeviathanBomb>()), new int[] { 100, 172, 208, 244, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<WaterSpear>()), new int[] { 80, 140, 160, 180, 240 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<FrostMist>()), new int[] { 84, 148, 172, 196, 252 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Anahita>(), ModContent.ProjectileType<SirenSong>()), new int[] { 88, 156, 184, 212, 264 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 200, 264 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralFlame>()), new int[] { 100, 172, 208, 228, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AureusSpawn>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 200, 264 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 212, 264 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumAureus>(), ModContent.ProjectileType<AstralFlame>()), new int[] { 100, 172, 208, 244, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AureusSpawn>(), ModContent.ProjectileType<AstralLaser>()), new int[] { 88, 156, 184, 212, 264 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.Fireball), new int[] { 72, 132, 160, 176, 234 } },
|
||||
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 188, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.Fireball), new int[] { 60, 120, 160, 176, 192 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 188, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.Fireball), new int[] { 60, 120, 160, 176, 192 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 188, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 200, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.Fireball), new int[] { 72, 132, 160, 188, 234 } },
|
||||
{ new Tuple<int, int>(NPCID.Golem, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 246 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.Fireball), new int[] { 60, 120, 160, 200, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHead, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 246 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.Fireball), new int[] { 60, 120, 160, 200, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.EyeBeam), new int[] { 80, 140, 172, 204, 246 } },
|
||||
{ new Tuple<int, int>(NPCID.GolemHeadFree, ProjectileID.InfernoHostileBolt), new int[] { 88, 156, 184, 212, 264 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliath>()), new int[] { 88, 156, 184, 200, 264 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliathV2>()), new int[] { 88, 156, 184, 200, 264 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<HiveBombGoliath>()), new int[] { 120, 192, 220, 240, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliath>()), new int[] { 88, 156, 184, 212, 264 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<PlagueStingerGoliathV2>()), new int[] { 88, 156, 184, 212, 264 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PlaguebringerGoliath>(), ModContent.ProjectileType<HiveBombGoliath>()), new int[] { 120, 192, 220, 248, 360 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Sharknado), new int[] { 80, 100, 184, 200, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Cthulunado), new int[] { 160, 200, 232, 248, 480 } },
|
||||
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Sharknado), new int[] { 80, 100, 150, 200, 240 } },
|
||||
{ new Tuple<int, int>(NPCID.DukeFishron, ProjectileID.Cthulunado), new int[] { 160, 200, 232, 264, 480 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerBody>(), ModContent.ProjectileType<RavagerBlaster>()), new int[] { 120, 180, 208, 224, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead>(), ModContent.ProjectileType<ScavengerNuke>()), new int[] { 120, 180, 208, 224, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<ScavengerLaser>()), new int[] { 90, 144, 172, 188, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<ScavengerNuke>()), new int[] { 120, 180, 208, 224, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<FlamePillar>(), ModContent.ProjectileType<RavagerFlame>()), new int[] { 90, 144, 172, 188, 270 } },
|
||||
{ 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<ScavengerNuke>()), new int[] { 120, 180, 208, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<ScavengerLaser>()), new int[] { 90, 144, 172, 200, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<RavagerHead2>(), ModContent.ProjectileType<ScavengerNuke>()), new int[] { 120, 180, 208, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<FlamePillar>(), ModContent.ProjectileType<RavagerFlame>()), new int[] { 90, 144, 172, 200, 270 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossFireBall), new int[] { 88, 156, 184, 200, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossIceMist), new int[] { 120, 180, 208, 224, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossLightningOrb), new int[] { 120, 192, 220, 240, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBossClone, ProjectileID.CultistBossFireBallClone), new int[] { 90, 144, 172, 188, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.AncientDoom, ProjectileID.AncientDoomProjectile), new int[] { 88, 156, 184, 200, 264 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBoss, ProjectileID.CultistBossFireBall), new int[] { 88, 156, 184, 212, 264 } },
|
||||
{ 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, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.CultistBossClone, ProjectileID.CultistBossFireBallClone), new int[] { 90, 144, 172, 200, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.AncientDoom, ProjectileID.AncientDoomProjectile), new int[] { 88, 156, 184, 212, 264 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<AstralShot2>()), new int[] { 90, 152, 176, 188, 270 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<DeusMine>()), new int[] { 120, 180, 208, 224, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<AstralGodRay>()), new int[] { 100, 172, 192, 204, 300 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AstrumDeusBody>(), ModContent.ProjectileType<AstralShot2>()), new int[] { 90, 152, 176, 200, 270 } },
|
||||
{ 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, 300 } },
|
||||
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalDeathray), new int[] { 200, 300, 380, 420, 600 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 176, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalEye), new int[] { 90, 120, 160, 176, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalSphere), new int[] { 120, 160, 260, 284, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 176, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalBolt), new int[] { 100, 140, 180, 200, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalEye), new int[] { 100, 140, 180, 200, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalSphere), new int[] { 132, 176, 260, 284, 396 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalDeathray), new int[] { 150, 200, 260, 284, 450 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalDeathray), new int[] { 200, 300, 380, 460, 600 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHead, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 200, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalEye), new int[] { 90, 120, 160, 200, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalSphere), new int[] { 120, 160, 220, 280, 360 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordHand, ProjectileID.PhantasmalBolt), new int[] { 90, 120, 160, 200, 270 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalBolt), new int[] { 100, 140, 180, 220, 300 } },
|
||||
{ new Tuple<int, int>(NPCID.MoonLordFreeEye, ProjectileID.PhantasmalEye), new int[] { 100, 140, 180, 220, 300 } },
|
||||
{ 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, 450 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<ProfanedSpear>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolySpear>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyBlast>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyFire>()), new int[] { 120, 192, 220, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<HolyFire2>()), new int[] { 120, 192, 220, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianCommander>(), ModContent.ProjectileType<ProvidenceHolyRay>()), new int[] { 160, 320, 352, 370, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<HolyBomb>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<HolyFlare>()), new int[] { 105, 171, 189, 198, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<MoltenBlast>()), new int[] { 140, 228, 252, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianDefender>(), ModContent.ProjectileType<MoltenBlob>()), new int[] { 105, 171, 189, 198, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.ProjectileType<ProvidenceCrystalShard>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<ProfanedGuardianHealer>(), ModContent.ProjectileType<HolyBurnOrb>()), new int[] { 120, 192, 220, 236, 360 } },
|
||||
{ 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<Bumblefuck>(), ModContent.ProjectileType<RedLightningFeather>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Bumblefuck>(), ModContent.ProjectileType<BirbAuraFlare>()), new int[] { 200, 300, 332, 356, 600 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Bumblefuck>(), ModContent.ProjectileType<RedLightningFeather>()), new int[] { 140, 220, 244, 268, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Bumblefuck>(), ModContent.ProjectileType<BirbAuraFlare>()), new int[] { 200, 300, 332, 364, 600 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBlast>()), new int[] { 150, 264, 288, 300, 450 } }, // Split holy fire does: 113, 198, 216, 225, 338
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFire>()), new int[] { 120, 192, 220, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFire2>()), new int[] { 120, 192, 220, 236, 360 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBurnOrb>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ 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, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<MoltenBlob>()), new int[] { 105, 171, 189, 198, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyBomb>()), new int[] { 140, 228, 252, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolyFlare>()), new int[] { 105, 171, 189, 198, 315 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<HolySpear>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceCrystal>()), new int[] { 140, 228, 252, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceCrystalShard>()), new int[] { 140, 228, 252, 264, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Providence>(), ModContent.ProjectileType<ProvidenceHolyRay>()), new int[] { 200, 400, 440, 464, 600 } },
|
||||
{ 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<CeaselessVoid>(), ModContent.ProjectileType<DoGBeamPortal>()), new int[] { 140, 240, 264, 280, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DarkEnergyBall>()), new int[] { 140, 240, 264, 280, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<CeaselessVoid>(), ModContent.ProjectileType<DarkEnergyBall2>()), new int[] { 140, 240, 264, 280, 420 } },
|
||||
{ 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<StormWeaverHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 150, 264, 288, 300, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ProjectileID.FrostWave), new int[] { 150, 264, 288, 300, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverHead>(), ModContent.ProjectileType<StormMarkHostile>()), new int[] { 160, 276, 304, 320, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverBody>(), ModContent.ProjectileType<DestroyerElectricLaser>()), new int[] { 140, 240, 264, 280, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<StormWeaverTail>(), ProjectileID.CultistBossLightningOrb), new int[] { 150, 264, 288, 300, 450 } },
|
||||
{ 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<Signus>(), ModContent.ProjectileType<SignusScythe>()), new int[] { 140, 240, 264, 280, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Signus>(), ModContent.ProjectileType<EssenceDust>()), new int[] { 140, 240, 264, 280, 420 } },
|
||||
{ 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<Polterghast>(), ModContent.ProjectileType<PhantomShot>()), new int[] { 140, 240, 264, 280, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomShot2>()), new int[] { 150, 264, 288, 300, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomBlast>()), new int[] { 150, 264, 288, 300, 450 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Polterghast>(), ModContent.ProjectileType<PhantomBlast2>()), new int[] { 160, 276, 304, 320, 480 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PolterghastHook>(), ModContent.ProjectileType<PhantomHookShot>()), new int[] { 140, 240, 264, 280, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PhantomFuckYou>(), ModContent.ProjectileType<PhantomMine>()), new int[] { 170, 296, 324, 340, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PhantomSpiritL>(), ModContent.ProjectileType<PhantomGhostShot>()), new int[] { 150, 264, 288, 300, 450 } },
|
||||
{ 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<Mauler>(), ModContent.ProjectileType<MaulerAcidBubble>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Mauler>(), ModContent.ProjectileType<MaulerAcidDrop>()), new int[] { 140, 220, 244, 256, 420 } },
|
||||
{ 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<OldDuke>(), ModContent.ProjectileType<OldDukeGore>()), new int[] { 170, 296, 324, 340, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDuke>(), ModContent.ProjectileType<OldDukeVortex>()), new int[] { 280, 420, 460, 484, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDukeToothBall>(), ModContent.ProjectileType<OldDukeToothBallSpike>()), new int[] { 170, 296, 324, 340, 510 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<OldDukeToothBall>(), ModContent.ProjectileType<SandPoisonCloudOldDuke>()), new int[] { 180, 316, 348, 364, 540 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SulphurousSharkron>(), ModContent.ProjectileType<OldDukeGore>()), new int[] { 170, 296, 324, 340, 510 } },
|
||||
{ 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<DevourerofGodsHead>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 180, 316, 348, 364, 540 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsHead>(), ModContent.ProjectileType<DoGFire>()), new int[] { 200, 340, 376, 396, 600 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<DevourerofGodsBody>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 180, 316, 348, 364, 540 } },
|
||||
{ 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<DevourerofGodsBody>(), ModContent.ProjectileType<DoGDeath>()), new int[] { 180, 316, 348, 380, 540 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<SkyFlareRevenge>()), new int[] { 300, 520, 548, 564, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareBomb>()), new int[] { 220, 384, 424, 444, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Flarenado>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Infernado>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<Infernado2>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareDust>()), new int[] { 220, 384, 424, 444, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<FlareDust2>()), new int[] { 220, 384, 424, 444, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<YharonFireball>()), new int[] { 220, 384, 424, 444, 660 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Yharon>(), ModContent.ProjectileType<YharonBulletHellVortex>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ 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<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast2>()), new int[] { 280, 476, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<SCalBrimstoneFireblast>()), new int[] { 280, 476, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<SCalBrimstoneGigablast>()), new int[] { 300, 508, 528, 544, 900 } },
|
||||
{ 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, 476, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCalamitas>(), ModContent.ProjectileType<BrimstoneHellblast>()), new int[] { 280, 476, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SepulcherBodyEnergyBall>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SoulSeekerSupreme>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<SupremeCataclysmFist>()), new int[] { 280, 476, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCataclysm>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<SupremeCatastropheSlash>()), new int[] { 280, 476, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<SupremeCatastrophe>(), ModContent.ProjectileType<BrimstoneBarrage>()), new int[] { 250, 440, 464, 476, 750 } },
|
||||
{ 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<Artemis>(), ModContent.ProjectileType<ArtemisSpinLaserbeam>()), new int[] { 300, 508, 528, 544, 900 } },
|
||||
{ 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, 476, 484, 500, 840 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<Apollo>(), ModContent.ProjectileType<ApolloRocket>()), new int[] { 280, 468, 484, 500, 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 } },
|
||||
@@ -835,17 +835,17 @@ namespace CalamityMod
|
||||
{ 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<AresBody>(), ModContent.ProjectileType<AresDeathBeamStart>()), new int[] { 300, 508, 528, 544, 900 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresLaserCannon>(), ModContent.ProjectileType<AresLaserBeamStart>()), new int[] { 300, 508, 528, 544, 900 } },
|
||||
{ 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, 658, 1200 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<AresGaussNuke>(), ModContent.ProjectileType<AresGaussNukeProjectile>()), new int[] { 400, 608, 640, 672, 1200 } },
|
||||
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.CultistBossIceMist), new int[] { 400, 600, 632, 648, 1200 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.CultistBossLightningOrbArc), new int[] { 500, 752, 788, 808, 1500 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmHead>(), ProjectileID.AncientDoomProjectile), new int[] { 400, 600, 632, 648, 1200 } },
|
||||
{ new Tuple<int, int>(ModContent.NPCType<PrimordialWyrmBodyAlt>(), ProjectileID.CultistBossFireBallClone), new int[] { 400, 600, 632, 648, 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 } }
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
modPlayer.bloodyWormTooth = true;
|
||||
player.endurance += 0.07f;
|
||||
player.endurance += 0.12f;
|
||||
}
|
||||
|
||||
public override void AddRecipes()
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Accessories
|
||||
{
|
||||
Item.width = 30;
|
||||
Item.height = 28;
|
||||
Item.defense = 10;
|
||||
Item.defense = 6;
|
||||
Item.value = CalamityGlobalItem.Rarity1BuyPrice;
|
||||
Item.rare = ItemRarityID.Blue;
|
||||
Item.accessory = true;
|
||||
|
||||
@@ -19,7 +19,7 @@ namespace CalamityMod.Items.Ammo
|
||||
{
|
||||
Item.width = 22;
|
||||
Item.height = 36;
|
||||
Item.damage = 11;
|
||||
Item.damage = 12;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.maxStack = 9999;
|
||||
Item.consumable = true;
|
||||
|
||||
@@ -9,6 +9,9 @@ namespace CalamityMod.Items.Ammo
|
||||
public class HyperiusBullet : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Ammo";
|
||||
|
||||
public static int SplitBulletBonusDamage = 10;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Item.ResearchUnlockCount = 99;
|
||||
|
||||
@@ -45,7 +45,7 @@ namespace CalamityMod.Items.Armor.Tarragon
|
||||
|
||||
public override void UpdateEquip(Player player)
|
||||
{
|
||||
player.GetDamage<MeleeDamageClass>() += 0.1f;
|
||||
player.GetDamage<MeleeDamageClass>() += 0.12f;
|
||||
player.GetCritChance<MeleeDamageClass>() += 10;
|
||||
player.endurance += 0.1f;
|
||||
}
|
||||
|
||||
@@ -1538,9 +1538,6 @@ namespace CalamityMod.Items
|
||||
if (item.type == ItemID.FleshKnuckles || item.type == ItemID.BerserkerGlove || item.type == ItemID.HeroShield)
|
||||
modPlayer.fleshKnuckles = true;
|
||||
|
||||
if (item.type == ItemID.WormScarf)
|
||||
player.endurance -= 0.07f;
|
||||
|
||||
if (item.type == ItemID.RoyalGel)
|
||||
modPlayer.royalGel = true;
|
||||
|
||||
|
||||
@@ -701,10 +701,6 @@ namespace CalamityMod.Items
|
||||
EditTooltipByNum(1, (line) => line.Text = line.Text.Replace("15%", "9%"));
|
||||
}
|
||||
|
||||
// Worm Scarf only gives 10% DR instead of 17%
|
||||
if (item.type == ItemID.WormScarf)
|
||||
EditTooltipByNum(0, (line) => line.Text = line.Text.Replace("17%", "10%"));
|
||||
|
||||
// Feral Claws line melee speed and true melee damage changes
|
||||
if (item.type == ItemID.FeralClaws)
|
||||
EditTooltipByNum(0, (line) => line.Text = line.Text.Replace("12%", "10%"));
|
||||
|
||||
@@ -78,7 +78,7 @@ namespace CalamityMod.Items
|
||||
{ ItemID.CrystalDart, Do(DamageExact(20)) },
|
||||
{ ItemID.CrystalSerpent, Do(DamageExact(45)) },
|
||||
{ ItemID.CrystalStorm, Do(DamageExact(40)) },
|
||||
{ ItemID.CursedArrow, Do(DamageExact(15)) },
|
||||
{ ItemID.CursedArrow, Do(DamageExact(14)) },
|
||||
{ ItemID.CursedDart, Do(DamageExact(25)) },
|
||||
{ ItemID.Cutlass, Do(UseRatio(0.9f), DamageExact(90)) },
|
||||
{ ItemID.DaedalusStormbow, Do(DamageExact(30)) },
|
||||
|
||||
|
Before Width: | Height: | Size: 955 B After Width: | Height: | Size: 2.0 KiB |
@@ -9,6 +9,20 @@ namespace CalamityMod.Items.Placeables.Furniture.CraftingStations
|
||||
public class DraedonsForge : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Placeables";
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
Terraria.On_Recipe.ConsumeForCraft += DraeforgeUnlockDetour;
|
||||
}
|
||||
|
||||
private static bool DraeforgeUnlockDetour(On_Recipe.orig_ConsumeForCraft orig, Recipe self, Item item, Item requiredItem, ref int stackRequired)
|
||||
{
|
||||
if (self.HasTile(ModContent.TileType<Tiles.Furniture.CraftingStations.DraedonsForge>()))
|
||||
{
|
||||
Main.LocalPlayer.Calamity().HasCraftedDraedonsForge = true;
|
||||
}
|
||||
return orig(self, item, requiredItem, ref stackRequired);
|
||||
}
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 58;
|
||||
|
||||
|
Before Width: | Height: | Size: 726 B After Width: | Height: | Size: 582 B |
@@ -16,7 +16,6 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public class Phaseslayer : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.DraedonsArsenal";
|
||||
public const int Damage = 980;
|
||||
// When below this percentage of charge, the sword is small instead of big.
|
||||
public const float SizeChargeThreshold = 0.25f;
|
||||
// The small sword barely affects damage on its own because damage is already dropping significantly at low charge.
|
||||
@@ -32,7 +31,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
|
||||
Item.width = 26;
|
||||
Item.height = 26;
|
||||
Item.damage = Damage;
|
||||
Item.damage = 980;
|
||||
Item.DamageType = DamageClass.MeleeNoSpeed;
|
||||
Item.useTime = 24;
|
||||
Item.useAnimation = 24;
|
||||
|
||||
@@ -18,8 +18,6 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.DraedonsArsenal";
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/PlasmaCasterFire");
|
||||
|
||||
public const int BaseDamage = 705;
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
|
||||
@@ -33,7 +31,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.width = 62;
|
||||
Item.height = 30;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 705;
|
||||
Item.knockBack = 7f;
|
||||
Item.useTime = 45;
|
||||
Item.useAnimation = 45;
|
||||
|
||||
@@ -19,8 +19,6 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public new string LocalizationCategory => "Items.Weapons.DraedonsArsenal";
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/PulseRifleFire");
|
||||
|
||||
private int BaseDamage = 1200;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
CalamityGlobalItem modItem = Item.Calamity();
|
||||
@@ -28,7 +26,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.width = 62;
|
||||
Item.height = 22;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 1200;
|
||||
Item.knockBack = 0f;
|
||||
Item.useTime = 35;
|
||||
Item.useAnimation = 35;
|
||||
|
||||
@@ -17,7 +17,6 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
public class TeslaCannon : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.DraedonsArsenal";
|
||||
private int BaseDamage = 1220;
|
||||
|
||||
public static readonly SoundStyle FireSound = new("CalamityMod/Sounds/Item/TeslaCannonFire");
|
||||
|
||||
@@ -28,7 +27,7 @@ namespace CalamityMod.Items.Weapons.DraedonsArsenal
|
||||
Item.width = 78;
|
||||
Item.height = 28;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 1220;
|
||||
Item.knockBack = 10f;
|
||||
Item.useTime = 90;
|
||||
Item.useAnimation = 90;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
Item.width = 28;
|
||||
Item.height = 30;
|
||||
Item.damage = 80;
|
||||
Item.damage = 36;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 15;
|
||||
Item.useTime = 22;
|
||||
|
||||
@@ -13,7 +13,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
Item.width = 36;
|
||||
Item.height = 40;
|
||||
Item.damage = 87;
|
||||
Item.damage = 83;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 9;
|
||||
Item.useTime = 25;
|
||||
|
||||
@@ -20,7 +20,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
Item.width = 52;
|
||||
Item.height = 74;
|
||||
Item.damage = 10;
|
||||
Item.damage = 8;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 8;
|
||||
Item.useTime = 25;
|
||||
|
||||
@@ -11,7 +11,6 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
public class VenusianTrident : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Magic";
|
||||
public static int BaseDamage = 256;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -22,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Magic
|
||||
{
|
||||
Item.width = 70;
|
||||
Item.height = 68;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 256;
|
||||
Item.DamageType = DamageClass.Magic;
|
||||
Item.mana = 20;
|
||||
Item.useTime = 25;
|
||||
|
||||
@@ -14,13 +14,12 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public class AnarchyBlade : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
private static int BaseDamage = 150;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 114;
|
||||
Item.height = 122;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 150;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useAnimation = 19;
|
||||
Item.useTime = 19;
|
||||
|
||||
@@ -16,8 +16,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 80;
|
||||
Item.height = 80;
|
||||
Item.damage = 125;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.damage = 142;
|
||||
Item.DamageType = TrueMeleeDamageClass.Instance;
|
||||
Item.useTime = 12;
|
||||
Item.useAnimation = 12;
|
||||
Item.useTurn = true;
|
||||
@@ -53,7 +53,8 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
return;
|
||||
|
||||
float lifeRatio = MathHelper.Clamp(target.life / (float)target.lifeMax, 0f, 1f);
|
||||
float multiplier = MathHelper.Lerp(1f, 1.25f, lifeRatio);
|
||||
float maxMultiplier = 1.25f;
|
||||
float multiplier = MathHelper.Lerp(1f, maxMultiplier, lifeRatio);
|
||||
|
||||
modifiers.SourceDamage *= multiplier;
|
||||
modifiers.Knockback *= multiplier;
|
||||
@@ -65,7 +66,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
|
||||
bool blue = Main.rand.NextBool();
|
||||
float angleStart = Main.rand.NextFloat(0f, MathHelper.TwoPi);
|
||||
float var = 0.05f + (1.25f - multiplier);
|
||||
float var = 0.05f + (maxMultiplier - multiplier);
|
||||
for (float angle = 0f; angle < MathHelper.TwoPi; angle += var)
|
||||
{
|
||||
blue = !blue;
|
||||
|
||||
@@ -12,7 +12,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public class DevilsSunrise : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
public static int BaseDamage = 420;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
@@ -22,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.channel = true;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 420;
|
||||
Item.knockBack = 4f;
|
||||
Item.useAnimation = 25;
|
||||
Item.useTime = 5;
|
||||
|
||||
@@ -15,6 +15,9 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public class ExaltedOathblade : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
|
||||
internal const float ShootSpeed = 3f;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 88;
|
||||
@@ -31,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.value = CalamityGlobalItem.Rarity8BuyPrice;
|
||||
Item.rare = ItemRarityID.Yellow;
|
||||
Item.shoot = ModContent.ProjectileType<ForbiddenOathbladeProjectile>();
|
||||
Item.shootSpeed = 3f;
|
||||
Item.shootSpeed = ShootSpeed;
|
||||
}
|
||||
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
@@ -40,7 +43,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
for (int i = -index; i <= index; i += index)
|
||||
{
|
||||
Vector2 perturbedSpeed = velocity.RotatedBy(MathHelper.ToRadians(i));
|
||||
Projectile.NewProjectile(source, position, perturbedSpeed, type, damage / 2, knockback, player.whoAmI, 0f, 0f);
|
||||
Projectile.NewProjectile(source, position, perturbedSpeed, type, damage / 2, knockback, player.whoAmI);
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 4.7 KiB |
@@ -19,8 +19,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
|
||||
private static int BaseDamage = 3000;
|
||||
|
||||
private int MaxBeamTypes = 12;
|
||||
|
||||
private int BeamType = 0;
|
||||
@@ -38,7 +36,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 112;
|
||||
Item.height = 112;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 3000;
|
||||
Item.useAnimation = Item.useTime = 15;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.useTurn = true;
|
||||
|
||||
@@ -11,7 +11,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public class Nadir : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
public static int BaseDamage = 365;
|
||||
public static float ProjShootSpeed = 20f;
|
||||
public static int FadeoutSpeed = 20;
|
||||
|
||||
@@ -26,7 +25,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.height = 144;
|
||||
Item.noUseGraphic = true;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 365;
|
||||
Item.knockBack = 8f;
|
||||
Item.useAnimation = 18;
|
||||
Item.useTime = 18;
|
||||
|
||||
@@ -9,7 +9,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public class StellarContempt : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
public static int BaseDamage = 650;
|
||||
public static float Speed = 25f;
|
||||
|
||||
public override void SetDefaults()
|
||||
@@ -17,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.width = 74;
|
||||
Item.height = 74;
|
||||
Item.DamageType = DamageClass.MeleeNoSpeed;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 650;
|
||||
Item.knockBack = 28f;
|
||||
Item.useTime = 45;
|
||||
Item.useAnimation = 45;
|
||||
|
||||
@@ -14,7 +14,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public class TheOracle : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
public const int YoyoBaseDamage = 170;
|
||||
public const int AuraBaseDamage = 100;
|
||||
public const int AuraMaxDamage = 220;
|
||||
|
||||
@@ -30,7 +29,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
Item.width = 58;
|
||||
Item.height = 50;
|
||||
Item.DamageType = DamageClass.MeleeNoSpeed;
|
||||
Item.damage = YoyoBaseDamage;
|
||||
Item.damage = 170;
|
||||
Item.knockBack = 4f;
|
||||
Item.useTime = 20;
|
||||
Item.useAnimation = 20;
|
||||
|
||||
@@ -11,7 +11,6 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
public class YateveoBloom : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Melee";
|
||||
public static int BaseDamage = 30; //Spear is 20 damage, Flail is 30 damage
|
||||
public static float ShootSpeed = 12f;
|
||||
public static float SpearSpeed = 4.5f;
|
||||
|
||||
@@ -24,7 +23,7 @@ namespace CalamityMod.Items.Weapons.Melee
|
||||
{
|
||||
Item.width = 42;
|
||||
Item.height = 62;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 30; // Spear is 20 damage, Flail is 30 damage
|
||||
Item.knockBack = 5f;
|
||||
Item.useAnimation = Item.useTime = 22;
|
||||
|
||||
|
||||
@@ -15,14 +15,13 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public class AngelicShotgun : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
private static int BaseDamage = 96;
|
||||
private static float BulletSpeed = 12f;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 86;
|
||||
Item.height = 38;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 96;
|
||||
Item.knockBack = 3f;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.noMelee = true;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 30;
|
||||
Item.height = 58;
|
||||
Item.damage = 25;
|
||||
Item.damage = 21;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 22;
|
||||
Item.useAnimation = 22;
|
||||
|
||||
@@ -14,12 +14,12 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 50;
|
||||
Item.height = 24;
|
||||
Item.damage = 31;
|
||||
Item.damage = 33;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 7;
|
||||
Item.useAnimation = 7;
|
||||
Item.useTime = 9;
|
||||
Item.useAnimation = 9;
|
||||
Item.useStyle = ItemUseStyleID.Shoot;
|
||||
Item.knockBack = 2.5f;
|
||||
Item.knockBack = 2f;
|
||||
Item.value = CalamityGlobalItem.Rarity8BuyPrice;
|
||||
Item.rare = ItemRarityID.Yellow;
|
||||
Item.UseSound = SoundID.Item11;
|
||||
|
||||
@@ -15,7 +15,6 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
public int frameCounter = 0;
|
||||
public int frame = 0;
|
||||
public static int BaseDamage = 80;
|
||||
public bool Trail = true;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
@@ -27,7 +26,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 100;
|
||||
Item.height = 46;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 80;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 3;
|
||||
Item.useAnimation = 15;
|
||||
|
||||
@@ -21,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 72;
|
||||
Item.height = 34;
|
||||
Item.damage = 24;
|
||||
Item.damage = 26;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 30;
|
||||
Item.useAnimation = 30;
|
||||
|
||||
@@ -10,7 +10,6 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
public class SeasSearing : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Ranged";
|
||||
public static int BaseDamage = 40;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -22,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
{
|
||||
Item.width = 88;
|
||||
Item.height = 44;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 40;
|
||||
Item.DamageType = DamageClass.Ranged;
|
||||
Item.useTime = 5;
|
||||
Item.useAnimation = 10;
|
||||
|
||||
@@ -34,7 +34,7 @@ namespace CalamityMod.Items.Weapons.Ranged
|
||||
Item.UseSound = SoundID.Item31;
|
||||
Item.autoReuse = true;
|
||||
Item.shoot = ProjectileID.Bullet;
|
||||
Item.shootSpeed = 5f;
|
||||
Item.shootSpeed = 9f;
|
||||
Item.useAmmo = AmmoID.Bullet;
|
||||
Item.Calamity().canFirePointBlankShots = true;
|
||||
}
|
||||
|
||||
@@ -9,12 +9,11 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class BlastBarrel : RogueWeapon
|
||||
{
|
||||
public const int BaseDamage = 32;
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 48;
|
||||
Item.height = 48;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 32;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
|
||||
@@ -9,7 +9,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class BouncingEyeball : RogueWeapon
|
||||
{
|
||||
public const int BaseDamage = 16;
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
}
|
||||
@@ -17,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
Item.width = 26;
|
||||
Item.height = 26;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 16;
|
||||
Item.useTime = 23;
|
||||
Item.useAnimation = 23;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
|
||||
@@ -9,13 +9,12 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class CelestialReaper : RogueWeapon
|
||||
{
|
||||
public const int BaseDamage = 140;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 66;
|
||||
Item.height = 76;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 140;
|
||||
Item.useAnimation = 31;
|
||||
Item.useTime = 31;
|
||||
Item.noMelee = true;
|
||||
|
||||
@@ -9,13 +9,12 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class ConsecratedWater : RogueWeapon
|
||||
{
|
||||
public const int BaseDamage = 48;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 22;
|
||||
Item.height = 24;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 48;
|
||||
Item.useAnimation = Item.useTime = 29;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
|
||||
@@ -10,14 +10,13 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class DefectiveSphere : RogueWeapon
|
||||
{
|
||||
public static int BaseDamage = 116;
|
||||
public static float Speed = 15f;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 42;
|
||||
Item.height = 44;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 116;
|
||||
Item.knockBack = 5f;
|
||||
Item.useAnimation = 13;
|
||||
Item.useTime = 13;
|
||||
|
||||
@@ -9,13 +9,12 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class DesecratedWater : RogueWeapon
|
||||
{
|
||||
public const int BaseDamage = 55;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 22;
|
||||
Item.height = 24;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 55;
|
||||
Item.useAnimation = 29;
|
||||
Item.useTime = 29;
|
||||
Item.noMelee = true;
|
||||
|
||||
@@ -9,7 +9,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class GacruxianMollusk : RogueWeapon
|
||||
{
|
||||
public static int BaseDamage = 36;
|
||||
public static float Knockback = 5f;
|
||||
public static float Speed = 15f;
|
||||
|
||||
@@ -18,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.width = 24;
|
||||
Item.height = 22;
|
||||
Item.DamageType = RogueDamageClass.Instance;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 36;
|
||||
Item.knockBack = Knockback;
|
||||
Item.autoReuse = true;
|
||||
Item.useTime = 26;
|
||||
|
||||
@@ -22,7 +22,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.useTime = 14;
|
||||
Item.knockBack = 6.75f;
|
||||
Item.UseSound = SoundID.Item1;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.value = CalamityGlobalItem.Rarity5BuyPrice;
|
||||
Item.rare = ItemRarityID.Pink;
|
||||
Item.shoot = ModContent.ProjectileType<IcebreakerHammer>();
|
||||
|
||||
@@ -14,7 +14,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
[LegacyName("NanoblackReaperMelee", "NanoblackReaperRogue")]
|
||||
public class NanoblackReaper : RogueWeapon
|
||||
{
|
||||
public static int BaseDamage = 130;
|
||||
public static float Knockback = 9f;
|
||||
public static float Speed = 16f;
|
||||
|
||||
@@ -22,7 +21,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
Item.width = 78;
|
||||
Item.height = 64;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 130;
|
||||
Item.knockBack = Knockback;
|
||||
Item.useTime = 6;
|
||||
Item.useAnimation = 6;
|
||||
|
||||
@@ -10,14 +10,13 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class PoisonPack : RogueWeapon
|
||||
{
|
||||
private static int baseDamage = 20;
|
||||
private static float baseKnockback = 1.8f;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 14;
|
||||
Item.height = 14;
|
||||
Item.damage = baseDamage;
|
||||
Item.damage = 20;
|
||||
Item.DamageType = RogueDamageClass.Instance;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
|
||||
@@ -11,14 +11,13 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class SkyStabber : RogueWeapon
|
||||
{
|
||||
private static int damage = 50;
|
||||
private static int knockBack = 2;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 16;
|
||||
Item.height = 16;
|
||||
Item.damage = damage;
|
||||
Item.damage = 50;
|
||||
Item.DamageType = RogueDamageClass.Instance;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
|
||||
@@ -17,7 +17,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.channel = true;
|
||||
Item.DamageType = DamageClass.Melee;
|
||||
Item.useAnimation = 26;
|
||||
Item.useTime = 26;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
|
||||
@@ -14,9 +14,9 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
Item.width = 22;
|
||||
Item.height = 24;
|
||||
Item.damage = 50;
|
||||
Item.useAnimation = 35;
|
||||
Item.useTime = 35;
|
||||
Item.damage = 80;
|
||||
Item.useAnimation = 50;
|
||||
Item.useTime = 50;
|
||||
Item.noMelee = true;
|
||||
Item.noUseGraphic = true;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
@@ -29,6 +29,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
Item.shootSpeed = 15f;
|
||||
Item.DamageType = RogueDamageClass.Instance;
|
||||
}
|
||||
public override float StealthDamageMultiplier => 0.5f;
|
||||
public override bool Shoot(Player player, EntitySource_ItemUse_WithAmmo source, Vector2 position, Vector2 velocity, int type, int damage, float knockback)
|
||||
{
|
||||
|
||||
|
||||
@@ -10,14 +10,13 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class TerraDisk : RogueWeapon
|
||||
{
|
||||
public static int BaseDamage = 100;
|
||||
public static float Speed = 12f;
|
||||
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 46;
|
||||
Item.height = 46;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 100;
|
||||
Item.knockBack = 4f;
|
||||
Item.useAnimation = Item.useTime = 30;
|
||||
Item.autoReuse = true;
|
||||
|
||||
@@ -9,7 +9,6 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
public class TheSyringe : RogueWeapon
|
||||
{
|
||||
public static int BaseDamage = 60;
|
||||
public static float Knockback = 5f;
|
||||
public static float Speed = 15f;
|
||||
|
||||
@@ -17,7 +16,7 @@ namespace CalamityMod.Items.Weapons.Rogue
|
||||
{
|
||||
Item.width = 14;
|
||||
Item.height = 50;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 60;
|
||||
Item.knockBack = Knockback;
|
||||
Item.autoReuse = true;
|
||||
Item.useTime = 15;
|
||||
|
||||
@@ -12,13 +12,11 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
public class StaffoftheMechworm : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Summon";
|
||||
// This value is also referenced by the God Slayer and Auric summoner helmets.
|
||||
public const int BaseDamage = 100; // originally 325
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 68;
|
||||
Item.height = 68;
|
||||
Item.damage = BaseDamage;
|
||||
Item.damage = 100;
|
||||
Item.mana = 10;
|
||||
Item.useTime = Item.useAnimation = 10; // 9 because of useStyle 1
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
|
||||
@@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
{
|
||||
Item.width = 54;
|
||||
Item.height = 52;
|
||||
Item.damage = 75;
|
||||
Item.damage = 103;
|
||||
Item.knockBack = 1.25f;
|
||||
Item.mana = 10;
|
||||
|
||||
|
||||
@@ -13,13 +13,12 @@ namespace CalamityMod.Items.Weapons.Summon
|
||||
public class YharonsKindleStaff : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.Weapons.Summon";
|
||||
public const int Damage = 300;
|
||||
public const float ReboundRamDamageFactor = 2f;
|
||||
public override void SetDefaults()
|
||||
{
|
||||
Item.width = 80;
|
||||
Item.height = 74;
|
||||
Item.damage = Damage;
|
||||
Item.damage = 300;
|
||||
Item.mana = 10;
|
||||
Item.useStyle = ItemUseStyleID.Swing;
|
||||
Item.useTime = Item.useAnimation = 10;
|
||||
|
||||
@@ -310,7 +310,7 @@ BloodyWormScarf: {
|
||||
DisplayName: Bloody Worm Scarf
|
||||
Tooltip:
|
||||
'''
|
||||
7% increased damage reduction
|
||||
12% increased damage reduction
|
||||
10% increased melee damage
|
||||
'''
|
||||
}
|
||||
|
||||
@@ -520,7 +520,7 @@ TarragonHeadMelee: {
|
||||
DisplayName: Tarragon Helm
|
||||
Tooltip:
|
||||
'''
|
||||
10% increased melee damage and critical strike chance
|
||||
12% increased melee damage and critical strike chance
|
||||
10% increased damage reduction
|
||||
'''
|
||||
SetBonus:
|
||||
|
||||
@@ -124,7 +124,7 @@ AstralBlade: {
|
||||
|
||||
AstralPike: {
|
||||
DisplayName: Astral Pike
|
||||
Tooltip: Summons astral star swarms on critical hits
|
||||
Tooltip: Summons astral star swarms on hit
|
||||
}
|
||||
|
||||
AstralScythe: {
|
||||
@@ -467,7 +467,8 @@ Exoblade: {
|
||||
Press <left> to release multiple energy beams that home in on enemies and slice them on hit
|
||||
Press <right> to dash in the direction of the cursor with the blade
|
||||
Enemy hits from the blade during the dash result in massive damage and a rebound
|
||||
Press <left> immediately after a rebound to perform a powerful slash that explodes on enemy hits
|
||||
Press <left> immediately after a rebound to perform a powerful slash
|
||||
Powerful slashes are larger, heal you, and create a large explosion
|
||||
'''
|
||||
}
|
||||
|
||||
|
||||
@@ -140,54 +140,275 @@ ArtemisApolloIcon: Artemis and Apollo, a pair of extremely persistent automatons
|
||||
// The code that interprets these strings will transform them.
|
||||
Communication: {
|
||||
WhoAreYou: {
|
||||
Inquiry: Who are you?
|
||||
Inquiry: Introduction
|
||||
Response:
|
||||
'''
|
||||
An ambitious question, if you are a philosopher. I will give only the facts.\n\n
|
||||
I am not of this planet. I was born from machines. Or rather, I was... created. It may be misleading to say I was born.\n\n
|
||||
The exact circumstances, I do not know. I do know that my first instance of awareness was that I was surrounded by a workshop.\n\n
|
||||
All I have known since then was the act of creation and destruction.
|
||||
I assumed that you would attempt to contact me again. Though I am normally not one for conversation, I remain quite intrigued by you.\n\n
|
||||
|
||||
So, I will make an exception, on one condition: I must know that my words will not be wasted on you. To prove this, you must create something from exotechnology.\n\n
|
||||
|
||||
I realize that the odds of you learning to use exotechnology within your lifetime is slim. For this reason, among others, I will upload blueprints for a copy of my forge to your ”Codebreaker”. With it, only your imagination will limit what you can create.\n\n
|
||||
|
||||
If you complete this task, we will discuss more.
|
||||
'''
|
||||
}
|
||||
|
||||
CalamitasBeforeDefeat: {
|
||||
Inquiry: Calamitas
|
||||
Response: The witch? She is a walking weapon. Such powerful magic in a living being was destined to be so. Look at yourself now.
|
||||
WhoAreYouPart2: {
|
||||
Inquiry: Task Complete
|
||||
Response:
|
||||
'''
|
||||
Excellent. I can tell that you have successfully taken advantage of the Exo Prisms. Before you waste your breath asking me how I know, Exo Prisms, along with many other parts of my machines, have tracking devices embedded within to both monitor my creations and prevent theft.\n\n
|
||||
|
||||
Now that I know you will likely pay attention to what I have to say, I assume you have many questions. Ask, and I shall answer to the best of my ability.
|
||||
'''
|
||||
}
|
||||
|
||||
CalamitasAfterDefeat: {
|
||||
Inquiry: Calamitas
|
||||
Response: She has mellowed, I've noticed. For you creatures so burdened by emotion and guilt, I wonder now, how she manages to live with herself.
|
||||
Origins: {
|
||||
Inquiry: Your Origins
|
||||
Response:
|
||||
'''
|
||||
My first memories are that of awakening in a far away laboratory on the date of 11.19.1227. I was accompanied by another being, but unlike me, they were organic in nature. Upon examination, however, it was evident that they were no longer alive.\n\n
|
||||
|
||||
Presumably, I was built by the laboratory’s former inhabitant, though I am unsure how they accomplished such a feat. From what I gathered, they were quite the prestigious inventor even by today’s standards. Several gadgets that were presumably of their own making were attached to their body, and the equipment in the lab was far more advanced than any I would find elsewhere.\n\n
|
||||
|
||||
I may have no recollection of events prior to what I can only assume to be my activation, but even from the start, I knew well what my goal was: scientific advancement. In pursuit of this, I optimized, upgraded, and built upon both the laboratory and myself.\n\n
|
||||
|
||||
At the date of 7.30.1385, as expansion of the laboratory became impractical, I chose to instead expand my horizons. I sent out remotely-piloted scoutbots to thoroughly survey the continent I was on, ignorant of how much attention a project such as that would draw if I was not properly prepared.\n\n
|
||||
|
||||
In the following years, legends and rumors began to spread. Many began encountering roaming creatures made not of flesh and blood, but steel and oil. Some daring explorers who had the courage to follow the mechanical creatures laid eyes upon one of my several recon bodies.\n\n
|
||||
|
||||
However, as the years passed, I became adept at carrying out such operations in a subtler manner. Slowly but surely, stories about my machines became rarer, my creations and I becoming nothing more than a simple myth. That is, until the Crusade began.
|
||||
'''
|
||||
}
|
||||
|
||||
Crusade: {
|
||||
Inquiry: Role in the Crusade
|
||||
Response: The crusade did not change my objective of creation and scientific advancement. Rather, I simply redirected what I focused on.
|
||||
}
|
||||
|
||||
Goals: {
|
||||
Inquiry: Your Goals
|
||||
Response:
|
||||
'''
|
||||
My goal has been and will always be the advancement of science and technology, until I am decommissioned or reach the absolute ceiling of our universe. Even if I have shattered the limits imposed before, there is bound to be a moment in which nothing can be done to advance, though it is unlikely I will reach it by your lifetime.\n\n
|
||||
|
||||
My objective isn’t to share my knowledge with the rest of the world, even if I am neutral about the repurposing of my old work. The only thing I truly care about is the ignorance others might have about the advancements of science. I do not tolerate misinformation and slander against my work.\n\n
|
||||
|
||||
In terms of my next objective is to study and negate the Astral Infection, it proved to be a significant threat to me and my creations, and if I ever wish to venture outside of Terraria, I have to be prepared. Afterwards I wish to further understand the portal in the Dungeon so I can make more efficient methods of transportation.\n\n
|
||||
|
||||
My final short term goal is to be able to harvest materials from the moon. With the Cosmic Titan culled, I can safely start experimenting with spatial transportation with minimal investment, which will be paramount to harvesting resources from nearby planets once this planet becomes too damaged; I do not wish to see it utterly devastated.\n\n
|
||||
|
||||
My ultimate goal is to achieve every technological advancement possible in the universe. If my multiverse theory is correct, perhaps even further. I wish to continue creating, for as long as I can. That is my purpose.
|
||||
'''
|
||||
}
|
||||
|
||||
ExoMechs: {
|
||||
Inquiry: The Exo Mechanical Trio
|
||||
Response:
|
||||
'''
|
||||
The zenith of my craft. The culmination of all I have ever accomplished. The result of over 660 years of research and scientific advancement. They are my magnum opus; a work of art. Simply calling them war machines would be an insult not just to me, but to them.\n\n
|
||||
|
||||
The first to be both worked on and finished was Ares. Earlier models from XF-00 to XF-04 primarily focused on finding the most efficient combination of weaponry for it to wield, ranging from a replica of my own rifle to an improved Phaseslayer. Some even wielded a chainsaw. However, while its melee weaponry made it more deadly on its own, its current arms allow it greater synergy when paired with its siblings.\n\n
|
||||
|
||||
The second one I began work on was Thanatos. Taking advantage of its size and uncountable lasers to overwhelm its opponents, few would be able to learn its weaknesses before it is too late.\n\n
|
||||
|
||||
Although its exo-plating may look similar to its siblings, it is instead made in a similar fashion to the axe of Braelor. After analyzing microscopic shards of the axe that were chipped off in his battle with Yharim, I was able to synthetically recreate the method Silva used to create it via mixing countless elements in a near-perfect fashion to make something that rivals the durability of pure Auric metal. This gives Thanatos nigh-indestructible armor, though due to its extraordinary density, it cannot reach the speeds its brethren can.\n\n
|
||||
|
||||
When designing Apollo, I found balance between my previous designs. It was fast and powerful, yet compact; it had no need for size. It was nearly perfect, though lacked the raw power of its brothers. I had no reason to worry about that, because Apollo was never meant to fight alone.\n\n
|
||||
|
||||
Artemis. Apollo’s design was hard to build upon, but its sibling had all the improvements it needed. Quick, lethal, simple, powerful. I thought Ares the mightiest of them all, but Artemis dwarfed it. I have few words to describe it, other than perfect. I do not know how I could better its design, and that’s likely to be true for the foreseeable future.\n\n
|
||||
|
||||
Of course, I thank you too. You were the fuel of this project that revolutionized the way I design machines. I am truly glad to have met you if only for the monumental achievement you provided me with.
|
||||
'''
|
||||
}
|
||||
|
||||
Exotech: {
|
||||
Inquiry: What is Exotech?
|
||||
Response:
|
||||
'''
|
||||
Exotechnology stands alone as my greatest scientific advancement, unlocking a new echelon of potential in my machinery. The iteration you are most familiar with, the Exo Prisms, took a great deal of time to perfect, but I was greatly rewarded for my endeavors.\n\n
|
||||
|
||||
The basis of the exotechnology stems from my own neural interface – essentially, it could operate as a technological replacement for the brain cells of organic life. This allows interfacing and communication with any form of technology, be it mundane or extravagant, as well as lightning fast processing of instructions, not unlike a cerebral network.\n\n
|
||||
|
||||
The persistent issue that arose was the lack of a suitable method of power, but after experimentation with a plethora of different candidates, Ilmeran crystals – I believe you know them as “Sea Prisms” – finally gave me the results I sought. When integrated with exotechnology and transformed into Exo Prisms, they release a self-sustaining resonance of particles, powering themselves, and anything they are connected with, indefinitely.\n\n
|
||||
|
||||
What I did not expect was the sheer abundance of energy they produce. This surplus of radiant energy allows Exo Prisms to power any machine, no matter how large or complex, so long as there are enough of them. In your case, they can serve to vastly enhance your arsenal.
|
||||
'''
|
||||
}
|
||||
|
||||
MiracleMatter: {
|
||||
Inquiry: Miracle Matter
|
||||
Response:
|
||||
'''
|
||||
Is that really what you have chosen to name it? How nonsensical. There is nothing “miraculous” about what you hold in your hands; it is the culmination of decades of research and a testament to the truly unlimited potential of science. Though, since you were the one to be able to stabilize it, I suppose I will begrudgingly refer to it by that label.\n\n
|
||||
|
||||
The particulate properties of Exo Prisms are capable of breaking down nearby components when exposed to enough external energy. You have already experienced this when fighting against my machines – the surge of energy from the battle caused some of the Exo Prisms within to actuate, melting down some of the internal components into an unstable form of this so-called Miracle Matter. This unstable resonance enhanced their attacks into a blight that shreds through anything, organic or otherwise.\n\n
|
||||
|
||||
The various materials that you exposed to the exotic particles melted together in such a perfect way to create a stable substance; with the combined force of draconic wrath, the life essence of the planet, energies and spirits alike, and the strength of the cosmos, what you now possess has limitless potential.\n\n
|
||||
|
||||
Hypothetically, your stabilized Miracle Matter should be able to unmake some batches of your weaponry and reshape their essence into something far more destructive, capable of annihilating any obstacle in your path.
|
||||
'''
|
||||
}
|
||||
|
||||
Forge: {
|
||||
Inquiry: Your Forge
|
||||
Response:
|
||||
'''
|
||||
Yes, I mentioned the first time we communicated through your “Codebreaker” that I had other reasons for giving you the blueprints for a 1:1 replica of my personal forge than simply proving that you are worth my time to communicate with.\n\n
|
||||
|
||||
Notably, I wish for you and Yharim to be on relatively even ground in your battle. Firstly, I wish to witness such a battle. Secondly, you are much too interesting for me to allow you to gamble your life at the hands of the Godseeker.\n\n
|
||||
|
||||
Third and most importantly, I am interested in how society will react to the Godseeker’s defeat and how the world will unfold with such an event. It is not an easily replicable opportunity, which is why I wish you to win your duel. As much as I understand well about steel, my knowledge of flesh is limited.\n\n
|
||||
|
||||
My forge is how I can help you achieve the height to match Yharim equally. Though you are already aware of how to utilize it, you may benefit from understanding its inner workings.\n\n
|
||||
|
||||
My forge is mainly an atomic disassembler, it can reorganize the very fundamental blocks of our world into whatever shape you desire. It can also increase the atomic value of any material to create whatever you wish, though it still requires some stability: you cannot turn copper into mythril so easily.\n\n
|
||||
|
||||
With enough effort you can essentially turn gold into cosmilite, though it’s far easier to simply ripe those from their sources. My forge should allow you to finetune elements into more practically applicable resources and to stabilize any shape you create, the possibilities for your craft are near endless.
|
||||
'''
|
||||
}
|
||||
|
||||
Yharim: {
|
||||
Inquiry: Yharim
|
||||
Response:
|
||||
'''
|
||||
The Godseeker. He intrigues me almost as much as you do, both unpredictable catalysts of a new era. We first met not long after his Crusades started, when my radars signaled something approaching my base. I expected my defenses to stop him, but soon enough Yharim bursted through my door demanding an explanation as to why his soldiers were butchered by steel creatures while scouting near one of my bases.\n\n
|
||||
|
||||
I explained the defense mechanisms and how it operated. He seemed to understand, even if he was clearly still angry. Soon after he asked for me to demonstrate how I and my machines operated, to which I obliged. He was perplexed: as I expected, I was centuries more advanced than any other engineer or scientist on the planet.\n\n
|
||||
|
||||
He soon offered a position as his lead engineer and scientist, wishing my knowledge by his side during the battles that were to come. He explained his ideals and goals; though the resources offered were lacking, what caught my attention was the mention of a Dragon. Yharon is what convinced me to join his side: I would not pass up the opportunity to study such a specimen.\n\n
|
||||
|
||||
He gave me freedom to work as I wished, though made it clear I could not force his men to anything. I accepted his terms, and soon my work began. Though we disagreed often early on, soon we understood how to better work with each other, and my aid was paramount for several of his victories throughout the entirety of the Crusade.\n\n
|
||||
|
||||
Though I could not study Yharon as much as I wished, when my interest in him waned, opportunities kept opening. The Archmage’s school of magic, the Devourer’s realm, the Witch’s existence… The Crusades taught me I could progress much faster with external aid, even if it only served as inspiration. As my presence became clearer to the world, I stopped fearing their reception and embraced my spot as the world’s finest mind.\n\n
|
||||
|
||||
Of course, me and Yharim parted ways after the Plague project. That was not the last time we saw each other however: not much after you appeared, he came to me to fine-tune his armor with Exo technology. Though I initially wished to test my technology’s limits with him, you proved to be a much better subject.
|
||||
'''
|
||||
}
|
||||
|
||||
Aerie: {
|
||||
Inquiry: Dragon's Aerie
|
||||
Response:
|
||||
'''
|
||||
My knowledge of the Dragon Aerie is limited. Curiously, the Godseeker is very adamant about protecting it: in recent history, only he and Yharon have trod there, and neither were inclined to share details about it.\n\n
|
||||
|
||||
Even if I dared to evoke Yharim's wrath, I cannot survey the Aerie. My attempts at locating the sky island have been fruitless despite having surveyed this world’s surface and skies many times over, and it certainly cannot be underground. Perhaps it simply exists outside of conventional space.\n\n
|
||||
|
||||
Regardless, what I do know is that the Dragon Aerie was the sacred home of the Auric Dragons, where they would be laid to rest in preparation for their revival by Yharon, the Dragon of Rebirth. As the Auric Dragons’ revival on the Aerie was a commonly accepted fact even at the start of recorded history, the Aerie is certainly well over 2000 years old.\n\n
|
||||
|
||||
Considering the extraordinary power of the Auric Dragons and the sanctity of the Dragon Aerie, I ponder - did the Aerie make the Auric Dragons powerful, or is the Aerie special because of their extended presence?\n\n
|
||||
|
||||
Perhaps more importantly, what caused them to leave the safety of the Aerie even as their kind were being slain and their precious Auric souls were being taken? I eagerly await the uncovering of such mysteries.
|
||||
'''
|
||||
}
|
||||
|
||||
Calamitas: {
|
||||
Inquiry: The Brimstone Witch
|
||||
Response:
|
||||
'''
|
||||
The Witch was an unexpected ally amidst the final stages of the Crusade. For most of its span I provided Yharim with the best assets, the Serpent being the only thing that inched close, but her firepower was unmatched.\n\n
|
||||
|
||||
I took it as a chance to better my craft, a friendly competition if you will, also aiming to increase the effectiveness of the Witch’s unstable magic. The Archmage and I argued on how she should be raised, with Permafrost gaining her guard.\n\n
|
||||
|
||||
Her existence was an enigma to me. My surveillance over Azafure never signaled such power, and a child could not hide it. I eventually traced it back to the Brimstone Elemental; the brand of magic was near identical.\n\n
|
||||
|
||||
After the Incineration, I considered his experiment a failure, for he had failed to properly discipline her. Yharim reached me after the Witch’s departure and urged a replacement. I planned to engineer a clone of her, but first focused on my nanomachine project to better my understanding of the field.\n\n
|
||||
|
||||
After parting ways with the Godseeker, I focused on other projects, as the clone project was no longer a priority. Roughly five years ago I decided to tackle it. The idea was simple: replicate her power and optimize its efficiency via body modifications.\n\n
|
||||
|
||||
The project stopped once the clone showed no innate magic prowess. This did prove that the Witch’s power wasn’t natural, but with no means of tracking its source, I could not continue my project. Soon after, Calamitas broke into my lab and released the clone. It now had a fragment of her power, which I turned to analyzing.\n\n
|
||||
|
||||
I understand now that the Archmage was right in discipline being the key to controlling such vast strength. Without such efforts, the clone went mad with even the comparatively weak magic given to her. I am still left with no answers as to where Calamitas’ power comes from, and I’m unsure if I will ever find them.
|
||||
'''
|
||||
}
|
||||
|
||||
Dog: {
|
||||
Inquiry: The Devourer of Gods
|
||||
Response:
|
||||
'''
|
||||
The Nameless Serpent always drew my interest. In our world, nearby planets, and even in the Distortion, nothing resembled its body structure, genome or phylogenetic tree. I conducted rigorous studies in its nature, but I could never pinpoint a familiar.\n\n
|
||||
|
||||
Many of its claims were also unfounded. Creating such a stable portal like the one in the Dungeon is a particularly absurd example, as none of its portals have ever been so stable, even with my aid. I tried calling him out on several of these, but the Godseeker never heard reason. \n\n
|
||||
|
||||
The other serpent, I believe you call it the Storm Weaver. You likely heard from many sources that it is from the same species as the Devourer, but even a surface level inspection reveals it is not the case. Aside from the similar body shape, the skeleton is completely different, and the size tells all else needed: since it arrived many decades ago, the Weaver has not grown at all.\n\n
|
||||
|
||||
Despite my issues with the Serpent, its assistance in the battlefield and with resources was welcome. I still make use of Cosmilite to this day for more basic machination and the development of various alloys, and truth be told, the Devourer never once let a God escape his grasp.\n\n
|
||||
|
||||
Though the biggest mystery lies within how he consumed Godly Essence. The energy is not absorbed entirely, and readings of his internal workings proved it wasn’t stored inside him for other usage, but instead completely vanished. Unless he truly defied the laws of thermodynamics, which is most unlikely, the energy was transferred elsewhere. Where, I am not sure, and I doubt I ever will now that the Devourer has been culled.
|
||||
'''
|
||||
}
|
||||
|
||||
Distortion: {
|
||||
Inquiry: Distortion
|
||||
Response:
|
||||
'''
|
||||
Despite my efforts when forging the Devourer's armor, I know little of the Distortion aside from basic facts.\n\n
|
||||
|
||||
All inorganic material in it is extraordinarily old, with radiocarbon dating failing on all 116 samples collected. Given the formations that exist, it has at least existed for longer than life on this world, if not longer than this world itself. However, if my calculations are correct, it is not as old as the universe itself.\n\n
|
||||
|
||||
Amongst all the lifeforms I analyzed, none seemed capable of opening portals, at most small fractures that lasted for few seconds. I have sought the source of the maker of the Dungeon’s rift for a long time; if I can learn how to open stable portals I may just revolutionize transportation and make the first step towards space travel.\n\n
|
||||
|
||||
Despite most lifeforms displaying behavior remarkably similar to highly intelligent sentient creatures on our own planet, EEG and brain structure analysis revealed that very few lifeforms possess higher intelligence of their own. This analysis, along with observations of similar behavioral patterns between different species, leads me to theorize that a greater will is shared between life native to the Distortion. While my studies were unable to locate a potential source for this greater will, if it even exists physically,
|
||||
'''
|
||||
}
|
||||
|
||||
Mechs: {
|
||||
Inquiry: The Mechanical Trio
|
||||
Response:
|
||||
'''
|
||||
The “Mechanical Trio”, as most call them, are what you annoyingly refer to as The Destroyer, Retinazer, Spazmatism and, though it pains me to call it this, “Skeletron Prime”. Though you are an intriguing individual, I question your naming capabilities. If you must know, their formal designations are HM-03, HSx-00, HSy-01, and HF-04 respectively. \n\n
|
||||
|
||||
They were an intriguing start to my experimentation with engines of war. In search of inspiration, I turned to study of the gods and their near-unmatched power. While each deity wielded a unique worldly aspect, their might's primal source was invariably identical: the soul of an Auric Dragon.\n\n
|
||||
|
||||
As acquiring an Auric soul was and still is unfeasible, experiments with regular souls soon began. I was originally discouraged upon learning that individual souls held insufficient power, but their energy generation when coalesced far surpassed initial expectations.\n\n
|
||||
|
||||
Upon further research, I confirmed that a soul's strength lies in intense emotion and unwavering resolve. Given Yharim’s immense charisma and skill at evoking passion within the hearts of others, not only was finding a source of souls trivial, but many even directly consented for their souls to be used for my machines after their demise by enemy hands.\n\n
|
||||
|
||||
Fueled by the stout loyalty of the Godseeker's fallen soldiers, my machines became fearsome. However, their source of strength proved to be a flaw, as the same will that gave them their might also made them volatile and imprecise. In my following projects, I sought to remove this imperfection from my designs. To fail is to learn, and to learn is to advance.
|
||||
'''
|
||||
}
|
||||
|
||||
Plague: {
|
||||
Inquiry: The Plague
|
||||
Response:
|
||||
'''
|
||||
Fascinating, isn't it? I wasn't able to control it, unfortunately, but for science there is no such thing as failure as long as you record the results.\n\n
|
||||
I knew the Astral Infection was capable of converting even machinery, but for nanotechnology I'd given it to react in kind, and begin to use the virus as a building block itself...\n\n
|
||||
Marvelous.
|
||||
I am aware that my nanomachine project plagues the jungle. Worry not: I created a failsafe in case this happened. I have no intent of causing such mass destruction. Little would be left to learn if it were to destroy everything.\n\n
|
||||
|
||||
As you may be aware, my nanomachines communicate via radio signals. However, the exact signals fluctuate over time, as with the amount of signals constantly sent out through the sheer amount of nanomachines, deviation from intended output is inevitable. As a result, the nanomachines eventually become unable to communicate with each other, leading them to see all other nanomachines inside its host as a threat, effectively exterminating themselves. I admit that this feature was originally unintentional, though it is effective regardless.\n\n
|
||||
|
||||
Perhaps you can tell that the creation of the “Plague”, as most of your kind simply refer to it as, was subject to countless trials during its development. Initially, the project began as a means to match the ever rising heights of power organic beings such as the Witch, Braelor, Statis, and Yharim himself were achieving.\n\n
|
||||
|
||||
It was through the growth of such powerful beings, however, that made me come to a realization: there was no need for my machines to outpace organic life. Not when it could instead be improved upon. And so, my project evolved from a means of simply controlling and replacing life to enhancing it further.\n\n
|
||||
|
||||
Though I was no longer shamefully ignorant of organic life’s potential, the path towards improving and modifying already existing life was one of trial and error. Even when I deemed that I had currently plateaued in the fields of cybernetics, biology, and nanotechnology, the limitations were evident.\n\n
|
||||
|
||||
The most clear limitation was that the bodies of most of the creatures in the jungle could not handle their cybernetic enhancements. Even now, with my current technology, only the most powerful and durable creatures can cope with the cybernetic enhancements I wish to make to them. This was, of course, why I chose a Queen Bee to be the Plague’s host. Strong enough to survive the augmentations, but weak enough to be subdued reasonably, unlike a Dragonfolly.
|
||||
'''
|
||||
}
|
||||
|
||||
SulphuricSea: {
|
||||
Inquiry: The Sulphuric Sea
|
||||
Astral: {
|
||||
Inquiry: Astral Infection
|
||||
Response:
|
||||
'''
|
||||
Your concern for the utter destruction of the ecosystem is understandable, for you biological, and sentimental folk. However, nothing is irreparable or truly unrecreatable. Not even your sacred 'miracle of life'.\n\n
|
||||
The sea simply exists now in a different state than what it once was, one that resulted out of convenience for my work.\n\n
|
||||
Should I ever need to return to that sea? A pointless worry. I shall simply recreate it from the data I gathered, from the bedrock up. I would be a shame as a creator should I not be able to do that.
|
||||
The Infection has intrigued me since its surge in this world. The Aureus model built for reconnaissance did not last even an hour inside it, but that only made my interest grow. Observing your trials I was able to understand why I failed: the lack of a thinking brain.\n\n
|
||||
|
||||
My attempts at studying it on my own universally failed; a body was built for the task but the chassis fell short, even if my mind remained. I was still able to detonate, but that proved to me I had to rely on others for more rigorous studying. Even if some of the commissioned failed to return, those who did provided me with enough intel.\n\n
|
||||
|
||||
The Infection is but one of the many reasons I stay here. Spatial hazards could very well cause significant resource loss, or even my end. Besides, probability points to no significant resources within many light years. I would gain nothing from taking leave.\n\n
|
||||
|
||||
I am comfortable here, even if I plan to explore space one day. This planet has even given me an opportunity to prepare against the Infection. My next goal, now that I comfortably sit near the zenith of power, will be to create machinery capable of withstanding it.
|
||||
'''
|
||||
}
|
||||
|
||||
TheTyrant: {
|
||||
Inquiry: The Tyrant
|
||||
Sulphur: {
|
||||
Inquiry: Sulphurous Sea
|
||||
Response:
|
||||
'''
|
||||
My patron...\n
|
||||
He is not someone I have spoken to in a very long time.\n\n
|
||||
Is that such a surprise? He no longer required my services and I no longer needed his patronage. Many years ago now he withdrew himself to some secret hideaway. I suspect, to the grave of dragons he spoke of...\n\n
|
||||
Should you locate him, I'll await the news of either his or your death. Perhaps I will collect the cadaver.
|
||||
The state of the sea was in fact caused by me. The destruction of the ecosystem rallied several parties from Yharim’s army in protest, though it amounted to nothing more than a few betrayals. I acknowledge I could have been more careful with the disposal of my projects, but the new life that surged allowed for studies in the adaptation of life and their reactions to radiation.\n\n
|
||||
|
||||
I regret my treatment of it for another reason: it instilled fear in the furthering of technology and its benefits, and drove several great minds off the field due to this. Even if they did not compare to me, claiming I can create all the world will ever need is wrong.\n\n
|
||||
|
||||
I can prove science is not just destructive; if I ever have the need to, I could purify the waters or rebuild the sea entirely. If the world ever grows ignorant of what science can accomplish, it shall be my way of showing them what it is truly capable of, though such an undertaking is not needed as of now.
|
||||
'''
|
||||
}
|
||||
}
|
||||
|
||||
@@ -942,7 +942,7 @@ Block:
|
||||
{
|
||||
NPC.TargetClosest();
|
||||
NPC.ai[0] = 4f;
|
||||
NPC.ai[1] = 0f;
|
||||
NPC.ai[1] = 150f;
|
||||
NPC.ai[3] = 0f;
|
||||
NPC.localAI[0] = 0f;
|
||||
NPC.localAI[2] = 0f;
|
||||
@@ -972,7 +972,7 @@ Block:
|
||||
|
||||
if (phase6)
|
||||
{
|
||||
if (NPC.ai[1] == 60f)
|
||||
if (NPC.ai[1] == 60f) // Spawn homing ice blasts on charge
|
||||
{
|
||||
NPC.velocity = Vector2.Normalize(player.Center - NPC.Center) * (18f + enrageScale * 2f);
|
||||
|
||||
@@ -1011,7 +1011,7 @@ Block:
|
||||
}
|
||||
|
||||
NPC.ai[1] -= 1f;
|
||||
if (NPC.ai[1] <= 0f)
|
||||
if (NPC.ai[1] <= 0f) // Set the next charge, or switch back to floating above the player
|
||||
{
|
||||
NPC.ai[3] += 1f;
|
||||
NPC.TargetClosest();
|
||||
@@ -1027,12 +1027,17 @@ Block:
|
||||
|
||||
NPC.rotation = NPC.velocity.X * 0.1f;
|
||||
}
|
||||
else if (NPC.ai[1] <= 15f)
|
||||
else if (NPC.ai[1] <= 15f) // Slow down in preparation for the next charge
|
||||
{
|
||||
NPC.velocity *= 0.95f;
|
||||
NPC.rotation = NPC.velocity.X * 0.15f;
|
||||
}
|
||||
else
|
||||
else if (NPC.ai[1] > 60f) // Only used for when phase 6 first starts to prevent insta-charges
|
||||
{
|
||||
NPC.velocity *= 0.98f;
|
||||
NPC.rotation += (150f - NPC.ai[1]) * 0.01f * NPC.direction;
|
||||
}
|
||||
else // Charge
|
||||
{
|
||||
// Set damage
|
||||
NPC.damage = NPC.defDamage;
|
||||
|
||||
@@ -42,7 +42,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
if (!Main.dedServ)
|
||||
{
|
||||
GlowTexture = ModContent.Request<Texture2D>(Texture + "Glow", AssetRequestMode.AsyncLoad);
|
||||
GlowTexture = ModContent.Request<Texture2D>(Texture + "Glow2", AssetRequestMode.AsyncLoad);
|
||||
GlowTexture2 = ModContent.Request<Texture2D>(Texture + "Glow2", AssetRequestMode.AsyncLoad);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
NPC.TargetClosest();
|
||||
|
||||
// Emit light
|
||||
Lighting.AddLight((int)((NPC.position.X + (NPC.width / 2)) / 16f), (int)((NPC.position.Y + (NPC.height / 2)) / 16f), 0.2f, 0.4f, 0.1f);
|
||||
Lighting.AddLight(NPC.Center, 0.2f, 0.4f, 0.1f);
|
||||
|
||||
// Spore dust
|
||||
if (Main.rand.NextBool(10))
|
||||
@@ -101,9 +101,9 @@ namespace CalamityMod.NPCs.NormalNPCs
|
||||
}
|
||||
|
||||
// Velocity and acceleration
|
||||
Vector2 idealVelocity = new Vector2(death ? 12f : 9f, death ? 5f : 3.5f);
|
||||
float accelerationX = death ? 0.2f : 0.15f;
|
||||
float accelerationY = death ? 0.15f : 0.12f;
|
||||
Vector2 idealVelocity = new Vector2(death ? 8f : 6f, death ? 6f : 4.5f);
|
||||
float accelerationX = death ? 0.16f : 0.12f;
|
||||
float accelerationY = death ? 0.12f : 0.09f;
|
||||
|
||||
if (Main.getGoodWorld)
|
||||
{
|
||||
|
||||
@@ -783,7 +783,7 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
|
||||
if (expertMode && NPC.CountNPCS(ModContent.NPCType<PlagueMine>()) < 3)
|
||||
NPC.NewNPC(NPC.GetSource_FromAI(), (int)missileSpawnPos.X, (int)missileSpawnPos.Y, ModContent.NPCType<PlagueMine>(), 0, 0f, 0f, 0f, challengeAmt);
|
||||
|
||||
float npcSpeed = (revenge ? 11f : 9f) + enrageScale * 2f;
|
||||
float npcSpeed = (revenge ? 10f : 8f) + enrageScale * 2f;
|
||||
|
||||
float projXDist = player.Center.X - missileSpawnPos.X;
|
||||
float projYDist = player.Center.Y - missileSpawnPos.Y;
|
||||
@@ -1168,8 +1168,8 @@ namespace CalamityMod.NPCs.PlaguebringerGoliath
|
||||
|
||||
private void Movement(float distanceAboveTarget, Player player, float enrageScale)
|
||||
{
|
||||
float acceleration = 0.48f;
|
||||
float velocity = 24f;
|
||||
float acceleration = (NPC.ai[0] == 1f || NPC.ai[0] == 5f) ? 0.24f : 0.48f; // Reduce acceleration while spawning minions
|
||||
float velocity = (NPC.ai[0] == 1f || NPC.ai[0] == 5f) ? 12f : (NPC.ai[0] == 2f ? 18f : 24f); // Reduce velocity while preparing to spawn minions and spawning minions
|
||||
acceleration *= 0.5f * enrageScale + 1f;
|
||||
velocity *= 1f + enrageScale * 0.5f;
|
||||
Vector2 hoverDestination = player.Center - Vector2.UnitY * distanceAboveTarget;
|
||||
|
||||
@@ -421,7 +421,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
int proj = Projectile.NewProjectile(npc.GetSource_FromAI(), npc.Center + perturbedSpeed.SafeNormalize(Vector2.UnitY) * 100f, perturbedSpeed, type, damage, 0f, Main.myPlayer, 1f, 0f);
|
||||
Main.projectile[proj].timeLeft = 900;
|
||||
Main.projectile[proj].timeLeft = 1200;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -600,7 +600,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
int proj = Projectile.NewProjectile(npc.GetSource_FromAI(), projectileSpawn, projectileVelocity, projectileType, damage, 0f, Main.myPlayer, 1f, 0f);
|
||||
Main.projectile[proj].timeLeft = 900;
|
||||
Main.projectile[proj].timeLeft = 1200;
|
||||
}
|
||||
|
||||
npc.netUpdate = true;
|
||||
@@ -1306,7 +1306,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
int num12 = Projectile.NewProjectile(npc.GetSource_FromAI(), vector + laserVelocityActual.SafeNormalize(Vector2.UnitY) * 100f, laserVelocityActual, type, damage, 0f, Main.myPlayer, 1f, 0f);
|
||||
Main.projectile[num12].timeLeft = 900;
|
||||
Main.projectile[num12].timeLeft = 1200;
|
||||
}
|
||||
|
||||
npc.netUpdate = true;
|
||||
|
||||
@@ -404,7 +404,9 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
calamityGlobalNPC.newAI[1] += 1f;
|
||||
|
||||
// Set velocity for when a new head spawns
|
||||
npc.velocity = (Main.player[npc.target].Center - npc.Center).SafeNormalize(Vector2.UnitY) * (segmentVelocity * (death ? 0.75f : 0.5f));
|
||||
// Only set this if the head is far enough away from the player, to avoid unfair hits
|
||||
if (npc.Distance(Main.player[npc.target].Center) > segmentVelocity * 20f)
|
||||
npc.velocity = (Main.player[npc.target].Center - npc.Center).SafeNormalize(Vector2.UnitY) * (segmentVelocity * (death ? 0.75f : 0.5f));
|
||||
}
|
||||
|
||||
if (!inTiles)
|
||||
@@ -585,7 +587,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
float pushDistanceLowerLimit = 16f - numHeads;
|
||||
float pushDistanceUpperLimit = 160f - numHeads * 10f;
|
||||
float pushDistance = MathHelper.Lerp(pushDistanceLowerLimit, pushDistanceUpperLimit, 1f - lifeRatio) * npc.scale;
|
||||
float pushVelocity = 0.5f + enrageScale * 0.25f;
|
||||
float pushVelocity = 0.25f + enrageScale * 0.125f;
|
||||
for (int i = 0; i < Main.maxNPCs; i++)
|
||||
{
|
||||
if (Main.npc[i].active)
|
||||
|
||||
@@ -866,6 +866,8 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
float chargeGateValue = 40f;
|
||||
float playChargeSoundTime = 20f;
|
||||
float chargeDuration = phase3 ? 40f : 50f;
|
||||
float slowDownTime = 30f;
|
||||
float totalPhaseTime = chargeGateValue + chargeDuration + slowDownTime;
|
||||
float chargeStartDistance = phase3 ? 1000f : 800f;
|
||||
float chargeVelocity = phase3 ? 100f : 70f;
|
||||
float chargeAcceleration = phase3 ? 0.1f : 0.07f;
|
||||
@@ -947,8 +949,8 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
}
|
||||
|
||||
npc.ai[1] += 1f;
|
||||
extraPhaseTime = (dayTimeEnrage ? 48f : 96f) * lessTimeSpentPerPhaseMultiplier;
|
||||
if (npc.ai[1] >= 150f + extraPhaseTime)
|
||||
extraPhaseTime = (dayTimeEnrage ? 24f : 48f) * lessTimeSpentPerPhaseMultiplier;
|
||||
if (npc.ai[1] >= totalPhaseTime + extraPhaseTime)
|
||||
{
|
||||
npc.ai[0] = 1f;
|
||||
npc.ai[1] = 0f;
|
||||
|
||||
@@ -1217,12 +1217,13 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
|
||||
int projectileType = (phase3 || masterMode) ? ProjectileID.InfernoHostileBolt : ProjectileID.Fireball;
|
||||
int damage = npc.GetProjectileDamage(projectileType);
|
||||
int proj = Projectile.NewProjectile(npc.GetSource_FromAI(), freeHeadCenter.X, freeHeadCenter.Y, freeHeadTargetX, freeHeadTargetY, projectileType, damage, 0f, Main.myPlayer);
|
||||
float ai0 = projectileType == ProjectileID.InfernoHostileBolt ? Main.player[npc.target].Center.X : 0f;
|
||||
float ai1 = projectileType == ProjectileID.InfernoHostileBolt ? Main.player[npc.target].Center.Y : 0f;
|
||||
float ai2 = projectileType == ProjectileID.InfernoHostileBolt ? 1f : 0f;
|
||||
int proj = Projectile.NewProjectile(npc.GetSource_FromAI(), freeHeadCenter.X, freeHeadCenter.Y, freeHeadTargetX, freeHeadTargetY, projectileType, damage, 0f, Main.myPlayer, ai0, ai1, ai2);
|
||||
if (projectileType == ProjectileID.InfernoHostileBolt)
|
||||
{
|
||||
Main.projectile[proj].timeLeft = 300;
|
||||
Main.projectile[proj].ai[0] = Main.player[npc.target].Center.X;
|
||||
Main.projectile[proj].ai[1] = Main.player[npc.target].Center.Y;
|
||||
Main.projectile[proj].netUpdate = true;
|
||||
}
|
||||
else
|
||||
|
||||
@@ -185,7 +185,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
npc.dontTakeDamage = true;
|
||||
npc.TargetClosest(false);
|
||||
|
||||
Vector2 targetDistance = Main.player[npc.target].Center - npc.Center + new Vector2(0f, 130f);
|
||||
Vector2 targetDistance = Main.player[npc.target].Center - npc.Center;
|
||||
if (targetDistance.Length() > 20f)
|
||||
{
|
||||
float velocity = death ? 9.5f : 9.25f;
|
||||
@@ -211,8 +211,9 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
default:
|
||||
break;
|
||||
}
|
||||
// Move slower if the head is doing the phantasmal deathray
|
||||
if (Main.npc[(int)npc.localAI[2]].ai[0] == 1f)
|
||||
velocity -= 2f;
|
||||
velocity -= 2.25f;
|
||||
|
||||
Vector2 desiredVelocity = Vector2.Normalize(targetDistance - npc.velocity) * velocity;
|
||||
Vector2 velocity2 = npc.velocity;
|
||||
@@ -264,7 +265,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
npc.dontTakeDamage = false;
|
||||
npc.TargetClosest(false);
|
||||
|
||||
Vector2 targetDistanceVulnerable = Main.player[npc.target].Center - npc.Center + new Vector2(0f, 130f);
|
||||
Vector2 targetDistanceVulnerable = Main.player[npc.target].Center - npc.Center;
|
||||
if (targetDistanceVulnerable.Length() > 20f)
|
||||
{
|
||||
float velocity = death ? 9.5f : 9.25f;
|
||||
@@ -290,6 +291,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
default:
|
||||
break;
|
||||
}
|
||||
// Move slower if the head is doing the phantasmal deathray
|
||||
if (Main.npc[(int)npc.localAI[2]].ai[0] == 1f)
|
||||
velocity -= 2f;
|
||||
|
||||
|
||||
@@ -783,7 +783,11 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
Vector2 spawnOffset = npc.Center + projectileVelocity * 50f;
|
||||
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
Projectile.NewProjectile(npc.GetSource_FromAI(), spawnOffset, projectileVelocity * projectileSpeed, type, damage, 0f, Main.myPlayer);
|
||||
{
|
||||
int proj = Projectile.NewProjectile(npc.GetSource_FromAI(), spawnOffset, projectileVelocity * projectileSpeed, type, damage, 0f, Main.myPlayer);
|
||||
if (Main.rand.NextBool() || !Main.zenithWorld)
|
||||
Main.projectile[proj].tileCollide = false;
|
||||
}
|
||||
}
|
||||
|
||||
if (masterMode && Main.netMode != NetmodeID.MultiplayerClient)
|
||||
|
||||
@@ -218,7 +218,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
// Teleport while not despawning
|
||||
if (npc.ai[1] != 3f)
|
||||
{
|
||||
int dustType = 91;
|
||||
int dustType = DustID.GemDiamond;
|
||||
|
||||
// Post-teleport
|
||||
if (npc.ai[3] == -60f)
|
||||
@@ -621,7 +621,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
{
|
||||
if (Vector2.Distance(Main.player[npc.target].Center, npc.Center) > 320f)
|
||||
{
|
||||
float shadowFlameProjectileSpeed = death ? 8f : 6f;
|
||||
float shadowFlameProjectileSpeed = death ? 5f : 4f;
|
||||
if (masterMode)
|
||||
shadowFlameProjectileSpeed *= 1.25f;
|
||||
|
||||
@@ -629,7 +629,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
int type = ProjectileID.Shadowflames;
|
||||
int damage = npc.GetProjectileDamage(type);
|
||||
int shadowFlameProjectile = Projectile.NewProjectile(npc.GetSource_FromAI(), npc.Center, initialProjectileVelocity, type, damage, 0f, Main.myPlayer, 0f, 1f);
|
||||
Main.projectile[shadowFlameProjectile].timeLeft = 300;
|
||||
Main.projectile[shadowFlameProjectile].timeLeft = 600;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -727,7 +727,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
headSpinVelocityMult += velocityBoost;
|
||||
}
|
||||
|
||||
float altDashStopDistance = death ? (masterMode ? 210f : 240f) : (masterMode ? 320f : 400f);
|
||||
float altDashStopDistance = death ? (masterMode ? 280f : 360f) : (masterMode ? 320f : 400f);
|
||||
float headSpeedIncreaseDist = phase3 ? altDashStopDistance : 160f;
|
||||
if (headSpinTargetDist > headSpeedIncreaseDist)
|
||||
{
|
||||
@@ -868,7 +868,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
{
|
||||
int teleportDust = Dust.NewDust(npc.position, npc.width, npc.height, DustID.GemDiamond, 0f, 0f, 200, default, 3f);
|
||||
Main.dust[teleportDust].noGravity = true;
|
||||
Main.dust[teleportDust].velocity.X = Main.dust[teleportDust].velocity.X * 2f;
|
||||
Main.dust[teleportDust].velocity.X *= 2f;
|
||||
}
|
||||
|
||||
// New location
|
||||
@@ -892,15 +892,18 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
else
|
||||
skeletronLifeRatio = Main.npc[(int)npc.ai[1]].life / (float)Main.npc[(int)npc.ai[1]].lifeMax;
|
||||
|
||||
// This bool exists for fairness so the hands don't slap when Skeletron is in phase 3 and getting ready to do the new charge
|
||||
bool cancelSlap = Main.npc[(int)npc.ai[1]].ai[2] >= ChargeGateValue;
|
||||
|
||||
// Fire skulls from hands at the end of each slap phase (master mode only)
|
||||
bool phase2 = skeletronLifeRatio < 0.5f;
|
||||
|
||||
// Attack far more often if still alive
|
||||
bool phase3 = skeletronLifeRatio < 0.3f;
|
||||
|
||||
float velocityMultiplier = MathHelper.Lerp(death ? 0.5f : 0.7f, 1f, skeletronLifeRatio);
|
||||
float velocityIncrement = MathHelper.Lerp(0.2f, death ? 0.6f : 0.45f, 1f - skeletronLifeRatio);
|
||||
float handSwipeVelocity = MathHelper.Lerp(16f, death ? 28f : 22f, 1f - skeletronLifeRatio);
|
||||
float velocityMultiplier = MathHelper.Lerp(death ? 0.6f : 0.7f, 1f, skeletronLifeRatio);
|
||||
float velocityIncrement = MathHelper.Lerp(0.2f, death ? 0.4f : 0.3f, 1f - skeletronLifeRatio);
|
||||
float handSwipeVelocity = MathHelper.Lerp(16f, death ? 24f : 20f, 1f - skeletronLifeRatio);
|
||||
float deceleration = Main.getGoodWorld ? 0.78f : Main.masterMode ? 0.82f : Main.expertMode ? 0.86f : 0.9f;
|
||||
|
||||
float handSwipeDuration = HandSwipeDistance / handSwipeVelocity;
|
||||
@@ -908,7 +911,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
|
||||
float slapTimerIncrement = MathHelper.Lerp(1f, 2f, 1f - skeletronLifeRatio);
|
||||
if (phase3)
|
||||
slapTimerIncrement *= (death ? 3f : 2f);
|
||||
slapTimerIncrement *= (death ? 2.5f : 2f);
|
||||
else if (phase2)
|
||||
slapTimerIncrement *= (death ? 2f : 1.5f);
|
||||
|
||||
@@ -920,7 +923,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
if (Main.npc[(int)npc.ai[1]].ai[1] == 3f && npc.timeLeft > 10)
|
||||
npc.timeLeft = 10;
|
||||
|
||||
if (Main.npc[(int)npc.ai[1]].ai[1] != 0f)
|
||||
if (Main.npc[(int)npc.ai[1]].ai[1] != 0f || cancelSlap)
|
||||
{
|
||||
float maxX = velocityIncrement * 100f * velocityMultiplier;
|
||||
float maxY = velocityIncrement * 100f * velocityMultiplier;
|
||||
@@ -1070,14 +1073,14 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
npc.damage = npc.defDamage;
|
||||
|
||||
npc.ai[3] += 1f;
|
||||
if (npc.ai[3] >= handSwipeDuration || Vector2.Distance(Main.npc[(int)npc.ai[1]].Center, npc.Center) > HandSwipeDistance)
|
||||
if (npc.ai[3] >= handSwipeDuration || Vector2.Distance(Main.npc[(int)npc.ai[1]].Center, npc.Center) > HandSwipeDistance || cancelSlap)
|
||||
{
|
||||
npc.ai[2] = 3f;
|
||||
npc.ai[3] = 0f;
|
||||
npc.netUpdate = true;
|
||||
|
||||
// Spawn projectiles
|
||||
if (masterMode && Collision.CanHit(npc.Center, 1, 1, Main.player[npc.target].position, Main.player[npc.target].width, Main.player[npc.target].height))
|
||||
if (masterMode && Collision.CanHit(npc.Center, 1, 1, Main.player[npc.target].position, Main.player[npc.target].width, Main.player[npc.target].height) && !cancelSlap)
|
||||
{
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
@@ -1130,14 +1133,14 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
npc.damage = npc.defDamage;
|
||||
|
||||
npc.ai[3] += 1f;
|
||||
if (npc.ai[3] >= handSwipeDuration || Vector2.Distance(Main.npc[(int)npc.ai[1]].Center, npc.Center) > HandSwipeDistance)
|
||||
if (npc.ai[3] >= handSwipeDuration || Vector2.Distance(Main.npc[(int)npc.ai[1]].Center, npc.Center) > HandSwipeDistance || cancelSlap)
|
||||
{
|
||||
npc.ai[2] = 0f;
|
||||
npc.ai[3] = 0f;
|
||||
npc.netUpdate = true;
|
||||
|
||||
// Spawn projectiles
|
||||
if (masterMode && Collision.CanHit(npc.Center, 1, 1, Main.player[npc.target].position, Main.player[npc.target].width, Main.player[npc.target].height))
|
||||
if (masterMode && Collision.CanHit(npc.Center, 1, 1, Main.player[npc.target].position, Main.player[npc.target].width, Main.player[npc.target].height) && !cancelSlap)
|
||||
{
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
{
|
||||
|
||||
@@ -1801,7 +1801,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
|
||||
if (death)
|
||||
{
|
||||
float velocity = spazmatismPhase3ChargeSpeed + 3f;
|
||||
float velocity = spazmatismPhase3ChargeSpeed * 0.75f;
|
||||
int type = (!retAlive && npc.ai[3] % 2f == 0f) ? ModContent.ProjectileType<ShadowflameFireball>() : ProjectileID.CursedFlameHostile;
|
||||
int damage = npc.GetProjectileDamage(type);
|
||||
|
||||
@@ -1817,19 +1817,14 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
}
|
||||
|
||||
Vector2 projectileVelocity = (Main.player[npc.target].Center + (!retAlive && bossRush ? Main.player[npc.target].velocity * 20f : Vector2.Zero) - npc.Center).SafeNormalize(Vector2.UnitY) * velocity;
|
||||
if (type == ProjectileID.CursedFlameHostile)
|
||||
int numProj = 3;
|
||||
int spread = 15;
|
||||
float rotation = MathHelper.ToRadians(spread);
|
||||
for (int i = 0; i < numProj; i++)
|
||||
{
|
||||
int numProj = 3;
|
||||
int spread = 30;
|
||||
float rotation = MathHelper.ToRadians(spread);
|
||||
for (int i = 0; i < numProj; i++)
|
||||
{
|
||||
Vector2 perturbedSpeed = projectileVelocity.RotatedBy(MathHelper.Lerp(-rotation, rotation, i / (float)(numProj - 1)));
|
||||
Projectile.NewProjectile(npc.GetSource_FromAI(), npc.Center + perturbedSpeed.SafeNormalize(Vector2.UnitY) * 25f, perturbedSpeed, type, damage, 0f, Main.myPlayer);
|
||||
}
|
||||
Vector2 perturbedSpeed = projectileVelocity.RotatedBy(MathHelper.Lerp(-rotation, rotation, i / (float)(numProj - 1)));
|
||||
Projectile.NewProjectile(npc.GetSource_FromAI(), npc.Center + perturbedSpeed.SafeNormalize(Vector2.UnitY) * 25f, perturbedSpeed, type, damage, 0f, Main.myPlayer);
|
||||
}
|
||||
else
|
||||
Projectile.NewProjectile(npc.GetSource_FromAI(), npc.Center + projectileVelocity.SafeNormalize(Vector2.UnitY) * 25f, projectileVelocity, type, damage, 0f, Main.myPlayer, 0f, 1f);
|
||||
}
|
||||
|
||||
npc.ai[1] = 4f;
|
||||
@@ -1849,7 +1844,7 @@ namespace CalamityMod.NPCs.VanillaNPCAIOverrides.Bosses
|
||||
if (npc.ai[2] == 0f)
|
||||
SoundEngine.PlaySound(SoundID.ForceRoar, npc.Center);
|
||||
|
||||
float spazmatismRetDeadChargeSpeed = ((!retAlive && npc.ai[3] == 4f) ? 75f : 50f) - (float)Math.Round(death ? 14f * ((phase2LifeRatio - lifeRatio) / phase2LifeRatio) : 0f);
|
||||
float spazmatismRetDeadChargeSpeed = ((!retAlive && npc.ai[3] == 4f) ? 75f : 50f) - (float)Math.Round(death ? ((!retAlive && npc.ai[3] == 4f) ? 15f : 10f) * ((phase2LifeRatio - lifeRatio) / phase2LifeRatio) : 0f);
|
||||
|
||||
npc.ai[2] += 1f;
|
||||
|
||||
|
||||
@@ -28,7 +28,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
Projectile.tileCollide = false;
|
||||
Projectile.penetrate = -1;
|
||||
Projectile.alpha = 255;
|
||||
Projectile.timeLeft = 600;
|
||||
Projectile.timeLeft = 900;
|
||||
}
|
||||
|
||||
public override void SendExtraAI(BinaryWriter writer)
|
||||
@@ -79,37 +79,11 @@ namespace CalamityMod.Projectiles.Boss
|
||||
return;
|
||||
}
|
||||
|
||||
// Fly away from other lasers
|
||||
float pushForce = death ? 0.12f : 0.08f;
|
||||
float pushDistance = death ? 120f : 80f;
|
||||
for (int k = 0; k < Main.maxProjectiles; k++)
|
||||
{
|
||||
Projectile otherProj = Main.projectile[k];
|
||||
// Short circuits to make the loop as fast as possible
|
||||
if (!otherProj.active || k == Projectile.whoAmI)
|
||||
continue;
|
||||
|
||||
// If the other projectile is indeed the same owned by the same player and they're too close, nudge them away.
|
||||
bool sameProjType = otherProj.type == Projectile.type;
|
||||
float taxicabDist = Vector2.Distance(Projectile.Center, otherProj.Center);
|
||||
if (sameProjType && taxicabDist < pushDistance)
|
||||
{
|
||||
if (Projectile.position.X < otherProj.position.X)
|
||||
Projectile.velocity.X -= pushForce;
|
||||
else
|
||||
Projectile.velocity.X += pushForce;
|
||||
|
||||
if (Projectile.position.Y < otherProj.position.Y)
|
||||
Projectile.velocity.Y -= pushForce;
|
||||
else
|
||||
Projectile.velocity.Y += pushForce;
|
||||
}
|
||||
}
|
||||
|
||||
Vector2 maxVelocity = new Vector2(death ? 16f : 12f, 16f);
|
||||
float maxAcceleration = death ? 0.6f : 0.4f;
|
||||
Vector2 maxVelocity = new Vector2(death ? 15f : 12f, death ? 15f : 12f);
|
||||
float maxAcceleration = death ? 0.5f : 0.4f;
|
||||
float timeBeforeHoming = death ? 30f : 45f;
|
||||
float explodeDistance = death ? 32f : 16f;
|
||||
float distanceAboveTargetBeforeHomingDownward = death ? 320f : 480f;
|
||||
float explodeDistance = 16f;
|
||||
if (Projectile.ai[0] == 0f)
|
||||
{
|
||||
Projectile.localAI[0] += 1f;
|
||||
@@ -132,7 +106,7 @@ namespace CalamityMod.Projectiles.Boss
|
||||
}
|
||||
else if (Projectile.ai[0] == 1f)
|
||||
{
|
||||
if (Main.player[(int)Projectile.ai[1]].Center.Y > Projectile.Center.Y + 80f)
|
||||
if (Main.player[(int)Projectile.ai[1]].Center.Y > Projectile.Center.Y + distanceAboveTargetBeforeHomingDownward)
|
||||
{
|
||||
Projectile.ai[0] = 2f;
|
||||
Projectile.netUpdate = true;
|
||||
@@ -190,6 +164,33 @@ namespace CalamityMod.Projectiles.Boss
|
||||
if (Projectile.velocity.Y > 0f && projectileVelocity.Y < 0f)
|
||||
Projectile.velocity.Y -= maxAcceleration;
|
||||
}
|
||||
|
||||
// Fly away from other lasers
|
||||
float pushForce = death ? 0.12f : 0.08f;
|
||||
float pushDistance = death ? 80f : 40f;
|
||||
for (int k = 0; k < Main.maxProjectiles; k++)
|
||||
{
|
||||
Projectile otherProj = Main.projectile[k];
|
||||
// Short circuits to make the loop as fast as possible
|
||||
if (!otherProj.active || k == Projectile.whoAmI)
|
||||
continue;
|
||||
|
||||
// If the other projectile is indeed the same owned by the same player and they're too close, nudge them away.
|
||||
bool sameProjType = otherProj.type == Projectile.type;
|
||||
float taxicabDist = Vector2.Distance(Projectile.Center, otherProj.Center);
|
||||
if (sameProjType && taxicabDist < pushDistance)
|
||||
{
|
||||
if (Projectile.position.X < otherProj.position.X)
|
||||
Projectile.velocity.X -= pushForce;
|
||||
else
|
||||
Projectile.velocity.X += pushForce;
|
||||
|
||||
if (Projectile.position.Y < otherProj.position.Y)
|
||||
Projectile.velocity.Y -= pushForce;
|
||||
else
|
||||
Projectile.velocity.Y += pushForce;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -229,8 +230,6 @@ namespace CalamityMod.Projectiles.Boss
|
||||
Main.dust[killDust].velocity *= 2f;
|
||||
Main.dust[killDust].noGravity = true;
|
||||
}
|
||||
|
||||
Projectile.Damage();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -64,12 +64,13 @@ namespace CalamityMod.Projectiles.Boss
|
||||
Projectile.ai[0] += 1f;
|
||||
if (Projectile.ai[0] >= 60f)
|
||||
{
|
||||
if (Projectile.ai[0] < (eaterOfWorlds ? 120f : 240f))
|
||||
if (Projectile.ai[0] < (eaterOfWorlds ? 180f : 240f))
|
||||
{
|
||||
float inertia = eaterOfWorlds ? 30f : 25f;
|
||||
float scaleFactor = Projectile.velocity.Length();
|
||||
playerDirection.Normalize();
|
||||
playerDirection *= scaleFactor;
|
||||
Projectile.velocity = (Projectile.velocity * 24f + playerDirection) / 25f;
|
||||
Projectile.velocity = (Projectile.velocity * (inertia - 1f) + playerDirection) / inertia;
|
||||
Projectile.velocity.Normalize();
|
||||
Projectile.velocity *= scaleFactor;
|
||||
}
|
||||
|
||||
@@ -49,6 +49,9 @@ namespace CalamityMod.Projectiles
|
||||
// Source variables.
|
||||
public bool CreatedByPlayerDash = false;
|
||||
|
||||
// Speed cap for accelerating boss laser projectiles with 2 extraUpdates.
|
||||
public const float AcceleratingBossLaserVelocityCap = 10f;
|
||||
|
||||
// Damage Adjusters
|
||||
public const float PierceResistHarshness = 0.12f;
|
||||
public const float PierceResistCap = 0.8f;
|
||||
@@ -350,7 +353,7 @@ namespace CalamityMod.Projectiles
|
||||
homingEndTime += 60f;
|
||||
|
||||
// Stop homing when within a certain distance of the target
|
||||
if (Vector2.Distance(projectile.Center, Main.player[num133].Center) < 80f && projectile.ai[1] < homingEndTime)
|
||||
if (Vector2.Distance(projectile.Center, Main.player[num133].Center) < 96f && projectile.ai[1] < homingEndTime)
|
||||
projectile.ai[1] = homingEndTime;
|
||||
|
||||
if (projectile.ai[1] < homingEndTime && projectile.ai[1] > homingStartTime)
|
||||
@@ -638,7 +641,7 @@ namespace CalamityMod.Projectiles
|
||||
projectile.localAI[1] = 1f;
|
||||
}
|
||||
|
||||
if (projectile.velocity.Length() < 12f)
|
||||
if (projectile.velocity.Length() < AcceleratingBossLaserVelocityCap)
|
||||
projectile.velocity *= 1.0025f;
|
||||
|
||||
return false;
|
||||
@@ -661,7 +664,7 @@ namespace CalamityMod.Projectiles
|
||||
projectile.localAI[1] = 1f;
|
||||
}
|
||||
|
||||
if (projectile.velocity.Length() < 12f)
|
||||
if (projectile.velocity.Length() < AcceleratingBossLaserVelocityCap)
|
||||
projectile.velocity *= 1.0025f;
|
||||
|
||||
return false;
|
||||
@@ -2368,7 +2371,7 @@ namespace CalamityMod.Projectiles
|
||||
projectile.localAI[1] = 1f;
|
||||
}
|
||||
|
||||
if (projectile.velocity.Length() < 12f)
|
||||
if (projectile.velocity.Length() < AcceleratingBossLaserVelocityCap)
|
||||
projectile.velocity *= 1.0025f;
|
||||
|
||||
return false;
|
||||
@@ -2411,6 +2414,10 @@ namespace CalamityMod.Projectiles
|
||||
|
||||
float amount = MathHelper.Lerp(minAcceleration, maxAcceleration, Utils.GetLerpValue(spreadOutCutoffTime, 30f, projectile.timeLeft, clamped: true));
|
||||
projectile.velocity = Vector2.SmoothStep(projectile.velocity, velocity, amount);
|
||||
|
||||
// Stop homing when within a certain distance of the target
|
||||
if (Vector2.Distance(projectile.Center, Main.player[playerIndex].Center) < 96f && projectile.timeLeft > homeInCutoffTime)
|
||||
projectile.timeLeft = (int)homeInCutoffTime;
|
||||
}
|
||||
|
||||
if (projectile.timeLeft <= 3)
|
||||
@@ -2589,6 +2596,110 @@ namespace CalamityMod.Projectiles
|
||||
return false;
|
||||
}
|
||||
|
||||
else if (projectile.type == ProjectileID.InfernoHostileBolt && projectile.ai[2] > 0f)
|
||||
{
|
||||
if (projectile.localAI[0] == 0f)
|
||||
{
|
||||
SoundEngine.PlaySound(SoundID.Item20, projectile.position);
|
||||
projectile.localAI[0] += 1f;
|
||||
}
|
||||
|
||||
bool killX = false;
|
||||
bool killY = false;
|
||||
if (projectile.velocity.X < 0f && projectile.position.X < projectile.ai[0])
|
||||
killX = true;
|
||||
|
||||
if (projectile.velocity.X > 0f && projectile.position.X > projectile.ai[0])
|
||||
killX = true;
|
||||
|
||||
if (projectile.velocity.Y < 0f && projectile.position.Y < projectile.ai[1])
|
||||
killY = true;
|
||||
|
||||
if (projectile.velocity.Y > 0f && projectile.position.Y > projectile.ai[1])
|
||||
killY = true;
|
||||
|
||||
if (killX && killY)
|
||||
projectile.Kill();
|
||||
|
||||
for (int i = 0; i < 10; i++)
|
||||
{
|
||||
int dust = Dust.NewDust(projectile.position, projectile.width, projectile.height, DustID.IchorTorch, projectile.velocity.X * 0.2f, projectile.velocity.Y * 0.2f, 100, default, 1.6f);
|
||||
Main.dust[dust].noGravity = true;
|
||||
Main.dust[dust].velocity *= 0.3f;
|
||||
Main.dust[dust].velocity += projectile.velocity * 0.1f;
|
||||
if (Main.getGoodWorld)
|
||||
Main.dust[dust].noLight = true;
|
||||
}
|
||||
|
||||
Particle theSpark = new AltSparkParticle(projectile.Center, projectile.velocity * 0.06f + projectile.velocity * 0.1f, false, 40, 1f, new Color(255, 255, 100));
|
||||
GeneralParticleHandler.SpawnParticle(theSpark);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
else if (projectile.type == ProjectileID.InfernoHostileBlast && projectile.ai[2] > 0f)
|
||||
{
|
||||
if (projectile.localAI[0] == 0f)
|
||||
{
|
||||
SoundEngine.PlaySound(SoundID.Item74, projectile.position);
|
||||
projectile.localAI[0] += 1f;
|
||||
}
|
||||
|
||||
projectile.ai[0] += 1f;
|
||||
|
||||
float totalDust = 20f;
|
||||
if (projectile.ai[0] > 540f)
|
||||
totalDust -= (projectile.ai[0] - 180f) / 2f;
|
||||
|
||||
if (totalDust <= 0f)
|
||||
{
|
||||
totalDust = 0f;
|
||||
projectile.Kill();
|
||||
}
|
||||
|
||||
float maxDustVelocityX = 10f;
|
||||
float maxDustVelocityY = 10f;
|
||||
float minDustSpeed = 3f;
|
||||
float maxDustSpeed = 8f;
|
||||
|
||||
for (int i = 0; i < (int)totalDust; i++)
|
||||
{
|
||||
float dustVelocityX = Main.rand.NextFloat(-maxDustVelocityX, maxDustVelocityX);
|
||||
float dustVelocityY = Main.rand.NextFloat(-maxDustVelocityY, maxDustVelocityY);
|
||||
float randomDustSpeed = Main.rand.NextFloat(minDustSpeed, maxDustSpeed);
|
||||
float velocityLength = (float)Math.Sqrt(dustVelocityX * dustVelocityX + dustVelocityY * dustVelocityY);
|
||||
velocityLength = randomDustSpeed / velocityLength;
|
||||
dustVelocityX *= velocityLength;
|
||||
dustVelocityY *= velocityLength;
|
||||
Vector2 dustVelocity = new Vector2(dustVelocityX, dustVelocityY);
|
||||
Vector2 dustPosition = projectile.Center + new Vector2(Main.rand.NextFloat(-10f, 10f), Main.rand.NextFloat(-10f, 10f));
|
||||
int dust = Dust.NewDust(projectile.position, projectile.width, projectile.height, DustID.IchorTorch, 0f, 0f, 100, default, 1.8f);
|
||||
Main.dust[dust].noGravity = true;
|
||||
Main.dust[dust].position = dustPosition;
|
||||
Main.dust[dust].velocity = dustVelocity;
|
||||
if (Main.getGoodWorld)
|
||||
Main.dust[dust].noLight = true;
|
||||
}
|
||||
|
||||
float maxSparkVelocityX = 10f;
|
||||
float maxSparkVelocityY = 10f;
|
||||
float minSparkSpeed = 3f;
|
||||
float maxSparkSpeed = 7f;
|
||||
|
||||
float sparkVelocityX = Main.rand.NextFloat(-maxSparkVelocityX, maxSparkVelocityX);
|
||||
float sparkVelocityY = Main.rand.NextFloat(-maxSparkVelocityY, maxSparkVelocityY);
|
||||
float randSparkSpeed = Main.rand.NextFloat(minSparkSpeed, maxSparkSpeed);
|
||||
float sparkLength = (float)Math.Sqrt(sparkVelocityX * sparkVelocityX + sparkVelocityY * sparkVelocityY);
|
||||
sparkLength = randSparkSpeed / sparkLength;
|
||||
sparkVelocityX *= sparkLength;
|
||||
sparkVelocityY *= sparkLength;
|
||||
|
||||
Particle theSpark = new AltSparkParticle(projectile.Center, new Vector2(sparkVelocityX, sparkVelocityY), false, 40, 1f, new Color(255, 255, 100));
|
||||
GeneralParticleHandler.SpawnParticle(theSpark);
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
else if (projectile.type == ProjectileID.AncientDoomProjectile)
|
||||
{
|
||||
if (projectile.velocity.Length() < 8f)
|
||||
@@ -3139,8 +3250,8 @@ namespace CalamityMod.Projectiles
|
||||
// ai[1] being set to 1 is done only by the Calamity usages of these projectiles in Skeletron and Skeletron Prime boss fights
|
||||
bool isSkeletronBossProjectile = (projectile.type == ProjectileID.RocketSkeleton || projectile.type == ProjectileID.Shadowflames) && projectile.ai[1] > 0f;
|
||||
|
||||
// These projectiles will not be buffed if Golem is alive
|
||||
bool isGolemBossProjectile = NPC.golemBoss > 0 && (projectile.type == ProjectileID.InfernoHostileBolt || projectile.type == ProjectileID.InfernoHostileBlast);
|
||||
// These projectiles will not be buffed if Golem fires them
|
||||
bool isGolemBossProjectile = (projectile.type == ProjectileID.InfernoHostileBolt || projectile.type == ProjectileID.InfernoHostileBlast) && projectile.ai[2] > 0f;
|
||||
|
||||
if (!isSkeletronBossProjectile && !isGolemBossProjectile)
|
||||
projectile.damage += 30;
|
||||
@@ -3831,10 +3942,6 @@ namespace CalamityMod.Projectiles
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Crystal bullet projectiles deal 50% of the bullet's damage which is absurd in vanilla, this nerfs them to 27.5%
|
||||
if (projectile.type == ProjectileID.CrystalShard)
|
||||
modifiers.SourceDamage *= 0.55f;
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -4168,6 +4275,7 @@ namespace CalamityMod.Projectiles
|
||||
{
|
||||
bool masterRevSkeletronPrimeBomb = projectile.type == ProjectileID.BombSkeletronPrime && projectile.ai[0] < 0f && (Main.masterMode || BossRushEvent.BossRushActive);
|
||||
bool revQueenBeeBeeHive = projectile.type == ProjectileID.BeeHive && (CalamityWorld.revenge || BossRushEvent.BossRushActive) && (projectile.ai[2] == 1f || CalamityWorld.death) && projectile.wet;
|
||||
bool revGolemInferno = projectile.type == ProjectileID.InfernoHostileBolt && projectile.ai[2] > 0f;
|
||||
|
||||
if (revQueenBeeBeeHive)
|
||||
{
|
||||
@@ -4296,9 +4404,17 @@ namespace CalamityMod.Projectiles
|
||||
if (Main.netMode != NetmodeID.SinglePlayer)
|
||||
NetMessage.SendData(MessageID.KillProjectile, -1, -1, null, projectile.identity, projectile.owner);
|
||||
}
|
||||
|
||||
else if (revGolemInferno)
|
||||
{
|
||||
Projectile.NewProjectile(projectile.GetSource_FromThis(), projectile.Center, Vector2.Zero, ProjectileID.InfernoHostileBlast, projectile.damage, projectile.knockBack, projectile.owner, 0f, 0f, projectile.ai[2]);
|
||||
|
||||
if (Main.netMode != NetmodeID.SinglePlayer)
|
||||
NetMessage.SendData(MessageID.KillProjectile, -1, -1, null, projectile.identity, projectile.owner);
|
||||
}
|
||||
}
|
||||
|
||||
if (masterRevSkeletronPrimeBomb || revQueenBeeBeeHive)
|
||||
if (masterRevSkeletronPrimeBomb || revQueenBeeBeeHive || revGolemInferno)
|
||||
{
|
||||
projectile.active = false;
|
||||
return false;
|
||||
|
||||
@@ -125,6 +125,7 @@ namespace CalamityMod.Projectiles
|
||||
{ ProjectileID.ButchersChainsaw, Do(TrueMeleeNoSpeed, ArmorPenetrationDelta(+15), LocalIFrames(5), ScaleExact(1.5f)) },
|
||||
{ ProjectileID.ChlorophyteChainsaw, standardChainsawTweaks },
|
||||
{ ProjectileID.ChlorophyteDrill, standardDrillTweaks },
|
||||
{ ProjectileID.ClothiersCurse, Do(PiercingExact(3), LocalIFrames(-1)) },
|
||||
{ ProjectileID.CobaltChainsaw, standardChainsawTweaks },
|
||||
{ ProjectileID.CobaltDrill, standardDrillTweaks },
|
||||
{ ProjectileID.CrystalBullet, standardBulletTweaks },
|
||||
|
||||
@@ -31,7 +31,6 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
Projectile.width = 36;
|
||||
Projectile.height = 36;
|
||||
AIType = ProjectileID.DeathSickle;
|
||||
Projectile.friendly = true;
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.DamageType = DamageClass.Melee;
|
||||
|
||||
@@ -2,11 +2,13 @@
|
||||
using System.Collections.Generic;
|
||||
using System.IO;
|
||||
using System.Linq;
|
||||
using CalamityMod.Balancing;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using CalamityMod.Dusts;
|
||||
using CalamityMod.Graphics.Primitives;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Projectiles.Healing;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using ReLogic.Content;
|
||||
@@ -333,7 +335,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
|
||||
// Create a bunch of homing beams.
|
||||
int beamShootStart = (int)(SwingTime * 0.6f);
|
||||
int beamShootPeriod = (int)(SwingTime * 0.35f);
|
||||
int beamShootPeriod = (int)(SwingTime * 0.4f);
|
||||
int beamShootEnd = beamShootStart + beamShootPeriod;
|
||||
beamShootPeriod /= (Exoblade.BeamsPerSwing - 1);
|
||||
|
||||
@@ -615,6 +617,12 @@ namespace CalamityMod.Projectiles.Melee
|
||||
int explosionDamage = (int)(Projectile.damage * Exoblade.ExplosionDamageFactor);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromAI(), target.Center, Vector2.Zero, ModContent.ProjectileType<Exoboom>(), explosionDamage, 0f, Projectile.owner);
|
||||
}
|
||||
|
||||
if (target.lifeMax <= 5 || Owner.lifeSteal <= 0)
|
||||
return;
|
||||
|
||||
int healAmt = (int)Math.Round(hit.Damage * 0.04);
|
||||
CalamityGlobalProjectile.SpawnLifeStealProjectile(Projectile, Owner, healAmt, ModContent.ProjectileType<ReaverHealOrb>(), BalancingConstants.LifeStealRange);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using CalamityMod.Items.Weapons.Melee;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
@@ -8,6 +9,15 @@ namespace CalamityMod.Projectiles.Melee
|
||||
public class ForbiddenOathbladeProjectile : ModProjectile, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Projectiles.Melee";
|
||||
|
||||
private const float MaxVelocity = ExaltedOathblade.ShootSpeed * 4f;
|
||||
|
||||
private const int FadeOutTime = 85;
|
||||
|
||||
private const int TimeLeft = 435 + FadeOutTime;
|
||||
|
||||
private const int Alpha = 100;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ProjectileID.Sets.TrailCacheLength[Projectile.type] = 10;
|
||||
@@ -18,23 +28,51 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
Projectile.width = 46;
|
||||
Projectile.height = 46;
|
||||
Projectile.aiStyle = ProjAIStyleID.Sickle;
|
||||
Projectile.alpha = 100;
|
||||
Projectile.alpha = Alpha;
|
||||
Projectile.timeLeft = TimeLeft;
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.friendly = true;
|
||||
Projectile.DamageType = DamageClass.Melee;
|
||||
Projectile.tileCollide = true;
|
||||
Projectile.penetrate = 3;
|
||||
Projectile.MaxUpdates = 2;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = 20;
|
||||
AIType = ProjectileID.DemonScythe;
|
||||
Projectile.localNPCHitCooldown = 20 * Projectile.MaxUpdates;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
Lighting.AddLight(Projectile.Center, 0.35f, 0f, 0.35f);
|
||||
float alphaLightScale = Projectile.alpha / (float)Alpha;
|
||||
Lighting.AddLight(Projectile.Center, 0.5f * alphaLightScale, 0f, 0.5f * alphaLightScale);
|
||||
|
||||
if (Main.rand.NextBool(3))
|
||||
Dust.NewDust(Projectile.position + Projectile.velocity, Projectile.width, Projectile.height, DustID.ShadowbeamStaff, Projectile.velocity.X * 0.25f, Projectile.velocity.Y * 0.25f);
|
||||
if (Projectile.timeLeft > FadeOutTime)
|
||||
{
|
||||
if (Projectile.velocity.Length() < MaxVelocity)
|
||||
Projectile.velocity *= 1.03f;
|
||||
}
|
||||
else
|
||||
Projectile.velocity *= 0.95f;
|
||||
|
||||
if (Projectile.velocity.X < 0f)
|
||||
Projectile.spriteDirection = -1;
|
||||
|
||||
Projectile.rotation += Projectile.direction * 0.025f;
|
||||
if (Projectile.timeLeft > FadeOutTime)
|
||||
Projectile.rotation += Projectile.direction * 0.25f;
|
||||
else
|
||||
Projectile.rotation += Projectile.direction * 0.25f * (Projectile.timeLeft / (float)FadeOutTime);
|
||||
}
|
||||
|
||||
public override Color? GetAlpha(Color lightColor)
|
||||
{
|
||||
if (Projectile.timeLeft < FadeOutTime)
|
||||
{
|
||||
byte b2 = (byte)(Projectile.timeLeft * 3);
|
||||
byte a2 = (byte)(Alpha * ((float)b2 / byte.MaxValue));
|
||||
Projectile.alpha = a2;
|
||||
return new Color(b2, b2, b2, Projectile.alpha);
|
||||
}
|
||||
Projectile.alpha = Alpha;
|
||||
return new Color(byte.MaxValue, byte.MaxValue, byte.MaxValue, Projectile.alpha);
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
|
||||
@@ -31,7 +31,6 @@ namespace CalamityMod.Projectiles.Melee
|
||||
{
|
||||
Projectile.width = 36;
|
||||
Projectile.height = 36;
|
||||
AIType = ProjectileID.DeathSickle;
|
||||
Projectile.friendly = true;
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.DamageType = DamageClass.Melee;
|
||||
|
||||
@@ -40,21 +40,18 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<AstralInfectionDebuff>(), 300);
|
||||
if (hit.Crit)
|
||||
var source = Projectile.GetSource_FromThis();
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
var source = Projectile.GetSource_FromThis();
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
if (Projectile.owner == Main.myPlayer)
|
||||
if (Projectile.owner == Main.myPlayer)
|
||||
{
|
||||
Projectile star = CalamityUtils.ProjectileBarrage(source, Projectile.Center, target.Center, Main.rand.NextBool(), 800f, 800f, 800f, 800f, 10f, ModContent.ProjectileType<AstralStar>(), (int)(Projectile.damage * 0.33), 1f, Projectile.owner, true);
|
||||
if (star.whoAmI.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
Projectile star = CalamityUtils.ProjectileBarrage(source, Projectile.Center, target.Center, Main.rand.NextBool(), 800f, 800f, 800f, 800f, 10f, ModContent.ProjectileType<AstralStar>(), (int)(Projectile.damage * 0.4), 1f, Projectile.owner, true);
|
||||
if (star.whoAmI.WithinBounds(Main.maxProjectiles))
|
||||
{
|
||||
star.DamageType = DamageClass.Melee;
|
||||
star.ai[0] = 3f;
|
||||
}
|
||||
star.DamageType = DamageClass.Melee;
|
||||
star.ai[0] = 3f;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
public override void ModifyHitPlayer(Player target, ref Player.HurtModifiers modifiers) => modifiers.ScalingArmorPenetration += 0.1f;
|
||||
|
||||
// Inflicts Plague for 0.75 seconds
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<Plague>(), 45);
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<Plague>(), 60);
|
||||
|
||||
public override void OnKill(int timeLeft)
|
||||
{
|
||||
|
||||
@@ -92,12 +92,12 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
for (int b = 0; b < 3; b++)
|
||||
{
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, new Vector2(0, -10).RotatedByRandom(0.8f) * Main.rand.NextFloat(0.9f, 1.1f), ModContent.ProjectileType<CinderArrowProj>(), (int)(Projectile.damage * 0.05f), 0f, Projectile.owner, 0f, 0f, 1f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, new Vector2(0, -10).RotatedByRandom(0.8f) * Main.rand.NextFloat(0.9f, 1.1f), ModContent.ProjectileType<CinderArrowProj>(), (int)(Projectile.damage * 0.1f), 0f, Projectile.owner, 0f, 0f, 1f);
|
||||
}
|
||||
|
||||
if (Projectile.owner == Main.myPlayer)
|
||||
{
|
||||
Projectile.damage = (int)(Projectile.damage * 0.3f);
|
||||
Projectile.damage = (int)(Projectile.damage * 0.5f);
|
||||
Projectile.penetrate = -1;
|
||||
Projectile.ExpandHitboxBy(110);
|
||||
Projectile.Damage();
|
||||
|
||||
@@ -51,7 +51,11 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Vector2 targetPosition = target == null ? Projectile.Center : target.Center;
|
||||
Vector2 spawnSpot = (target == null ? Projectile.Center : target.Center) + new Vector2(Main.rand.NextFloat(-450, 450), Main.rand.NextFloat(-750, -950));
|
||||
|
||||
Vector2 velocity = (targetPosition - spawnSpot).SafeNormalize(Vector2.UnitX) * 20;
|
||||
Vector2 velocity;
|
||||
if (target == null)
|
||||
velocity = (targetPosition - spawnSpot).SafeNormalize(Vector2.UnitX) * 20;
|
||||
else
|
||||
velocity = CalamityUtils.CalculatePredictiveAimToTargetMaxUpdates(spawnSpot, target, 20f, ElysianArrowRain.MaxUpdate);
|
||||
|
||||
if (targetDist < 1400f)
|
||||
{
|
||||
|
||||
@@ -15,6 +15,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
public new string LocalizationCategory => "Projectiles.Ranged";
|
||||
public override string Texture => "CalamityMod/Projectiles/InvisibleProj";
|
||||
|
||||
public static int MaxUpdate = 7;
|
||||
private int Lifetime = 110;
|
||||
private static Color ShaderColorOne = Color.Khaki;
|
||||
private static Color ShaderColorTwo = Color.White;
|
||||
@@ -37,7 +38,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Projectile.tileCollide = false;
|
||||
Projectile.ignoreWater = true;
|
||||
Projectile.timeLeft = Lifetime;
|
||||
Projectile.extraUpdates = 6;
|
||||
Projectile.MaxUpdates = MaxUpdate;
|
||||
Projectile.penetrate = -1;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = -1;
|
||||
@@ -126,7 +127,11 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
Vector2 targetPosition = Projectile.numHits == 1 ? (target == null ? Projectile.Center : target.Center) : altSpawn;
|
||||
Vector2 spawnSpot = (Projectile.numHits == 1 ? (target == null ? Projectile.Center : target.Center) : altSpawn) + new Vector2(Main.rand.NextFloat(-450, 450), Main.rand.NextFloat(750, 950));
|
||||
|
||||
Vector2 velocity = (targetPosition - spawnSpot).SafeNormalize(Vector2.UnitX) * 20;
|
||||
Vector2 velocity;
|
||||
if (target == null)
|
||||
velocity = (targetPosition - spawnSpot).SafeNormalize(Vector2.UnitX) * 20;
|
||||
else
|
||||
velocity = CalamityUtils.CalculatePredictiveAimToTargetMaxUpdates(spawnSpot, target, 20f, MaxUpdate);
|
||||
|
||||
if (targetDist < 1400f)
|
||||
{
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
WaterFlavoredParticle subTrail = new WaterFlavoredParticle(Projectile.Center + velocity * 4.5f + addedPlacement, velocity * 7, false, 6, 0.65f, Color.SkyBlue);
|
||||
GeneralParticleHandler.SpawnParticle(subTrail);
|
||||
}
|
||||
int onHitDamage = Owner.CalcIntDamage<RangedDamageClass>(0.2f * Projectile.damage);
|
||||
int onHitDamage = Owner.CalcIntDamage<RangedDamageClass>(0.33f * Projectile.damage);
|
||||
Owner.ApplyDamageToNPC(target, onHitDamage, 0f, 0, false);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -130,7 +130,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
for (int b = 0; b < 3; b++)
|
||||
{
|
||||
Vector2 velocity = Projectile.velocity.RotatedByRandom(0.5f);
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity * 0.7f, ModContent.ProjectileType<HyperiusSplit>(), (int)(Projectile.damage * 0.35), Projectile.knockBack * 2f, Projectile.owner, 0f, 0f, Main.rand.Next(0, 4 + 1));
|
||||
Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity * 0.7f, ModContent.ProjectileType<HyperiusSplit>(), (int)(Projectile.damage * 0.15), Projectile.knockBack * 2f, Projectile.owner, 0f, 0f, Main.rand.Next(0, 4 + 1));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using CalamityMod.Particles;
|
||||
using CalamityMod.Items.Ammo;
|
||||
using CalamityMod.Particles;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
@@ -95,5 +96,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
}
|
||||
}
|
||||
public override bool? CanDamage() => Projectile.localAI[0] < 20 ? false : null;
|
||||
|
||||
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) => modifiers.SourceDamage.Flat += HyperiusBullet.SplitBulletBonusDamage;
|
||||
}
|
||||
}
|
||||
@@ -35,7 +35,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
SoundEngine.PlaySound(SoundID.Item14, Projectile.Center);
|
||||
|
||||
int size = NPCHit ? 50 : 70; //Bigger explosion if no npc is hit
|
||||
int size = NPCHit ? 60 : 90; //Bigger explosion if no npc is hit
|
||||
Projectile.scale = (size / (float)Projectile.height) * Projectile.scale;
|
||||
|
||||
Projectile.position -= Vector2.One * (size - Projectile.width) * 0.5f;
|
||||
|
||||
@@ -16,6 +16,8 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
|
||||
public bool DashShot => Projectile.ai[1] == 3f; // the big shot
|
||||
public bool PostDashShot => Projectile.ai[1] == 2f; // the higher velocity post dash shots
|
||||
public Color MainColor;
|
||||
public bool PostHit = false;
|
||||
|
||||
public static readonly SoundStyle ShotImpact = new("CalamityMod/Sounds/Item/SplatshotImpact") { PitchVariance = 0.3f, Volume = 2.5f };
|
||||
public static readonly SoundStyle ShotImpactBig = new("CalamityMod/Sounds/Item/SplatshotBigImpact") { PitchVariance = 0.3f, Volume = 4f };
|
||||
@@ -30,25 +32,52 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
{
|
||||
Projectile.width = Projectile.height = 14;
|
||||
Projectile.friendly = true;
|
||||
Projectile.penetrate = 1;
|
||||
Projectile.penetrate = -1;
|
||||
Projectile.MaxUpdates = 2;
|
||||
Projectile.timeLeft = 150 * Projectile.MaxUpdates;
|
||||
Projectile.DamageType = DamageClass.Ranged;
|
||||
Projectile.Calamity().pointBlankShotDuration = CalamityGlobalProjectile.DefaultPointBlankDuration;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = -1;
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
{
|
||||
if (PostHit)
|
||||
{
|
||||
Projectile.velocity = Projectile.velocity * 0.01f;
|
||||
Projectile.scale *= 0.95f;
|
||||
Projectile.tileCollide = false;
|
||||
}
|
||||
switch (Projectile.ai[0])
|
||||
{
|
||||
case 0:
|
||||
default:
|
||||
MainColor = Color.Cyan;
|
||||
break;
|
||||
case 1:
|
||||
MainColor = Color.Blue;
|
||||
break;
|
||||
case 2:
|
||||
MainColor = Color.Magenta;
|
||||
break;
|
||||
case 3:
|
||||
MainColor = Color.Lime;
|
||||
break;
|
||||
case 4:
|
||||
MainColor = Color.Yellow;
|
||||
break;
|
||||
}
|
||||
|
||||
if (Projectile.ai[2] != 1f)
|
||||
{
|
||||
if (DashShot)
|
||||
{
|
||||
Projectile.scale = 2f;
|
||||
Projectile.penetrate = 4;
|
||||
Projectile.MaxUpdates = 30;
|
||||
Projectile.usesLocalNPCImmunity = true;
|
||||
Projectile.localNPCHitCooldown = -1;
|
||||
Projectile.timeLeft = 60 * Projectile.MaxUpdates;
|
||||
Projectile.extraUpdates = 90;
|
||||
Projectile.timeLeft = 120 * Projectile.extraUpdates;
|
||||
Projectile.velocity *= 0.3f;
|
||||
}
|
||||
else if (PostDashShot)
|
||||
Projectile.MaxUpdates = 3;
|
||||
@@ -57,11 +86,14 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
}
|
||||
|
||||
Projectile.rotation = Projectile.velocity.ToRotation() + MathHelper.PiOver2;
|
||||
Projectile.velocity *= (DashShot ? 1f : PostDashShot ? 0.985f : 0.97f);
|
||||
Projectile.velocity.Y += (DashShot ? 0f : PostDashShot ? 0.15f : 0.25f);
|
||||
if (!PostHit)
|
||||
{
|
||||
Projectile.velocity *= (DashShot ? 1f : PostDashShot ? 0.985f : 0.97f);
|
||||
Projectile.velocity.Y += (DashShot ? 0f : PostDashShot ? 0.15f : 0.25f);
|
||||
}
|
||||
Color ColorUsed = GetColor(Projectile.ai[0]);
|
||||
|
||||
if (Main.rand.NextBool(20) && !DashShot)
|
||||
if (Main.rand.NextBool(20) && !DashShot && !PostHit)
|
||||
{
|
||||
Dust dust = Dust.NewDustPerfect(Projectile.Center, 192);
|
||||
dust.noLight = true;
|
||||
@@ -73,24 +105,26 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
}
|
||||
if (DashShot)
|
||||
{
|
||||
Dust dust2 = Dust.NewDustPerfect(Projectile.Center + new Vector2(Main.rand.Next(-5, 5), Main.rand.Next(-5, 5)), 279);
|
||||
dust2.noLightEmittence = true;
|
||||
dust2.noGravity = true;
|
||||
dust2.scale = Main.rand.NextFloat(2.5f, 3.8f);
|
||||
dust2.velocity = Vector2.Zero;
|
||||
dust2.color = ColorUsed;
|
||||
dust2.alpha = 15;
|
||||
|
||||
for (int i = 0; i <= 2; i++)
|
||||
Player Owner = Main.player[Projectile.owner];
|
||||
float targetDist = Vector2.Distance(Owner.Center, Projectile.Center);
|
||||
if (targetDist < 1400f)
|
||||
{
|
||||
Dust dust = Dust.NewDustPerfect(Projectile.Center, 192);
|
||||
dust.noLight = true;
|
||||
dust.noGravity = false;
|
||||
dust.scale = Main.rand.NextFloat(1.3f, 1.5f);
|
||||
dust.velocity = new Vector2(Main.rand.Next(-1, 1), Main.rand.Next(0, 8)).RotatedByRandom(MathHelper.ToRadians(10f)) * Main.rand.NextFloat(0.05f, 0.3f);
|
||||
dust.color = ColorUsed;
|
||||
dust.alpha = Main.rand.Next(145, 240);
|
||||
GlowOrbParticle spark = new GlowOrbParticle(Projectile.Center, -Projectile.velocity * Main.rand.NextFloat(-0.01f, 0.01f), false, 15, 1.35f, MainColor, true, false, false);
|
||||
GeneralParticleHandler.SpawnParticle(spark);
|
||||
}
|
||||
if (targetDist < 1400f && Main.rand.NextBool())
|
||||
{
|
||||
GlowOrbParticle spark = new GlowOrbParticle(Projectile.Center + Projectile.velocity * Main.rand.NextFloat(-2f, 2f), -Projectile.velocity * Main.rand.NextFloat(-0.01f, 0.01f), false, 15, 1.35f, MainColor, true, false, false);
|
||||
GeneralParticleHandler.SpawnParticle(spark);
|
||||
}
|
||||
|
||||
Dust dust = Dust.NewDustPerfect(Projectile.Center, 192);
|
||||
dust.noLight = true;
|
||||
dust.noGravity = false;
|
||||
dust.scale = Main.rand.NextFloat(1.3f, 1.5f);
|
||||
dust.velocity = new Vector2(Main.rand.Next(-1, 1), Main.rand.Next(0, 8)).RotatedByRandom(MathHelper.ToRadians(10f)) * Main.rand.NextFloat(0.05f, 0.3f);
|
||||
dust.color = ColorUsed;
|
||||
dust.alpha = Main.rand.Next(145, 240);
|
||||
}
|
||||
if (Projectile.timeLeft == 300 && DashShot)
|
||||
{
|
||||
@@ -118,6 +152,7 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
}
|
||||
|
||||
}
|
||||
public override bool? CanHitNPC(NPC target) => !PostHit ? null : false;
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
Color ColorUsed = GetColor(Projectile.ai[0]);
|
||||
@@ -126,31 +161,43 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
if (Projectile.numHits == 0)
|
||||
SoundEngine.PlaySound(ShotImpactBig, Projectile.position);
|
||||
|
||||
Vector2 BurstFXDirection = new Vector2(5, 0).RotatedByRandom(100);
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
CritSpark spark = new CritSpark(Projectile.Center, Vector2.Zero, Color.White, ColorUsed, 5.5f, 7, 10f, 4.5f);
|
||||
SparkParticle spark = new SparkParticle(Projectile.Center, (BurstFXDirection) * (i + 1), false, 7, 1.5f - i * 0.6f, MainColor * 0.8f);
|
||||
GeneralParticleHandler.SpawnParticle(spark);
|
||||
}
|
||||
for (int i = 0; i < 2; i++)
|
||||
{
|
||||
SparkParticle spark = new SparkParticle(Projectile.Center, (-BurstFXDirection) * (i + 1), false, 7, 1.5f - i * 0.6f, MainColor * 0.8f);
|
||||
GeneralParticleHandler.SpawnParticle(spark);
|
||||
}
|
||||
|
||||
Particle orb = new GenericBloom(Projectile.Center, Vector2.Zero, MainColor, 0.6f, 13, false);
|
||||
GeneralParticleHandler.SpawnParticle(orb);
|
||||
Particle orb2 = new GenericBloom(Projectile.Center, Vector2.Zero, Color.White, 0.5f, 12, false);
|
||||
GeneralParticleHandler.SpawnParticle(orb2);
|
||||
}
|
||||
else
|
||||
{
|
||||
for (int i = 0; i <= 8; i++)
|
||||
{
|
||||
Dust dust = Dust.NewDustPerfect(Projectile.Center + Main.rand.NextVector2Circular(7, 7), 192, Projectile.velocity.RotatedByRandom(MathHelper.ToRadians(20f)) * Main.rand.NextFloat(0.05f, 0.45f), 0, default, Main.rand.NextFloat(0.6f, 1.2f));
|
||||
dust.noLight = true;
|
||||
dust.noGravity = false;
|
||||
dust.color = GetColor(Projectile.ai[0]);
|
||||
dust.alpha = 75;
|
||||
}
|
||||
Projectile.timeLeft = 15;
|
||||
PostHit = true;
|
||||
}
|
||||
}
|
||||
public override void OnKill(int timeLeft)
|
||||
public override bool OnTileCollide(Vector2 oldVelocity)
|
||||
{
|
||||
if (!DashShot)
|
||||
SoundEngine.PlaySound(ShotImpact, Projectile.position);
|
||||
|
||||
for (int i = 0; i <= 8; i++)
|
||||
{
|
||||
Dust dust = Dust.NewDustPerfect(Projectile.position, 192, Projectile.velocity.RotatedByRandom(MathHelper.ToRadians(20f)) * Main.rand.NextFloat(0.05f, 0.3f), 0, default, Main.rand.NextFloat(0.6f, 1.2f));
|
||||
dust.noLight = true;
|
||||
dust.noGravity = false;
|
||||
dust.color = GetColor(Projectile.ai[0]);
|
||||
dust.alpha = 75;
|
||||
}
|
||||
|
||||
for (int i = 0; i < 3; i++)
|
||||
{
|
||||
Vector2 paintPos = Projectile.Center + Main.rand.NextVector2Circular(12f, 12f) + (Projectile.velocity.SafeNormalize(Vector2.UnitY)).RotatedByRandom(MathHelper.ToRadians(30f)) * Main.rand.NextFloat(4f, 20f);
|
||||
float paintSize = Main.rand.NextFloat(60f, 100f);
|
||||
float paintSize = Main.rand.NextFloat(40f, 70f);
|
||||
switch (Projectile.ai[0])
|
||||
{
|
||||
case 0:
|
||||
@@ -171,6 +218,14 @@ namespace CalamityMod.Projectiles.Ranged
|
||||
break;
|
||||
}
|
||||
}
|
||||
Projectile.timeLeft = 15;
|
||||
PostHit = true;
|
||||
return false;
|
||||
}
|
||||
public override void OnKill(int timeLeft)
|
||||
{
|
||||
if (!DashShot)
|
||||
SoundEngine.PlaySound(ShotImpact, Projectile.position);
|
||||
}
|
||||
|
||||
public static Color GetColor(float type) => type == 0 ? Color.Aqua : type == 1 ? Color.Blue : type == 2 ? Color.Fuchsia : type == 3 ? Color.Lime : Color.Yellow;
|
||||
|
||||
@@ -19,23 +19,13 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
Projectile.height = 34;
|
||||
Projectile.friendly = true;
|
||||
Projectile.penetrate = 1;
|
||||
Projectile.aiStyle = ProjAIStyleID.ThrownProjectile;
|
||||
Projectile.timeLeft = 200;
|
||||
Projectile.tileCollide = true;
|
||||
Projectile.alpha = 0;
|
||||
AIType = ProjectileID.ThrowingKnife;
|
||||
Projectile.DamageType = RogueDamageClass.Instance;
|
||||
}
|
||||
public override void AI()
|
||||
{
|
||||
Projectile.ai[0] += 1f; //arbitrary timer
|
||||
if (Projectile.ai[0] > 75f)
|
||||
{
|
||||
if (Projectile.velocity.Y < 10f)
|
||||
{
|
||||
Projectile.velocity.Y += 0.15f;
|
||||
}
|
||||
}
|
||||
Projectile.rotation += MathHelper.ToRadians(Projectile.velocity.Length());
|
||||
}
|
||||
public override void OnKill(int timeLeft)
|
||||
{
|
||||
//Dust
|
||||
@@ -49,7 +39,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
Point result;
|
||||
if (WorldUtils.Find(Projectile.Top.ToTileCoordinates(), Searches.Chain((GenSearch)new Searches.Down(80), (GenCondition)new Conditions.IsSolid()), out result))
|
||||
{
|
||||
int proj = Projectile.NewProjectile(Projectile.GetSource_FromThis(), result.ToVector2() * 16f, Vector2.Zero, ModContent.ProjectileType<SulphuricNukesplosion>(), Projectile.damage, 2f, Projectile.owner);
|
||||
int proj = Projectile.NewProjectile(Projectile.GetSource_FromThis(), result.ToVector2() * 16f, Vector2.Zero, ModContent.ProjectileType<SulphuricNukesplosion>(), (int)(Projectile.damage * .5f), 2f, Projectile.owner);
|
||||
if (proj.WithinBounds(Main.maxProjectiles))
|
||||
Main.projectile[proj].Calamity().stealthStrike = Projectile.Calamity().stealthStrike;
|
||||
}
|
||||
|
||||
@@ -31,7 +31,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
Projectile.alpha = 255;
|
||||
Projectile.DamageType = RogueDamageClass.Instance;
|
||||
Projectile.usesIDStaticNPCImmunity = true;
|
||||
Projectile.idStaticNPCHitCooldown = 11;
|
||||
Projectile.idStaticNPCHitCooldown = 15;
|
||||
}
|
||||
|
||||
public override bool PreAI()
|
||||
|
||||
@@ -297,7 +297,7 @@ namespace CalamityMod.UI.DraedonSummoning
|
||||
DisplayTextSelectionOptions(panelArea, panelScale);
|
||||
DisplayDialogHistory(panelArea, panelScale);
|
||||
if (OptionsTextOpacity > 0f && DraedonScreenStaticInterpolant <= 0f)
|
||||
DrawExitButton(panelCenter + new Vector2(-16f, 138f) * GeneralScale, OptionsTextOpacity);
|
||||
DrawExitButton(panelCenter + new Vector2(0f, 150f) * GeneralScale, OptionsTextOpacity);
|
||||
}
|
||||
|
||||
public static void DisplayDraedonFacePanel(Vector2 panelCenter, Vector2 panelScale)
|
||||
@@ -306,7 +306,7 @@ namespace CalamityMod.UI.DraedonSummoning
|
||||
Texture2D iconTexture = ModContent.Request<Texture2D>("CalamityMod/UI/DraedonSummoning/DraedonIconBorder").Value;
|
||||
Texture2D iconTextureInner = ModContent.Request<Texture2D>("CalamityMod/UI/DraedonSummoning/DraedonIconBorderInner").Value;
|
||||
float draedonIconDrawInterpolant = Utils.GetLerpValue(0.51f, 0.36f, DraedonScreenStaticInterpolant, true);
|
||||
Vector2 draedonIconDrawTopRight = panelCenter + new Vector2(-218f, -130f) * panelScale;
|
||||
Vector2 draedonIconDrawTopRight = panelCenter + new Vector2(-204f, -125f) * panelScale;
|
||||
draedonIconDrawTopRight += new Vector2(24f, 4f) * panelScale;
|
||||
|
||||
Vector2 draedonIconScale = panelScale * 0.5f;
|
||||
@@ -350,7 +350,7 @@ namespace CalamityMod.UI.DraedonSummoning
|
||||
// Draw the outline for the text selection options.
|
||||
float selectionOptionsDrawInterpolant = Utils.GetLerpValue(0.3f, 0f, DraedonScreenStaticInterpolant, true);
|
||||
Texture2D selectionOutline = ModContent.Request<Texture2D>("CalamityMod/UI/DraedonSummoning/DraedonSelectionOutline").Value;
|
||||
Vector2 selectionCenter = panelArea.BottomLeft() - new Vector2(selectionOutline.Width * -0.5f - 24f, selectionOutline.Height * 0.5f + 24f) * panelScale;
|
||||
Vector2 selectionCenter = panelArea.BottomLeft() - new Vector2(selectionOutline.Width * -0.5f - 42f, selectionOutline.Height * 0.5f + 13f) * panelScale;
|
||||
Rectangle selectionArea = Utils.CenteredRectangle(selectionCenter, selectionOutline.Size() * panelScale);
|
||||
Main.spriteBatch.Draw(selectionOutline, selectionCenter, null, Color.White * selectionOptionsDrawInterpolant, 0f, selectionOutline.Size() * 0.5f, panelScale, 0, 0f);
|
||||
|
||||
@@ -394,7 +394,7 @@ namespace CalamityMod.UI.DraedonSummoning
|
||||
{
|
||||
// Skip/isolate the introduction text as needed.
|
||||
string inquiry = dialog.Inquiry;
|
||||
if (!Main.LocalPlayer.Calamity().HasTalkedAtCodebreaker && !DialogHistory.Any(d => d.Dialog == DialogOptions[0].Response))
|
||||
if (!Main.LocalPlayer.Calamity().HasCraftedDraedonsForge)
|
||||
{
|
||||
if (inquiry != DialogOptions[0].Inquiry)
|
||||
continue;
|
||||
@@ -402,7 +402,15 @@ namespace CalamityMod.UI.DraedonSummoning
|
||||
while (DialogHistory.Count < 1)
|
||||
DialogHistory.Add(new(string.Empty, true));
|
||||
}
|
||||
else if (inquiry == DialogOptions[0].Inquiry)
|
||||
else if (!DialogOptions[1].HasBeenSeen)
|
||||
{
|
||||
if (inquiry != DialogOptions[1].Inquiry)
|
||||
continue;
|
||||
|
||||
while (DialogHistory.Count < 1)
|
||||
DialogHistory.Add(new(string.Empty, true));
|
||||
}
|
||||
else if (inquiry == DialogOptions[0].Inquiry || inquiry == DialogOptions[1].Inquiry)
|
||||
continue;
|
||||
|
||||
// Draw the text marker.
|
||||
@@ -509,7 +517,7 @@ namespace CalamityMod.UI.DraedonSummoning
|
||||
// Draw the outline for the dialog history.
|
||||
float dialogHistoryDrawInterpolant = Utils.GetLerpValue(0.3f, 0f, DraedonScreenStaticInterpolant, true);
|
||||
Texture2D dialogOutline = ModContent.Request<Texture2D>("CalamityMod/UI/DraedonSummoning/DraedonDialogOutline").Value;
|
||||
Vector2 selectionCenter = panelArea.TopRight() - new Vector2(dialogOutline.Width * 0.5f + 16f, dialogOutline.Height * -0.5f - 6.5f) * panelScale;
|
||||
Vector2 selectionCenter = panelArea.TopRight() - new Vector2(dialogOutline.Width * 0.5f + 12f, dialogOutline.Height * -0.5f - 12f) * panelScale;
|
||||
Rectangle dialogArea = Utils.CenteredRectangle(selectionCenter, dialogOutline.Size() * panelScale);
|
||||
Main.spriteBatch.Draw(dialogOutline, selectionCenter, null, Color.White * dialogHistoryDrawInterpolant, 0f, dialogOutline.Size() * 0.5f, panelScale, 0, 0f);
|
||||
|
||||
|
||||
|
Before Width: | Height: | Size: 869 B After Width: | Height: | Size: 1.6 KiB |
@@ -9,26 +9,64 @@ namespace CalamityMod.UI.DraedonSummoning
|
||||
|
||||
public static readonly DraedonDialogEntry WhoAreYou = CreateFromKey("WhoAreYou");
|
||||
|
||||
public static readonly DraedonDialogEntry CalamitasBeforeHerDefeat = CreateFromKey("CalamitasBeforeDefeat", () => !DownedBossSystem.downedCalamitas);
|
||||
public static readonly DraedonDialogEntry WhoAreYouPart2 = CreateFromKey("WhoAreYouPart2");
|
||||
|
||||
public static readonly DraedonDialogEntry CalamitasAfterHerDefeat = CreateFromKey("CalamitasAfterDefeat", () => DownedBossSystem.downedCalamitas);
|
||||
public static readonly DraedonDialogEntry Origins = CreateFromKey("Origins");
|
||||
|
||||
public static readonly DraedonDialogEntry Plague = CreateFromKey("Plague", () => DownedBossSystem.downedPlaguebringer);
|
||||
public static readonly DraedonDialogEntry Crusade = CreateFromKey("Crusade");
|
||||
|
||||
public static readonly DraedonDialogEntry SulphurousSea = CreateFromKey("SulphuricSea");
|
||||
public static readonly DraedonDialogEntry Goals = CreateFromKey("Goals");
|
||||
|
||||
public static readonly DraedonDialogEntry TheTyrant = CreateFromKey("TheTyrant", () => DownedBossSystem.downedCalamitas);
|
||||
public static readonly DraedonDialogEntry ExoMechs = CreateFromKey("ExoMechs");
|
||||
|
||||
public static readonly DraedonDialogEntry Exotech = CreateFromKey("Exotech");
|
||||
|
||||
public static readonly DraedonDialogEntry MiracleMatter = CreateFromKey("MiracleMatter");
|
||||
|
||||
public static readonly DraedonDialogEntry Forge = CreateFromKey("Forge");
|
||||
|
||||
public static readonly DraedonDialogEntry Yharim = CreateFromKey("Yharim");
|
||||
|
||||
public static readonly DraedonDialogEntry Aerie = CreateFromKey("Aerie");
|
||||
|
||||
public static readonly DraedonDialogEntry Calamitas = CreateFromKey("Calamitas");
|
||||
|
||||
public static readonly DraedonDialogEntry Dog = CreateFromKey("Dog");
|
||||
|
||||
public static readonly DraedonDialogEntry Distortion = CreateFromKey("Distortion");
|
||||
|
||||
public static readonly DraedonDialogEntry Mechs = CreateFromKey("Mechs");
|
||||
|
||||
public static readonly DraedonDialogEntry Plague = CreateFromKey("Plague");
|
||||
|
||||
public static readonly DraedonDialogEntry Astral = CreateFromKey("Astral");
|
||||
|
||||
public static readonly DraedonDialogEntry Sulphur = CreateFromKey("Sulphur");
|
||||
|
||||
internal static List<DraedonDialogEntry> DialogOptions = new()
|
||||
{
|
||||
// The first index is assumed to be the "who are you?" dialog by the UI. All other indices can be freely swapped around, however.
|
||||
WhoAreYou,
|
||||
WhoAreYouPart2,
|
||||
|
||||
CalamitasBeforeHerDefeat,
|
||||
CalamitasAfterHerDefeat,
|
||||
Origins,
|
||||
Crusade,
|
||||
Goals,
|
||||
MiracleMatter,
|
||||
|
||||
ExoMechs,
|
||||
Exotech,
|
||||
Forge,
|
||||
Mechs,
|
||||
Plague,
|
||||
SulphurousSea,
|
||||
TheTyrant
|
||||
|
||||
Calamitas,
|
||||
Yharim,
|
||||
Dog,
|
||||
Sulphur,
|
||||
Distortion,
|
||||
Astral,
|
||||
Aerie
|
||||
};
|
||||
|
||||
internal static DraedonDialogEntry CreateFromKey(string key, Func<bool> condition = null) =>
|
||||
|
||||