From 3f39b75bb3449081a5acd7ebcff9dbb9cdfd59f3 Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Tue, 1 Oct 2019 06:35:55 -0400 Subject: [PATCH] Hitbox fixes I hope that's everything --- Items/Accessories/Wings/AureateWings.cs | 4 ++-- Items/Armor/ReaverCap.cs | 4 ++-- Items/Armor/ReaverCuisses.cs | 2 +- Items/Armor/ReaverHelm.cs | 4 ++-- Items/Armor/ReaverHelmet.cs | 4 ++-- Items/Armor/ReaverMask.cs | 2 +- Items/Armor/ReaverScaleMail.cs | 4 ++-- Items/Armor/ReaverVisage.cs | 4 ++-- Items/Placeables/PerennialOre.cs | 2 +- Items/Tools/BeastialPickaxe.cs | 2 +- Items/Tools/BerserkerWaraxe.cs | 4 ++-- Items/Weapons/BladedgeGreatbow.cs | 2 +- Items/Weapons/EvergladeSpray.cs | 2 +- Items/Weapons/FeralthornClaymore.cs | 2 +- Items/Weapons/GalacticaBlade.cs | 4 ++-- Items/Weapons/HellionFlowerSpear.cs | 4 ++-- Items/Weapons/PlagueKeeper.cs | 2 +- Items/Weapons/Quagmire.cs | 2 ++ Items/Weapons/Ravager/UltimusCleaver.cs | 4 ++-- Items/Weapons/StellarStriker.cs | 4 ++-- Items/Weapons/TeardropCleaver.cs | 4 ++-- Projectiles/Summon/ReaverOrb.cs | 4 ++-- 22 files changed, 36 insertions(+), 34 deletions(-) diff --git a/Items/Accessories/Wings/AureateWings.cs b/Items/Accessories/Wings/AureateWings.cs index 3396cdb208..c77641660d 100644 --- a/Items/Accessories/Wings/AureateWings.cs +++ b/Items/Accessories/Wings/AureateWings.cs @@ -21,8 +21,8 @@ namespace CalamityMod.Items.Accessories.Wings public override void SetDefaults() { - item.width = 22; - item.height = 20; + item.width = 54; + item.height = 26; item.value = Item.buyPrice(0, 39, 99, 99); item.rare = 6; item.accessory = true; diff --git a/Items/Armor/ReaverCap.cs b/Items/Armor/ReaverCap.cs index ee387ae294..531d59291f 100644 --- a/Items/Armor/ReaverCap.cs +++ b/Items/Armor/ReaverCap.cs @@ -18,8 +18,8 @@ namespace CalamityMod.Items.Armor public override void SetDefaults() { - item.width = 18; - item.height = 18; + item.width = 22; + item.height = 22; item.value = Item.buyPrice(0, 30, 0, 0); item.rare = 7; item.defense = 10; //43 diff --git a/Items/Armor/ReaverCuisses.cs b/Items/Armor/ReaverCuisses.cs index 61f17e8574..964f5befc0 100644 --- a/Items/Armor/ReaverCuisses.cs +++ b/Items/Armor/ReaverCuisses.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Armor public override void SetDefaults() { - item.width = 18; + item.width = 22; item.height = 18; item.value = Item.buyPrice(0, 18, 0, 0); item.rare = 7; diff --git a/Items/Armor/ReaverHelm.cs b/Items/Armor/ReaverHelm.cs index 210af09d5b..9165f2a1b9 100644 --- a/Items/Armor/ReaverHelm.cs +++ b/Items/Armor/ReaverHelm.cs @@ -17,8 +17,8 @@ namespace CalamityMod.Items.Armor public override void SetDefaults() { - item.width = 18; - item.height = 18; + item.width = 28; + item.height = 30; item.value = Item.buyPrice(0, 30, 0, 0); item.rare = 7; item.defense = 25; //58 diff --git a/Items/Armor/ReaverHelmet.cs b/Items/Armor/ReaverHelmet.cs index 1ae7ed1b13..669bb9a1a9 100644 --- a/Items/Armor/ReaverHelmet.cs +++ b/Items/Armor/ReaverHelmet.cs @@ -17,8 +17,8 @@ namespace CalamityMod.Items.Armor public override void SetDefaults() { - item.width = 18; - item.height = 18; + item.width = 22; + item.height = 22; item.value = Item.buyPrice(0, 30, 0, 0); item.rare = 7; item.defense = 3; //36 diff --git a/Items/Armor/ReaverMask.cs b/Items/Armor/ReaverMask.cs index 92150e6b24..c3315ad8e7 100644 --- a/Items/Armor/ReaverMask.cs +++ b/Items/Armor/ReaverMask.cs @@ -18,7 +18,7 @@ namespace CalamityMod.Items.Armor public override void SetDefaults() { item.width = 18; - item.height = 18; + item.height = 22; item.value = Item.buyPrice(0, 30, 0, 0); item.rare = 7; item.defense = 7; //40 diff --git a/Items/Armor/ReaverScaleMail.cs b/Items/Armor/ReaverScaleMail.cs index ba76570558..99d0565279 100644 --- a/Items/Armor/ReaverScaleMail.cs +++ b/Items/Armor/ReaverScaleMail.cs @@ -17,8 +17,8 @@ namespace CalamityMod.Items.Armor public override void SetDefaults() { - item.width = 18; - item.height = 18; + item.width = 34; + item.height = 22; item.value = Item.buyPrice(0, 24, 0, 0); item.rare = 7; item.defense = 19; diff --git a/Items/Armor/ReaverVisage.cs b/Items/Armor/ReaverVisage.cs index bf0f39658b..00e6676bc3 100644 --- a/Items/Armor/ReaverVisage.cs +++ b/Items/Armor/ReaverVisage.cs @@ -17,8 +17,8 @@ namespace CalamityMod.Items.Armor public override void SetDefaults() { - item.width = 18; - item.height = 18; + item.width = 24; + item.height = 28; item.value = Item.buyPrice(0, 30, 0, 0); item.rare = 7; item.defense = 13; //46 diff --git a/Items/Placeables/PerennialOre.cs b/Items/Placeables/PerennialOre.cs index 2afad78c91..cfcd27ce10 100644 --- a/Items/Placeables/PerennialOre.cs +++ b/Items/Placeables/PerennialOre.cs @@ -19,7 +19,7 @@ namespace CalamityMod.Items.Placeables item.useTime = 10; item.autoReuse = true; item.consumable = true; - item.width = 13; + item.width = 12; item.height = 10; item.maxStack = 999; item.value = Item.sellPrice(silver: 18); diff --git a/Items/Tools/BeastialPickaxe.cs b/Items/Tools/BeastialPickaxe.cs index e6fd3456d1..e0fe17373e 100644 --- a/Items/Tools/BeastialPickaxe.cs +++ b/Items/Tools/BeastialPickaxe.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Tools item.damage = 35; item.melee = true; item.width = 48; - item.height = 48; + item.height = 46; item.useTime = 7; item.useAnimation = 15; item.useTurn = true; diff --git a/Items/Tools/BerserkerWaraxe.cs b/Items/Tools/BerserkerWaraxe.cs index 80fdb0a958..8ef4b883cd 100644 --- a/Items/Tools/BerserkerWaraxe.cs +++ b/Items/Tools/BerserkerWaraxe.cs @@ -16,8 +16,8 @@ namespace CalamityMod.Items.Tools { item.damage = 51; item.melee = true; - item.width = 58; - item.height = 52; + item.width = 66; + item.height = 56; item.useTime = 27; item.useAnimation = 27; item.useTurn = true; diff --git a/Items/Weapons/BladedgeGreatbow.cs b/Items/Weapons/BladedgeGreatbow.cs index 9f809b5f0d..604f4c4982 100644 --- a/Items/Weapons/BladedgeGreatbow.cs +++ b/Items/Weapons/BladedgeGreatbow.cs @@ -20,7 +20,7 @@ namespace CalamityMod.Items.Weapons item.damage = 26; item.ranged = true; item.width = 74; - item.height = 22; + item.height = 24; item.useTime = 24; item.useAnimation = 24; item.useStyle = 5; diff --git a/Items/Weapons/EvergladeSpray.cs b/Items/Weapons/EvergladeSpray.cs index aa15b9b1db..0ec5bee69a 100644 --- a/Items/Weapons/EvergladeSpray.cs +++ b/Items/Weapons/EvergladeSpray.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons item.damage = 28; item.magic = true; item.mana = 8; - item.width = 30; + item.width = 34; item.height = 30; item.useTime = 6; item.useAnimation = 18; diff --git a/Items/Weapons/FeralthornClaymore.cs b/Items/Weapons/FeralthornClaymore.cs index d6145a30de..1449f6d2b9 100644 --- a/Items/Weapons/FeralthornClaymore.cs +++ b/Items/Weapons/FeralthornClaymore.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons public override void SetDefaults() { - item.width = 66; + item.width = 68; item.damage = 63; item.melee = true; item.useAnimation = 13; diff --git a/Items/Weapons/GalacticaBlade.cs b/Items/Weapons/GalacticaBlade.cs index 57bbc61b10..bab853dbb7 100644 --- a/Items/Weapons/GalacticaBlade.cs +++ b/Items/Weapons/GalacticaBlade.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons public override void SetDefaults() { - item.width = 76; + item.width = 60; item.damage = 110; item.melee = true; item.useAnimation = 17; @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons item.knockBack = 6f; item.UseSound = SoundID.Item105; item.autoReuse = true; - item.height = 68; + item.height = 58; item.value = Item.buyPrice(1, 20, 0, 0); item.rare = 10; item.shoot = mod.ProjectileType("GalacticaComet"); diff --git a/Items/Weapons/HellionFlowerSpear.cs b/Items/Weapons/HellionFlowerSpear.cs index 95f4509529..03d1b0ce8e 100644 --- a/Items/Weapons/HellionFlowerSpear.cs +++ b/Items/Weapons/HellionFlowerSpear.cs @@ -15,7 +15,7 @@ namespace CalamityMod.Items.Weapons public override void SetDefaults() { - item.width = 74; + item.width = 64; item.damage = 67; item.melee = true; item.noMelee = true; @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons item.knockBack = 7.5f; item.UseSound = SoundID.Item1; item.autoReuse = false; - item.height = 74; + item.height = 64; item.value = Item.buyPrice(0, 60, 0, 0); item.rare = 7; item.shoot = mod.ProjectileType("HellionFlowerSpearProjectile"); diff --git a/Items/Weapons/PlagueKeeper.cs b/Items/Weapons/PlagueKeeper.cs index 40aeba0aa8..85227841b0 100644 --- a/Items/Weapons/PlagueKeeper.cs +++ b/Items/Weapons/PlagueKeeper.cs @@ -25,7 +25,7 @@ namespace CalamityMod.Items.Weapons item.knockBack = 6f; item.UseSound = SoundID.Item1; item.autoReuse = true; - item.height = 92; + item.height = 90; item.value = Item.buyPrice(1, 20, 0, 0); item.rare = 10; item.shoot = mod.ProjectileType("PlagueBeeDust"); diff --git a/Items/Weapons/Quagmire.cs b/Items/Weapons/Quagmire.cs index 0e72f0cd1f..4066d2afbe 100644 --- a/Items/Weapons/Quagmire.cs +++ b/Items/Weapons/Quagmire.cs @@ -15,6 +15,8 @@ namespace CalamityMod.Items.Weapons public override void SetDefaults() { item.CloneDefaults(ItemID.HelFire); + item.width = 30; + item.height = 36; item.damage = 52; item.useTime = 22; item.useAnimation = 22; diff --git a/Items/Weapons/Ravager/UltimusCleaver.cs b/Items/Weapons/Ravager/UltimusCleaver.cs index fc76f35bdf..ac093cc176 100644 --- a/Items/Weapons/Ravager/UltimusCleaver.cs +++ b/Items/Weapons/Ravager/UltimusCleaver.cs @@ -19,8 +19,8 @@ namespace CalamityMod.Items.Weapons.Ravager item.damage = 300; item.melee = true; item.rare = 8; - item.width = 102; - item.height = 82; + item.width = 72; + item.height = 62; item.useTime = 20; item.useAnimation = 20; item.useStyle = 1; diff --git a/Items/Weapons/StellarStriker.cs b/Items/Weapons/StellarStriker.cs index 90c3729c72..8b2a36b071 100644 --- a/Items/Weapons/StellarStriker.cs +++ b/Items/Weapons/StellarStriker.cs @@ -17,7 +17,7 @@ namespace CalamityMod.Items.Weapons public override void SetDefaults() { - item.width = 86; + item.width = 84; item.damage = 640; item.melee = true; item.useAnimation = 25; @@ -27,7 +27,7 @@ namespace CalamityMod.Items.Weapons item.knockBack = 7.75f; item.UseSound = SoundID.Item1; item.autoReuse = true; - item.height = 86; + item.height = 90; item.value = Item.buyPrice(1, 20, 0, 0); item.rare = 10; item.shootSpeed = 12f; diff --git a/Items/Weapons/TeardropCleaver.cs b/Items/Weapons/TeardropCleaver.cs index 60dc2e670f..552976d840 100644 --- a/Items/Weapons/TeardropCleaver.cs +++ b/Items/Weapons/TeardropCleaver.cs @@ -14,7 +14,7 @@ namespace CalamityMod.Items.Weapons public override void SetDefaults() { - item.width = 58; + item.width = 56; item.damage = 18; item.melee = true; item.useAnimation = 24; @@ -24,7 +24,7 @@ namespace CalamityMod.Items.Weapons item.knockBack = 4.5f; item.UseSound = SoundID.Item1; item.autoReuse = true; - item.height = 68; + item.height = 66; item.value = Item.buyPrice(0, 2, 0, 0); item.rare = 2; } diff --git a/Projectiles/Summon/ReaverOrb.cs b/Projectiles/Summon/ReaverOrb.cs index 5ea922c60a..0f4cb29b7c 100644 --- a/Projectiles/Summon/ReaverOrb.cs +++ b/Projectiles/Summon/ReaverOrb.cs @@ -19,8 +19,8 @@ namespace CalamityMod.Projectiles.Summon public override void SetDefaults() { - projectile.width = 30; - projectile.height = 30; + projectile.width = 48; + projectile.height = 50; projectile.netImportant = true; projectile.friendly = true; projectile.ignoreWater = true;