diff --git a/Items/Accessories/Wings/StarlightWings.cs b/Items/Accessories/Wings/StarlightWings.cs index e89ea16556..9fc7ca748a 100644 --- a/Items/Accessories/Wings/StarlightWings.cs +++ b/Items/Accessories/Wings/StarlightWings.cs @@ -38,7 +38,7 @@ namespace CalamityMod.Items.Accessories.Wings player.armor[1].type == mod.ItemType("DaedalusBreastplate") && player.armor[2].type == mod.ItemType("DaedalusLeggings")) { player.allDamage += 0.05f; - player.GetCalamityPlayer().AllCritBoost(5); + player.Calamity().AllCritBoost(5); } if (player.controlJump && player.wingTime > 0f && !player.jumpAgainCloud && player.jump == 0 && player.velocity.Y != 0f && !hideVisual) diff --git a/Items/Accessories/Wings/XerocWings.cs b/Items/Accessories/Wings/XerocWings.cs index f57637e0d7..beeea2e6e8 100644 --- a/Items/Accessories/Wings/XerocWings.cs +++ b/Items/Accessories/Wings/XerocWings.cs @@ -34,8 +34,8 @@ namespace CalamityMod.Items.Accessories.Wings { if (player.armor[0].type == mod.ItemType("XerocMask") && player.armor[1].type == mod.ItemType("XerocPlateMail") && player.armor[2].type == mod.ItemType("XerocCuisses")) { - player.GetCalamityPlayer().throwingDamage += 0.05f; - player.GetCalamityPlayer().throwingCrit += 5; + player.Calamity().throwingDamage += 0.05f; + player.Calamity().throwingCrit += 5; } if (player.controlJump && player.wingTime > 0f && !player.jumpAgainCloud && player.jump == 0 && player.velocity.Y != 0f && !hideVisual) diff --git a/NPCs/BrimstoneWaifu/BrimstoneElemental.cs b/NPCs/BrimstoneWaifu/BrimstoneElemental.cs index 4d74d05cf1..6ff891b848 100644 --- a/NPCs/BrimstoneWaifu/BrimstoneElemental.cs +++ b/NPCs/BrimstoneWaifu/BrimstoneElemental.cs @@ -232,9 +232,9 @@ namespace CalamityMod.NPCs.BrimstoneWaifu npc.position = position; for (int n = 0; n < 50; n++) { - int num39 = Dust.NewDust(npc.position, npc.width, npc.height, 235, npc.velocity.X * 0.5f, npc.velocity.Y * 0.5f, 90, default, 1f); - Main.dust[dust].velocity *= 0.2f; - Main.dust[num39].noGravity = true; + int warpDust = Dust.NewDust(npc.position, npc.width, npc.height, 235, npc.velocity.X * 0.5f, npc.velocity.Y * 0.5f, 90, default, 1f); + Main.dust[warpDust].velocity *= 0.2f; + Main.dust[warpDust].noGravity = true; } npc.ai[0] = 2f; npc.netUpdate = true;