diff --git a/BiomeManagers/AbovegroundAstralDesertBiome.cs b/BiomeManagers/AbovegroundAstralDesertBiome.cs index 1dbe2ad000..37058fdce9 100644 --- a/BiomeManagers/AbovegroundAstralDesertBiome.cs +++ b/BiomeManagers/AbovegroundAstralDesertBiome.cs @@ -13,7 +13,7 @@ namespace CalamityMod.BiomeManagers public override ModWaterStyle WaterStyle => ModContent.Find("CalamityMod/AstralWater"); public override ModSurfaceBackgroundStyle SurfaceBackgroundStyle => ModContent.Find("CalamityMod/AstralDesertSurfaceBGStyle"); public override int BiomeTorchItemType => ModContent.ItemType(); - public override SceneEffectPriority Priority => Sandstorm.Happening ? SceneEffectPriority.Environment : SceneEffectPriority.BiomeHigh; + public override SceneEffectPriority Priority => Sandstorm.Happening && !(Main.slimeRain || Main.eclipse) ? SceneEffectPriority.Environment : SceneEffectPriority.BiomeHigh; public override string BestiaryIcon => "CalamityMod/BiomeManagers/AstralDesertIcon"; // Could use its own unique background public override string BackgroundPath => "CalamityMod/Backgrounds/MapBackgrounds/AstralBG"; diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index badf052782..6a09748699 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -3081,7 +3081,7 @@ namespace CalamityMod.CalPlayer float rageRatio = rage / rageMax; float baseDamage = rageRatio * GaelsGreatsword.SkullsplosionDamageMultiplier * GaelsGreatsword.BaseDamage; int damage = (int)Player.GetTotalDamage().ApplyTo(baseDamage); - float skullCount = 20f; + float skullCount = 14f + (rageBoostOne ? 4f : 0f) + (rageBoostTwo ? 4f : 0f) + (rageBoostThree ? 4f : 0f); float skullSpeed = 12f; for (float i = 0; i < skullCount; i += 1f) { diff --git a/Items/Weapons/Melee/GaelsGreatsword.cs b/Items/Weapons/Melee/GaelsGreatsword.cs index 3a29ca36cf..7b668a1f72 100644 --- a/Items/Weapons/Melee/GaelsGreatsword.cs +++ b/Items/Weapons/Melee/GaelsGreatsword.cs @@ -14,8 +14,8 @@ namespace CalamityMod.Items.Weapons.Melee { public new string LocalizationCategory => "Items.Weapons.Melee"; // Weapon attribute constants - public static readonly int BaseDamage = 670; - public static readonly float GiantSkullDamageMultiplier = 1.5f; + public static readonly int BaseDamage = 690; + public static readonly float GiantSkullDamageMultiplier = 1.7f; // Weapon projectile attribute constants public static readonly int SearchDistance = 1450; @@ -73,7 +73,7 @@ namespace CalamityMod.Items.Weapons.Melee player.Calamity().gaelSwipes++; if (player.statLife <= player.statLifeMax2 * 0.5f) { - for (int i = 0; i < 170; i++) + for (int i = 0; i < 120; i++) { float r = (float)Math.Sqrt(Main.rand.NextDouble()); float t = Main.rand.NextFloat() * MathHelper.TwoPi; @@ -127,7 +127,7 @@ namespace CalamityMod.Items.Weapons.Melee case 1: int largeSkullDmg = (int)(damage * GiantSkullDamageMultiplier); int projectileIndex = Projectile.NewProjectile(source, position, velocity * 0.6f, type, largeSkullDmg, knockback, player.whoAmI, ai1: 1f); - Main.projectile[projectileIndex].scale = 1.75f; + Main.projectile[projectileIndex].scale = 2f; break; } return false; diff --git a/Localization/en-US/Mods.CalamityMod.Bestiary.hjson b/Localization/en-US/Mods.CalamityMod.Bestiary.hjson index 243bfc552f..3f9f0ed6c4 100644 --- a/Localization/en-US/Mods.CalamityMod.Bestiary.hjson +++ b/Localization/en-US/Mods.CalamityMod.Bestiary.hjson @@ -81,7 +81,6 @@ Frogfish: Well-camouflaged and prepared to strike at any moment, Frogfish show t Horse: After the Brimstone Elemental became dormant, the forgemasters of Azafure used clockwork and crystal to bind the powers of an elemental to a mechanical body. While formidable, it seems the dream of creating a true replacement for an elemental died unfulfilled with Azafure itself. IceClasper: Though their exact origins are an enigma, what is known is that these ethereal beings seek to stamp out any and all sources of warmth that exist in their home. Due to this fact, and taking into account the fossil record, many speculate that ice claspers may have played a vital role in the tundra's creation. ImpiousImmolator: An idol carved in the image of Her, it is lit ablaze with the crafter's lifeforce. After all, what weight does one's life hold when one wishes to see the world wreathed in Her holy flames? -LavaSlimeNoLavaDrop: Due to the heat of the underworld, these slimes have taken on the properties of lava. Slaying them is difficult and dangerous. MantisShrimp: Though a variety of answers are given when one asks adventurers about dangerous creatures, few aside from sailors will mention the small yet mighty Mantis Shrimp. Their strikes are so swift that the energy generated from them heats the water to temperatures rivaling the magma of Azafure. OverloadedSoldier: A body given life again, overflowing with the souls of warriors that perished during the Crusade who were unable to find peace. Their ravenous hunger for battle has been reignited due to sensing godly essences in the land once more. PerennialSlime: These slimes have seized a small amount of the Goddess of Life's essence. Despite her reimprisonment in the deepest depths of the Abyss, the tendrils of her influence now stretch far into the world beyond. diff --git a/NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs b/NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs index a79d115594..ca5764da80 100644 --- a/NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs +++ b/NPCs/NormalNPCs/LavaSlimeNoLavaDrop.cs @@ -1,17 +1,6 @@ -using System; -using System.IO; -using CalamityMod.DataStructures; -using CalamityMod.Events; -using CalamityMod.Items.Placeables.Banners; -using CalamityMod.Items.Placeables.Ores; -using CalamityMod.NPCs.TownNPCs; -using CalamityMod.World; -using Microsoft.Xna.Framework; -using Terraria; -using Terraria.GameContent.Bestiary; +using Terraria; using Terraria.ID; using Terraria.ModLoader; -using Terraria.ModLoader.Utilities; namespace CalamityMod.NPCs.NormalNPCs { @@ -22,8 +11,7 @@ namespace CalamityMod.NPCs.NormalNPCs public override void SetStaticDefaults() { Main.npcFrameCount[NPC.type] = 2; - NPCID.Sets.NPCBestiaryDrawModifiers bestiaryData = new NPCID.Sets.NPCBestiaryDrawModifiers() { Hide = true }; - NPCID.Sets.NPCBestiaryDrawOffset.Add(Type, bestiaryData); + this.HideFromBestiary(); } public override void SetDefaults() @@ -49,7 +37,9 @@ namespace CalamityMod.NPCs.NormalNPCs NPC.lifeMax = 25; NPC.value = 25f; } - + //Banner = NPCID.LavaSlime; + //BannerItem = ItemID.LavaSlimeBanner; + NPC.Calamity().VulnerableToCold = true; NPC.Calamity().VulnerableToSickness = false; NPC.Calamity().VulnerableToHeat = false; @@ -60,15 +50,6 @@ namespace CalamityMod.NPCs.NormalNPCs CalamityGlobalNPC.AdjustMasterModeStatScaling(NPC); } - public override void SetBestiary(BestiaryDatabase database, BestiaryEntry bestiaryEntry) - { - bestiaryEntry.Info.AddRange(new IBestiaryInfoElement[] - { - BestiaryDatabaseNPCsPopulator.CommonTags.SpawnConditions.Biomes.TheUnderworld, - new FlavorTextBestiaryInfoElement("Mods.CalamityMod.Bestiary.LavaSlimeNoLavaDrop") - }); - } - public override void HitEffect(NPC.HitInfo hit) { if (NPC.life > 0) diff --git a/Projectiles/Melee/GaelSkull.cs b/Projectiles/Melee/GaelSkull.cs index 6a373ced4b..cc8938bb6d 100644 --- a/Projectiles/Melee/GaelSkull.cs +++ b/Projectiles/Melee/GaelSkull.cs @@ -105,8 +105,8 @@ namespace CalamityMod.Projectiles.Melee if (Projectile.ai[1] == 1f) { Projectile.penetrate = -1; + Projectile.velocity *= 1.05f; Projectile.alpha += 1; - Projectile.damage = (int)Math.Ceiling(Projectile.damage * 0.992); //Exponentially decays to a factor of 0.12896 of the original damage if (Projectile.alpha >= 255) { Projectile.Kill(); diff --git a/Projectiles/Melee/GaelSkull2.cs b/Projectiles/Melee/GaelSkull2.cs index fca9fbb36f..5e09a998e6 100644 --- a/Projectiles/Melee/GaelSkull2.cs +++ b/Projectiles/Melee/GaelSkull2.cs @@ -60,10 +60,10 @@ namespace CalamityMod.Projectiles.Melee Projectile.tileCollide = target != null; //Go through walls if we're hunting an NPC if (target != null) { - float homingSpeed = Projectile.velocity.Length() * (Projectile.Distance(target.Center) < 220f ? 1.3f : 1f); + float homingSpeed = Projectile.velocity.Length() * (Projectile.Distance(target.Center) < 420f ? 1.3f : 1.1f); Vector2 idealVelocity = Projectile.SafeDirectionTo(target.Center) * homingSpeed; - float inertia = Projectile.Distance(target.Center) < 240f ? 4f : 13f; + float inertia = Projectile.Distance(target.Center) < 420f ? 4f : 8f; Projectile.velocity = (Projectile.velocity * inertia + idealVelocity) / (inertia + 1f); Projectile.velocity.Normalize(); Projectile.velocity *= homingSpeed; diff --git a/Systems/BestiaryRegistrySystem.cs b/Systems/BestiaryRegistrySystem.cs index cdd705172e..f14f47f6dc 100644 --- a/Systems/BestiaryRegistrySystem.cs +++ b/Systems/BestiaryRegistrySystem.cs @@ -1,5 +1,6 @@ using CalamityMod.NPCs.Abyss; using CalamityMod.NPCs.Astral; +using CalamityMod.NPCs.NormalNPCs; using Terraria.ID; using Terraria.ModLoader; using static Terraria.ModLoader.ModContent; @@ -13,6 +14,7 @@ namespace CalamityMod.Systems // Manually register variants post-initiailization ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[NPCType()] = ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[NPCType()]; ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[NPCType()] = ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[NPCType()]; + ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[NPCType()] = ContentSamples.NpcBestiaryCreditIdsByNpcNetIds[NPCID.LavaSlime]; } } }