diff --git a/Buffs/StatBuffs/PrimordialPowerBuff.cs b/Buffs/StatBuffs/AeolianEarthBuff.cs similarity index 81% rename from Buffs/StatBuffs/PrimordialPowerBuff.cs rename to Buffs/StatBuffs/AeolianEarthBuff.cs index f2c6193518..642c8fa8bf 100644 --- a/Buffs/StatBuffs/PrimordialPowerBuff.cs +++ b/Buffs/StatBuffs/AeolianEarthBuff.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Buffs.StatBuffs { - public class PrimordialPowerBuff : ModBuff + public class AeolianEarthBuff : ModBuff { public override void SetStaticDefaults() { @@ -15,7 +15,7 @@ namespace CalamityMod.Buffs.StatBuffs public override void Update(Player player, ref int buffIndex) { - player.Calamity().primordialBuff = true; + player.Calamity().aeolianEarthBuff = true; } } } diff --git a/Buffs/StatBuffs/AeolianEarthBuff.png b/Buffs/StatBuffs/AeolianEarthBuff.png new file mode 100644 index 0000000000..96c4fb6a94 Binary files /dev/null and b/Buffs/StatBuffs/AeolianEarthBuff.png differ diff --git a/Buffs/StatBuffs/ForbiddenBuff.png b/Buffs/StatBuffs/ForbiddenBuff.png deleted file mode 100644 index c0d7d5d851..0000000000 Binary files a/Buffs/StatBuffs/ForbiddenBuff.png and /dev/null differ diff --git a/Buffs/StatBuffs/PrimordialPowerBuff.png b/Buffs/StatBuffs/PrimordialPowerBuff.png deleted file mode 100644 index a0baa2648e..0000000000 Binary files a/Buffs/StatBuffs/PrimordialPowerBuff.png and /dev/null differ diff --git a/Buffs/StatBuffs/ForbiddenBuff.cs b/Buffs/StatBuffs/SandsWindBuff.cs similarity index 82% rename from Buffs/StatBuffs/ForbiddenBuff.cs rename to Buffs/StatBuffs/SandsWindBuff.cs index d57c3d97f5..9a6052ad2d 100644 --- a/Buffs/StatBuffs/ForbiddenBuff.cs +++ b/Buffs/StatBuffs/SandsWindBuff.cs @@ -3,7 +3,7 @@ using Terraria.ModLoader; namespace CalamityMod.Buffs.StatBuffs { - public class ForbiddenBuff : ModBuff + public class SandsWindBuff : ModBuff { public override void SetStaticDefaults() { @@ -15,7 +15,7 @@ namespace CalamityMod.Buffs.StatBuffs public override void Update(Player player, ref int buffIndex) { - player.Calamity().forbiddenBuff = true; + player.Calamity().sandsWindBuff = true; } } } diff --git a/Buffs/StatBuffs/SandsWindBuff.png b/Buffs/StatBuffs/SandsWindBuff.png new file mode 100644 index 0000000000..0e5bcd149a Binary files /dev/null and b/Buffs/StatBuffs/SandsWindBuff.png differ diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 128d3a887e..5b324bd0cd 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -918,8 +918,8 @@ namespace CalamityMod.CalPlayer #region Buff public bool trinketOfChiBuff = false; - public bool forbiddenBuff = false; - public bool primordialBuff = false; + public bool sandsWindBuff = false; + public bool aeolianEarthBuff = false; public int chiBuffTimer = 0; public bool corrEffigy = false; public bool crimEffigy = false; @@ -1986,8 +1986,8 @@ namespace CalamityMod.CalPlayer ManaBurn = false; trinketOfChiBuff = false; - forbiddenBuff = false; - primordialBuff = false; + sandsWindBuff = false; + aeolianEarthBuff = false; corrEffigy = false; crimEffigy = false; decayEffigy = false; @@ -2451,8 +2451,8 @@ namespace CalamityMod.CalPlayer aquaticHeartWaterBuff = false; aquaticHeartIce = false; trinketOfChiBuff = false; - forbiddenBuff = false; - primordialBuff = false; + sandsWindBuff = false; + aeolianEarthBuff = false; chiBuffTimer = 0; corrEffigy = false; crimEffigy = false; diff --git a/CalPlayer/CalamityPlayerMiscEffects.cs b/CalPlayer/CalamityPlayerMiscEffects.cs index e11567e357..c25a521b6a 100644 --- a/CalPlayer/CalamityPlayerMiscEffects.cs +++ b/CalPlayer/CalamityPlayerMiscEffects.cs @@ -3093,12 +3093,12 @@ namespace CalamityMod.CalPlayer bonusStealthDamage += nanotech ? 0.05f : 0.08f; } - if (forbiddenBuff) + if (sandsWindBuff) { Player.GetDamage() += 0.12f; Player.statDefense += 12; } - if (primordialBuff) + if (aeolianEarthBuff) { Player.GetDamage() += 0.18f; Player.endurance += 0.08f; diff --git a/Items/Weapons/Magic/DeathValleyDuster.cs b/Items/Weapons/Magic/DeathValleyDuster.cs index f3a87a4a75..3092602c28 100644 --- a/Items/Weapons/Magic/DeathValleyDuster.cs +++ b/Items/Weapons/Magic/DeathValleyDuster.cs @@ -43,7 +43,6 @@ namespace CalamityMod.Items.Weapons.Magic CreateRecipe(). AddIngredient(ItemID.SpellTome). AddIngredient(ItemID.AncientCloth, 2). - AddIngredient(ItemID.AncientBattleArmorMaterial). AddIngredient(ItemID.FossilOre, 25). AddTile(TileID.Bookcases). Register(); diff --git a/Items/Weapons/Magic/PrimordialAncient.cs b/Items/Weapons/Magic/PrimordialAncient.cs index 73ba983d51..5b0258b181 100644 --- a/Items/Weapons/Magic/PrimordialAncient.cs +++ b/Items/Weapons/Magic/PrimordialAncient.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons.Magic { Item.width = 40; Item.height = 56; - Item.damage = 2500; + Item.damage = 2800; Item.DamageType = DamageClass.Magic; Item.mana = 85; Item.useTime = 78; @@ -47,9 +47,7 @@ namespace CalamityMod.Items.Weapons.Magic { CreateRecipe(). AddIngredient(). - AddIngredient(ItemID.AncientBattleArmorMaterial, 5). AddIngredient(8). - AddIngredient(20). AddTile(TileID.Bookcases). Register(); } diff --git a/Localization/en-US/Mods.CalamityMod.Buffs.hjson b/Localization/en-US/Mods.CalamityMod.Buffs.hjson index c754cfdfd9..f9d622b496 100644 --- a/Localization/en-US/Mods.CalamityMod.Buffs.hjson +++ b/Localization/en-US/Mods.CalamityMod.Buffs.hjson @@ -1540,3 +1540,21 @@ AuricRebuke: { DisplayName: Auric Rebuke Description: Your cells are violently bouncing off each other } + +SandsWindBuff: { + DisplayName: Sand's Wind + Description: + ''' + You are strengthened by the powers of sand + Defense increased by 10, damage increased by 12% + ''' +} + +AeolianEarthBuff: { + DisplayName: Aeolian Earth + Description: + ''' + You are strengthened by primordial powers + Damage reduction increased by 8%, damage increased by 18% + ''' +} diff --git a/Particles/ShatteredExplosion.png b/Particles/ShatteredExplosion.png new file mode 100644 index 0000000000..f40d5bfe5d Binary files /dev/null and b/Particles/ShatteredExplosion.png differ diff --git a/Particles/SoftRoundExplosion.png b/Particles/SoftRoundExplosion.png new file mode 100644 index 0000000000..760de86153 Binary files /dev/null and b/Particles/SoftRoundExplosion.png differ diff --git a/Projectiles/Magic/DeathValleyDusterProjectile.cs b/Projectiles/Magic/DeathValleyDusterProjectile.cs index 2c2eb1ec6d..873f582895 100644 --- a/Projectiles/Magic/DeathValleyDusterProjectile.cs +++ b/Projectiles/Magic/DeathValleyDusterProjectile.cs @@ -60,7 +60,7 @@ namespace CalamityMod.Projectiles.Magic if (buffList[playerIndex] == false) { buffList[playerIndex] = true; - player.AddBuff(ModContent.BuffType(), 240); + player.AddBuff(ModContent.BuffType(), 240); int Dusts = 12; float radians = MathHelper.TwoPi / Dusts; diff --git a/Projectiles/Magic/PrimordialAncientProjectile.cs b/Projectiles/Magic/PrimordialAncientProjectile.cs index c5b53e4800..7d83787b70 100644 --- a/Projectiles/Magic/PrimordialAncientProjectile.cs +++ b/Projectiles/Magic/PrimordialAncientProjectile.cs @@ -56,7 +56,7 @@ namespace CalamityMod.Projectiles.Magic Projectile.rotation = Main.rand.NextFloat(-20, 20); Projectile.scale = 0.5f; } - Lighting.AddLight(Projectile.Center, Color.Gold.ToVector3() * 0.5f); + Lighting.AddLight(Projectile.Center, Color.Purple.ToVector3() * 0.3f); if (!goToCursor) { @@ -77,7 +77,7 @@ namespace CalamityMod.Projectiles.Magic if (buffList[playerIndex] == false) { buffList[playerIndex] = true; - player.AddBuff(ModContent.BuffType(), 540); + player.AddBuff(ModContent.BuffType(), 540); int Dusts = 8; float radians = MathHelper.TwoPi / Dusts; @@ -164,6 +164,7 @@ namespace CalamityMod.Projectiles.Magic } if (goToCursor) { + mousePos = Main.MouseWorld; if (time == 355) { CenterX = Projectile.Center.X; diff --git a/Projectiles/Magic/PrimordialEarthProjectile.cs b/Projectiles/Magic/PrimordialEarthProjectile.cs index 2ec2adba96..15a7bfd410 100644 --- a/Projectiles/Magic/PrimordialEarthProjectile.cs +++ b/Projectiles/Magic/PrimordialEarthProjectile.cs @@ -71,7 +71,7 @@ namespace CalamityMod.Projectiles.Magic if (buffList[playerIndex] == false) { buffList[playerIndex] = true; - player.AddBuff(ModContent.BuffType(), 360); + player.AddBuff(ModContent.BuffType(), 360); int Dusts = 12; float radians = MathHelper.TwoPi / Dusts;