diff --git a/Events/AcidRainT1_BossChecklist.png b/Events/AcidRainT1_BossChecklist.png new file mode 100644 index 0000000000..ad2416a302 Binary files /dev/null and b/Events/AcidRainT1_BossChecklist.png differ diff --git a/Items/Accessories/DukeScales.cs b/Items/Accessories/DukeScales.cs index 27a30bf956..37afd9fa6d 100644 --- a/Items/Accessories/DukeScales.cs +++ b/Items/Accessories/DukeScales.cs @@ -19,10 +19,10 @@ namespace CalamityMod.Items.Accessories { item.width = 28; item.height = 26; - item.value = Item.buyPrice(0, 60, 0, 0); + item.value = Item.buyPrice(0, 80, 0, 0); item.accessory = true; item.rare = 10; - item.Calamity().customRarity = (CalamityRarity)12; + item.Calamity().postMoonLordRarity = 13; } public override void UpdateAccessory(Player player, bool hideVisual) diff --git a/Items/Accessories/MutatedTruffle.cs b/Items/Accessories/MutatedTruffle.cs index 10382756db..5894888200 100644 --- a/Items/Accessories/MutatedTruffle.cs +++ b/Items/Accessories/MutatedTruffle.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Accessories { item.width = 24; item.height = 26; - item.value = Item.buyPrice(2, 50, 0, 0); + item.value = Item.buyPrice(0, 80, 0, 0); item.rare = 10; item.expert = true; item.accessory = true; diff --git a/Items/CalamityGlobalItem.cs b/Items/CalamityGlobalItem.cs index 9fb3045d38..c258f9cd36 100644 --- a/Items/CalamityGlobalItem.cs +++ b/Items/CalamityGlobalItem.cs @@ -649,7 +649,7 @@ namespace CalamityMod.Items } if (item.type == ItemID.MonkStaffT1) { - for (int i = 0; i < 1000; ++i) + for (int i = 0; i < Main.maxProjectiles; ++i) { if (Main.projectile[i].active && Main.projectile[i].owner == Main.myPlayer && Main.projectile[i].type == item.shoot) { @@ -2247,7 +2247,7 @@ Provides heat and cold protection in Death Mode"; } if (item.accessory) { - if (item.prefix == 67) + if (item.prefix == PrefixID.Precise) { foreach (TooltipLine line2 in tooltips) { @@ -2257,7 +2257,7 @@ Provides heat and cold protection in Death Mode"; } } } - if (item.prefix == 68) + if (item.prefix == PrefixID.Lucky) { foreach (TooltipLine line2 in tooltips) { @@ -2267,7 +2267,7 @@ Provides heat and cold protection in Death Mode"; } } } - if (item.prefix == 62) + if (item.prefix == PrefixID.Hard) { string defenseBoost = "+1 defense\n"; if (NPC.downedMoonlord) @@ -2286,7 +2286,7 @@ Provides heat and cold protection in Death Mode"; } } } - if (item.prefix == 63) + if (item.prefix == PrefixID.Guarding) { string defenseBoost = "+2 defense\n"; if (NPC.downedMoonlord) @@ -2305,7 +2305,7 @@ Provides heat and cold protection in Death Mode"; } } } - if (item.prefix == 64) + if (item.prefix == PrefixID.Armored) { string defenseBoost = "+3 defense\n"; if (NPC.downedMoonlord) @@ -2324,7 +2324,7 @@ Provides heat and cold protection in Death Mode"; } } } - if (item.prefix == 65) + if (item.prefix == PrefixID.Warding) { string defenseBoost = "+4 defense\n"; if (NPC.downedMoonlord) @@ -3048,7 +3048,7 @@ Provides heat and cold protection in Death Mode"; bool flag = false; bool canShoot = false; - for (int i = 54; i < 58; i++) + for (int i = 54; i < Main.maxInventory; i++) { if (player.inventory[i].ammo == item.useAmmo && (player.inventory[i].stack >= ammoConsumed || !player.inventory[i].consumable)) { @@ -3078,7 +3078,7 @@ Provides heat and cold protection in Death Mode"; bool flag = false; bool dontConsumeAmmo = false; - for (int i = 54; i < 58; i++) + for (int i = 54; i < Main.maxInventory; i++) { if (player.inventory[i].ammo == item.useAmmo && player.inventory[i].stack >= ammoConsumed) { diff --git a/Items/Weapons/Rogue/ContaminatedBile.cs b/Items/Weapons/Rogue/ContaminatedBile.cs index 0a6157b999..72e58d750e 100644 --- a/Items/Weapons/Rogue/ContaminatedBile.cs +++ b/Items/Weapons/Rogue/ContaminatedBile.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Weapons.Rogue public override void SafeSetDefaults() { - item.damage = 11; + item.damage = 9; item.width = item.height = 24; item.useAnimation = item.useTime = 31; item.noMelee = true; diff --git a/ModSupport/WeakReferenceSupport.cs b/ModSupport/WeakReferenceSupport.cs index a8b3d02f74..43c651cb0a 100644 --- a/ModSupport/WeakReferenceSupport.cs +++ b/ModSupport/WeakReferenceSupport.cs @@ -106,8 +106,8 @@ namespace CalamityMod private static readonly Dictionary InvasionDifficulty = new Dictionary { - { "Acid Rain Initial", 2.5f }, - { "Acid Rain Aquatic Scourge", 8.8f } + { "Acid Rain Initial", 2.4f }, + { "Acid Rain Aquatic Scourge", 8.51f } }; public static void Setup() @@ -549,7 +549,7 @@ namespace CalamityMod List collection = new List() { ItemType() }; string instructions = $"Use a [i:{summon}] or wait for the invasion to occur naturally after the Eye of Cthulhu is defeated."; string despawn = CalamityUtils.ColorMessage("The mysterious creatures of the sulphuric sea descended back into the ocean.", new Color(146, 183, 116)); - string bossLogTex = "CalamityMod/NPCs/DesertScourge/DesertScourge_BossChecklist"; + string bossLogTex = "CalamityMod/Events/AcidRainT1_BossChecklist"; string iconTexture = "CalamityMod/ExtraTextures/UI/AcidRainIcon"; AddInvasion(bossChecklist, calamity, "Acid Rain", order, enemies, DownedAcidRainInitial, summon, loot, collection, instructions, despawn, bossLogTex, iconTexture); } @@ -562,9 +562,9 @@ namespace CalamityMod List collection = new List() { ItemType() }; string instructions = $"Use a [i:{summon}] or wait for the invasion to occur naturally after the Aquatic Scourge is defeated"; string despawn = CalamityUtils.ColorMessage("The mysterious creatures of the sulphuric sea descended back into the deep ocean.", new Color(146, 183, 116)); - string bossLogTex = "CalamityMod/NPCs/DesertScourge/DesertScourge_BossChecklist"; + string bossLogTex = "CalamityMod/Events/AcidRainT1_BossChecklist"; string iconTexture = "CalamityMod/ExtraTextures/UI/AcidRainIcon"; - AddInvasion(bossChecklist, calamity, "Acid Rain (Post-Aquatic Scourge)", order, enemies, DownedAcidRainHardmode, summon, loot, collection, instructions, despawn, bossLogTex, iconTexture); + AddInvasion(bossChecklist, calamity, "Acid Rain (Post-AS)", order, enemies, DownedAcidRainHardmode, summon, loot, collection, instructions, despawn, bossLogTex, iconTexture); } } diff --git a/Projectiles/Rogue/BileExplosion.cs b/Projectiles/Rogue/BileExplosion.cs index e4f669d686..17a62bab8e 100644 --- a/Projectiles/Rogue/BileExplosion.cs +++ b/Projectiles/Rogue/BileExplosion.cs @@ -42,7 +42,7 @@ namespace CalamityMod.Projectiles.Rogue public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) { - target.immune[projectile.owner] = 6; + target.immune[projectile.owner] = 9; target.AddBuff(ModContent.BuffType(), 180); } diff --git a/Projectiles/Rogue/ContaminatedBileFlask.cs b/Projectiles/Rogue/ContaminatedBileFlask.cs index 4c01bfd82c..e436a24213 100644 --- a/Projectiles/Rogue/ContaminatedBileFlask.cs +++ b/Projectiles/Rogue/ContaminatedBileFlask.cs @@ -36,7 +36,7 @@ namespace CalamityMod.Projectiles.Rogue public override void Kill(int timeLeft) { Main.PlaySound(SoundID.Item107, projectile.Bottom); - Projectile explosion = Projectile.NewProjectileDirect(projectile.Center, Vector2.Zero, ModContent.ProjectileType(), projectile.damage, projectile.knockBack, projectile.owner); + Projectile explosion = Projectile.NewProjectileDirect(projectile.Center, Vector2.Zero, ModContent.ProjectileType(), (int)(projectile.damage * 0.75), projectile.knockBack, projectile.owner); explosion.Calamity().stealthStrike = projectile.Calamity().stealthStrike; explosion.timeLeft = explosion.Calamity().stealthStrike ? 60 : 20; }