diff --git a/Items/Accessories/TeslasAmulet.cs b/Items/Accessories/TeslasAmulet.cs index 2b78acf72c..49bc23ce47 100644 --- a/Items/Accessories/TeslasAmulet.cs +++ b/Items/Accessories/TeslasAmulet.cs @@ -12,13 +12,13 @@ namespace CalamityMod.Items.Accessories public new string LocalizationCategory => "Items.Accessories"; public override void SetStaticDefaults() { - Main.RegisterItemAnimation(Type, new DrawAnimationVertical(5, 14)); + Main.RegisterItemAnimation(Type, new DrawAnimationVertical(5, 12)); ItemID.Sets.AnimatesAsSoul[Type] = true; } public override void SetDefaults() { - Item.width = 32; + Item.width = 34; Item.height = 32; Item.rare = ItemRarityID.Orange; Item.value = CalamityGlobalItem.RarityOrangeBuyPrice; diff --git a/Items/Accessories/TeslasAmulet.png b/Items/Accessories/TeslasAmulet.png index 1903d9e02c..5c31e04661 100644 Binary files a/Items/Accessories/TeslasAmulet.png and b/Items/Accessories/TeslasAmulet.png differ diff --git a/Items/Weapons/Magic/ApoctosisArray.cs b/Items/Weapons/Magic/ApoctosisArray.cs index c376b5e698..b641a22307 100644 --- a/Items/Weapons/Magic/ApoctosisArray.cs +++ b/Items/Weapons/Magic/ApoctosisArray.cs @@ -12,8 +12,8 @@ namespace CalamityMod.Items.Weapons.Magic public new string LocalizationCategory => "Items.Weapons.Magic"; public override void SetDefaults() { - Item.width = 98; - Item.height = 34; + Item.width = 130; + Item.height = 58; Item.damage = 99; Item.DamageType = DamageClass.Magic; Item.mana = 12; diff --git a/Items/Weapons/Magic/ApoctosisArray.png b/Items/Weapons/Magic/ApoctosisArray.png index 9d31bbf2f3..1b09d9d45f 100644 Binary files a/Items/Weapons/Magic/ApoctosisArray.png and b/Items/Weapons/Magic/ApoctosisArray.png differ diff --git a/Items/Weapons/Magic/AquamarineStaff.cs b/Items/Weapons/Magic/AquamarineStaff.cs index 3d353993af..a5eab40668 100644 --- a/Items/Weapons/Magic/AquamarineStaff.cs +++ b/Items/Weapons/Magic/AquamarineStaff.cs @@ -19,8 +19,8 @@ namespace CalamityMod.Items.Weapons.Magic public override void SetDefaults() { - Item.width = 38; - Item.height = 38; + Item.width = 82; + Item.height = 84; Item.damage = 17; Item.DamageType = DamageClass.Magic; Item.mana = 3; diff --git a/Items/Weapons/Magic/AquamarineStaff.png b/Items/Weapons/Magic/AquamarineStaff.png index e21c19d43e..02c75595f5 100644 Binary files a/Items/Weapons/Magic/AquamarineStaff.png and b/Items/Weapons/Magic/AquamarineStaff.png differ diff --git a/Items/Weapons/Magic/IonBlaster.cs b/Items/Weapons/Magic/IonBlaster.cs index 24dc94d772..68f3fa069c 100644 --- a/Items/Weapons/Magic/IonBlaster.cs +++ b/Items/Weapons/Magic/IonBlaster.cs @@ -12,8 +12,8 @@ namespace CalamityMod.Items.Weapons.Magic public new string LocalizationCategory => "Items.Weapons.Magic"; public override void SetDefaults() { - Item.width = 44; - Item.height = 28; + Item.width = 68; + Item.height = 38; Item.damage = 29; Item.DamageType = DamageClass.Magic; Item.mana = 10; diff --git a/Items/Weapons/Magic/IonBlaster.png b/Items/Weapons/Magic/IonBlaster.png index b6b652cdb3..c7f12c03cb 100644 Binary files a/Items/Weapons/Magic/IonBlaster.png and b/Items/Weapons/Magic/IonBlaster.png differ diff --git a/Items/Weapons/Melee/Riptide.cs b/Items/Weapons/Melee/Riptide.cs index b1040c0aa7..1803c1123e 100644 --- a/Items/Weapons/Melee/Riptide.cs +++ b/Items/Weapons/Melee/Riptide.cs @@ -27,8 +27,8 @@ namespace CalamityMod.Items.Weapons.Melee public override void SetDefaults() { - Item.width = 30; - Item.height = 44; + Item.width = 46; + Item.height = 48; Item.DamageType = DamageClass.MeleeNoSpeed; Item.damage = 14; Item.knockBack = 1f; diff --git a/Items/Weapons/Melee/Riptide.png b/Items/Weapons/Melee/Riptide.png index 99efcf6899..8eee3928bd 100644 Binary files a/Items/Weapons/Melee/Riptide.png and b/Items/Weapons/Melee/Riptide.png differ diff --git a/Items/Weapons/Rogue/SeafoamBomb.cs b/Items/Weapons/Rogue/SeafoamBomb.cs index e293b721ae..b7666b5cd4 100644 --- a/Items/Weapons/Rogue/SeafoamBomb.cs +++ b/Items/Weapons/Rogue/SeafoamBomb.cs @@ -15,8 +15,8 @@ namespace CalamityMod.Items.Weapons.Rogue public int throwCount = 0; // Gives bubbles an order to be fused in public override void SetDefaults() { - Item.width = 26; - Item.height = 44; + Item.width = 38; + Item.height = 42; Item.damage = 35; Item.noMelee = true; Item.noUseGraphic = true; diff --git a/Items/Weapons/Rogue/SeafoamBomb.png b/Items/Weapons/Rogue/SeafoamBomb.png index 33dfca0d19..86e3f26bcf 100644 Binary files a/Items/Weapons/Rogue/SeafoamBomb.png and b/Items/Weapons/Rogue/SeafoamBomb.png differ diff --git a/Projectiles/Magic/IonBlast.cs b/Projectiles/Magic/IonBlast.cs index 708fe8812d..972d4d5541 100644 --- a/Projectiles/Magic/IonBlast.cs +++ b/Projectiles/Magic/IonBlast.cs @@ -18,8 +18,7 @@ namespace CalamityMod.Projectiles.Magic public override void SetDefaults() { - Projectile.width = 10; - Projectile.height = 10; + Projectile.width = Projectile.height = 14; Projectile.friendly = true; Projectile.alpha = 255; Projectile.penetrate = 1; @@ -31,7 +30,7 @@ namespace CalamityMod.Projectiles.Magic public override void AI() { - Projectile.rotation = Projectile.velocity.ToRotation() + MathHelper.PiOver2; + Projectile.rotation = Projectile.velocity.ToRotation(); Projectile.velocity *= 1.015f; if (Projectile.alpha > 0) { diff --git a/Projectiles/Magic/IonBlast.png b/Projectiles/Magic/IonBlast.png index 8cb57f5357..5d5433ccbf 100644 Binary files a/Projectiles/Magic/IonBlast.png and b/Projectiles/Magic/IonBlast.png differ diff --git a/Projectiles/Melee/Yoyos/RiptideYoyo.cs b/Projectiles/Melee/Yoyos/RiptideYoyo.cs index 9522cba2f8..1f151bb14f 100644 --- a/Projectiles/Melee/Yoyos/RiptideYoyo.cs +++ b/Projectiles/Melee/Yoyos/RiptideYoyo.cs @@ -23,7 +23,7 @@ namespace CalamityMod.Projectiles.Melee.Yoyos public override void SetDefaults() { Projectile.aiStyle = ProjAIStyleID.Yoyo; - Projectile.width = Projectile.height = 16; + Projectile.width = Projectile.height = 22; Projectile.friendly = true; Projectile.DamageType = DamageClass.MeleeNoSpeed; Projectile.alpha = 150; diff --git a/Projectiles/Melee/Yoyos/RiptideYoyo.png b/Projectiles/Melee/Yoyos/RiptideYoyo.png index 97b8560044..af91b0fa08 100644 Binary files a/Projectiles/Melee/Yoyos/RiptideYoyo.png and b/Projectiles/Melee/Yoyos/RiptideYoyo.png differ diff --git a/Projectiles/Rogue/SeafoamBombProj.cs b/Projectiles/Rogue/SeafoamBombProj.cs index acb24f1198..67e1cf21fb 100644 --- a/Projectiles/Rogue/SeafoamBombProj.cs +++ b/Projectiles/Rogue/SeafoamBombProj.cs @@ -16,8 +16,7 @@ namespace CalamityMod.Projectiles.Rogue public bool notTheClone => Projectile.Calamity().stealthStrike && Projectile.ai[0] == 0; // If the bomb is the initial thrown stealth strike bomb and not a split public override void SetDefaults() { - Projectile.width = 14; - Projectile.height = 20; + Projectile.width = Projectile.height = 38; Projectile.friendly = true; Projectile.penetrate = 1; Projectile.timeLeft = 400; diff --git a/Projectiles/Rogue/SeafoamBombProj.png b/Projectiles/Rogue/SeafoamBombProj.png index 128c4f76bb..b12539c68c 100644 Binary files a/Projectiles/Rogue/SeafoamBombProj.png and b/Projectiles/Rogue/SeafoamBombProj.png differ diff --git a/Projectiles/Rogue/SeafoamBubble.cs b/Projectiles/Rogue/SeafoamBubble.cs index 2ee04c094d..50df7733ab 100644 --- a/Projectiles/Rogue/SeafoamBubble.cs +++ b/Projectiles/Rogue/SeafoamBubble.cs @@ -14,7 +14,6 @@ namespace CalamityMod.Projectiles.Rogue public class SeafoamBubble : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Rogue"; - public override string Texture => "CalamityMod/Projectiles/Typeless/CoralBubble"; public ref float time => ref Projectile.ai[0]; public ref float bubbleLevel => ref Projectile.ai[1]; // -1 = small bubble, 0 = fusing bubble, 1 = big bubble public bool startEffects = true; // Spawn effects @@ -22,10 +21,12 @@ namespace CalamityMod.Projectiles.Rogue public bool canHit = false; // Only the small bubbles can directly hit enemies public Projectile fuseGoal; // The bubble to fuse with public NPC targeted; // The enemy to home in on as a small bubble + + public override void SetStaticDefaults() => Main.projFrames[Type] = 2; + public override void SetDefaults() { - Projectile.width = 28; - Projectile.height = 28; + Projectile.width = Projectile.height = 32; Projectile.friendly = true; Projectile.penetrate = 1; Projectile.timeLeft = 300; @@ -194,18 +195,12 @@ namespace CalamityMod.Projectiles.Rogue { float sine = (float)Math.Sin(time * Projectile.scale * 0.275f / MathHelper.Pi); float sizeMult = ((sine + 2) * 0.05f); - Texture2D tex = ModContent.Request("CalamityMod/Particles/HighResFoggyCircleHardEdge").Value; - Texture2D tex2 = ModContent.Request("CalamityMod/Particles/BloomCircle").Value; - Texture2D tex3 = ModContent.Request("CalamityMod/Particles/BloomRingThinLarge").Value; + Texture2D tex = Terraria.GameContent.TextureAssets.Projectile[Type].Value; + Rectangle frame = tex.Frame(1, Main.projFrames[Type], 0, Projectile.scale + sizeMult >= 1.5625f ? 1 : 0); Vector2 squash = new Vector2(Utils.Remap(Projectile.velocity.Length(), 2, 6, 1, 0.7f), Utils.Remap(Projectile.velocity.Length(), 2, 6, 1, 2f)); - Main.EntitySpriteDraw(tex, Projectile.Center - Main.screenPosition, null, Color.DodgerBlue with { A = 0 }, Projectile.rotation, tex.Size() * 0.5f, squash * (Projectile.scale + sizeMult) * 0.03f, SpriteEffects.None, 0); - - Main.EntitySpriteDraw(tex3, Projectile.Center - Main.screenPosition, null, Color.Turquoise with { A = 0 }, Projectile.rotation, tex3.Size() * 0.5f, squash * (Projectile.scale + sizeMult) * 0.032f, SpriteEffects.None, 0); - - Main.EntitySpriteDraw(tex2, Projectile.Center - Main.screenPosition + (MathHelper.PiOver4.ToRotationVector2() * -11.5f * Projectile.scale), null, Color.White with { A = 0 } * 0.5f, Projectile.rotation, tex2.Size() * 0.5f, squash * (Projectile.scale) * 0.3f, SpriteEffects.None, 0); - + Main.EntitySpriteDraw(tex, Projectile.Center - Main.screenPosition, null, Color.White, Projectile.rotation, frame.Size() * 0.5f, squash * (Projectile.scale + sizeMult), SpriteEffects.None, 0); return false; } public override bool? CanCutTiles() => false; diff --git a/Projectiles/Rogue/SeafoamBubble.png b/Projectiles/Rogue/SeafoamBubble.png new file mode 100644 index 0000000000..f7b27cd5c1 Binary files /dev/null and b/Projectiles/Rogue/SeafoamBubble.png differ