diff --git a/CalPlayer/DrawLayers/HeldItemGlowMaskLayer.cs b/CalPlayer/DrawLayers/HeldItemGlowMaskLayer.cs index cd0b42f630..5258c2edc6 100644 --- a/CalPlayer/DrawLayers/HeldItemGlowMaskLayer.cs +++ b/CalPlayer/DrawLayers/HeldItemGlowMaskLayer.cs @@ -37,30 +37,10 @@ namespace CalamityMod.CalPlayer.DrawLayers // This is ugly and I don't give a fuck. // If you want it to look better, do it yourself. Texture2D glowMask = default; - if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/IridescentExcaliburGlow").Value; - else if (itemType == ModContent.ItemType()) + if (itemType == ModContent.ItemType()) glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/AbyssShocker_mask").Value; else if (itemType == ModContent.ItemType()) glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/ApotheosisGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/DeathhailStaffGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/FatesRevealGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/SoulPiercerGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/SubsumingVortexGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/EssenceFlayerGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/ExcelsusGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/PrismaticBreakerGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/TerrorBladeGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/TheEnforcerGlow").Value; else if (itemType == ModContent.ItemType()) glowMask = ModContent.Request("CalamityMod/Items/Weapons/Ranged/AuralisGlow").Value; else if (itemType == ModContent.ItemType()) @@ -69,20 +49,44 @@ namespace CalamityMod.CalPlayer.DrawLayers glowMask = ModContent.Request("CalamityMod/Items/Weapons/Ranged/CleansingBlazeGlow").Value; else if (itemType == ModContent.ItemType()) glowMask = ModContent.Request("CalamityMod/Items/Weapons/Ranged/CosmicBolterGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/DeathhailStaffGlow").Value; else if (itemType == ModContent.ItemType()) glowMask = ModContent.Request("CalamityMod/Items/Weapons/Ranged/DeathwindGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/EssenceFlayerGlow").Value; else if (itemType == ModContent.ItemType()) glowMask = ModContent.Request("CalamityMod/Items/Weapons/Summon/EtherealSubjugatorGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/GreatswordofJudgementGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/OrderbringerGlow").Value; - else if (itemType == ModContent.ItemType()) - glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/MajesticGuardGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/ExcelsusGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/IridescentExcaliburGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/FatesRevealGlow").Value; else if (itemType == ModContent.ItemType()) glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/GrandGuardianGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/GreatswordofJudgementGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/MajesticGuardGlow").Value; else if (itemType == ModContent.ItemType()) glowMask = ModContent.Request("CalamityMod/Items/SummonItems/NecroplasmicBeaconGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/OrderbringerGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Summon/PlantationStaffGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/PrismaticBreakerGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/SoulPiercerGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/SubsumingVortexGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Magic/TerraRayGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/TerrorBladeGlow").Value; + else if (itemType == ModContent.ItemType()) + glowMask = ModContent.Request("CalamityMod/Items/Weapons/Melee/TheEnforcerGlow").Value; if (glowMask == default) return; diff --git a/Items/Ammo/TerraArrow.png b/Items/Ammo/TerraArrow.png index 2fba9fd97b..0b38fd9cb5 100644 Binary files a/Items/Ammo/TerraArrow.png and b/Items/Ammo/TerraArrow.png differ diff --git a/Items/Ammo/TerraBullet.png b/Items/Ammo/TerraBullet.png index 1b78972e17..05f96745e8 100644 Binary files a/Items/Ammo/TerraBullet.png and b/Items/Ammo/TerraBullet.png differ diff --git a/Items/Potions/TeslaPotion.cs b/Items/Potions/TeslaPotion.cs index be6d4da105..c2d8e0142b 100644 --- a/Items/Potions/TeslaPotion.cs +++ b/Items/Potions/TeslaPotion.cs @@ -38,6 +38,7 @@ namespace CalamityMod.Items.Potions public override void AddRecipes() { + Condition evil2Dead = new(CalamityUtils.GetText("Condition.DownedEvil2Boss"), () => DownedBossSystem.downedHiveMind || DownedBossSystem.downedPerforator); CreateRecipe(5). AddIngredient(ItemID.BottledWater). AddIngredient(2). @@ -45,6 +46,7 @@ namespace CalamityMod.Items.Potions AddIngredient(). AddIngredient(). AddTile(TileID.Bottles). + AddDecraftCondition(evil2Dead). Register(); CreateRecipe(). diff --git a/Items/Weapons/Magic/TerraRay.cs b/Items/Weapons/Magic/TerraRay.cs index a8b71ad589..30d90623c4 100644 --- a/Items/Weapons/Magic/TerraRay.cs +++ b/Items/Weapons/Magic/TerraRay.cs @@ -1,6 +1,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Magic; using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.DataStructures; using Terraria.ID; @@ -18,8 +19,8 @@ namespace CalamityMod.Items.Weapons.Magic public override void SetDefaults() { - Item.width = 54; - Item.height = 54; + Item.width = 58; + Item.height = 58; Item.damage = 60; Item.DamageType = DamageClass.Magic; Item.mana = 10; @@ -44,6 +45,11 @@ namespace CalamityMod.Items.Weapons.Magic return false; } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Weapons/Magic/TerraRayGlow").Value); + } + public override void AddRecipes() { CreateRecipe(). diff --git a/Items/Weapons/Magic/TerraRay.png b/Items/Weapons/Magic/TerraRay.png index ffeae7d03e..8784082b21 100644 Binary files a/Items/Weapons/Magic/TerraRay.png and b/Items/Weapons/Magic/TerraRay.png differ diff --git a/Items/Weapons/Magic/TerraRayGlow.png b/Items/Weapons/Magic/TerraRayGlow.png new file mode 100644 index 0000000000..723f68f930 Binary files /dev/null and b/Items/Weapons/Magic/TerraRayGlow.png differ diff --git a/Items/Weapons/Melee/TerraLance.cs b/Items/Weapons/Melee/TerraLance.cs index 2b0cca945e..a2d0e97dfc 100644 --- a/Items/Weapons/Melee/TerraLance.cs +++ b/Items/Weapons/Melee/TerraLance.cs @@ -1,5 +1,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Melee.Spears; +using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.ID; using Terraria.ModLoader; @@ -16,8 +18,8 @@ namespace CalamityMod.Items.Weapons.Melee public override void SetDefaults() { - Item.width = 44; - Item.height = 44; + Item.width = 112; + Item.height = 112; Item.damage = 88; Item.DamageType = DamageClass.Melee; Item.noMelee = true; @@ -37,6 +39,11 @@ namespace CalamityMod.Items.Weapons.Melee public override bool CanUseItem(Player player) => player.ownedProjectileCounts[Item.shoot] <= 0; + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Weapons/Melee/TerraLanceGlow").Value); + } + public override void AddRecipes() { CreateRecipe(). diff --git a/Items/Weapons/Melee/TerraLance.png b/Items/Weapons/Melee/TerraLance.png index 2ec07315aa..80e33f768e 100644 Binary files a/Items/Weapons/Melee/TerraLance.png and b/Items/Weapons/Melee/TerraLance.png differ diff --git a/Items/Weapons/Melee/TerraLanceGlow.png b/Items/Weapons/Melee/TerraLanceGlow.png new file mode 100644 index 0000000000..89129d2873 Binary files /dev/null and b/Items/Weapons/Melee/TerraLanceGlow.png differ diff --git a/Items/Weapons/Ranged/CosmicBolter.cs b/Items/Weapons/Ranged/CosmicBolter.cs index 4d84616595..1b96a8b0d3 100644 --- a/Items/Weapons/Ranged/CosmicBolter.cs +++ b/Items/Weapons/Ranged/CosmicBolter.cs @@ -14,8 +14,8 @@ namespace CalamityMod.Items.Weapons.Ranged public new string LocalizationCategory => "Items.Weapons.Ranged"; public override void SetDefaults() { - Item.width = 50; - Item.height = 112; + Item.width = 68; + Item.height = 94; Item.damage = 48; Item.DamageType = DamageClass.Ranged; Item.useTime = 20; diff --git a/Items/Weapons/Ranged/CosmicBolter.png b/Items/Weapons/Ranged/CosmicBolter.png index c56363cc87..8776adf492 100644 Binary files a/Items/Weapons/Ranged/CosmicBolter.png and b/Items/Weapons/Ranged/CosmicBolter.png differ diff --git a/Items/Weapons/Ranged/CosmicBolterGlow.png b/Items/Weapons/Ranged/CosmicBolterGlow.png index 37d467276c..d7f6ef8efe 100644 Binary files a/Items/Weapons/Ranged/CosmicBolterGlow.png and b/Items/Weapons/Ranged/CosmicBolterGlow.png differ diff --git a/Items/Weapons/Ranged/Photoviscerator.cs b/Items/Weapons/Ranged/Photoviscerator.cs index 28194a308a..fd96b58099 100644 --- a/Items/Weapons/Ranged/Photoviscerator.cs +++ b/Items/Weapons/Ranged/Photoviscerator.cs @@ -31,7 +31,7 @@ namespace CalamityMod.Items.Weapons.Ranged Item.width = 208; Item.height = 66; - Item.damage = 445; + Item.damage = 450; Item.DamageType = DamageClass.Ranged; Item.useTime = Item.useAnimation = LightBombCooldown; Item.shootSpeed = 6f; diff --git a/Items/Weapons/Ranged/TerraFlameburster.cs b/Items/Weapons/Ranged/TerraFlameburster.cs index c75a9dbec1..0a7824acad 100644 --- a/Items/Weapons/Ranged/TerraFlameburster.cs +++ b/Items/Weapons/Ranged/TerraFlameburster.cs @@ -1,6 +1,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Ranged; using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.DataStructures; using Terraria.ID; @@ -17,8 +18,8 @@ namespace CalamityMod.Items.Weapons.Ranged public override void SetDefaults() { - Item.width = 68; - Item.height = 22; + Item.width = 114; + Item.height = 58; Item.damage = 78; Item.DamageType = DamageClass.Ranged; Item.useTime = TerraUseTime; @@ -47,6 +48,11 @@ namespace CalamityMod.Items.Weapons.Ranged return false; } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Weapons/Ranged/TerraFlamebursterGlow").Value); + } + public override void AddRecipes() { CreateRecipe(). diff --git a/Items/Weapons/Ranged/TerraFlameburster.png b/Items/Weapons/Ranged/TerraFlameburster.png index 6dd46e5f7a..e256d3828d 100644 Binary files a/Items/Weapons/Ranged/TerraFlameburster.png and b/Items/Weapons/Ranged/TerraFlameburster.png differ diff --git a/Items/Weapons/Ranged/TerraFlamebursterGlow.png b/Items/Weapons/Ranged/TerraFlamebursterGlow.png new file mode 100644 index 0000000000..7d3ba2d37f Binary files /dev/null and b/Items/Weapons/Ranged/TerraFlamebursterGlow.png differ diff --git a/Items/Weapons/Rogue/TerraDisk.cs b/Items/Weapons/Rogue/TerraDisk.cs index 9d572bc370..15350e648a 100644 --- a/Items/Weapons/Rogue/TerraDisk.cs +++ b/Items/Weapons/Rogue/TerraDisk.cs @@ -1,6 +1,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Rogue; using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.DataStructures; using Terraria.ID; @@ -14,8 +15,8 @@ namespace CalamityMod.Items.Weapons.Rogue public override void SetDefaults() { - Item.width = 46; - Item.height = 46; + Item.width = 60; + Item.height = 64; Item.damage = 100; Item.knockBack = 4f; Item.useAnimation = Item.useTime = 30; @@ -46,6 +47,11 @@ namespace CalamityMod.Items.Weapons.Rogue return false; } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Weapons/Rogue/TerraDiskGlow").Value); + } + public override void AddRecipes() { CreateRecipe(). diff --git a/Items/Weapons/Rogue/TerraDisk.png b/Items/Weapons/Rogue/TerraDisk.png index 32b39a6f1e..a7b123e6f2 100644 Binary files a/Items/Weapons/Rogue/TerraDisk.png and b/Items/Weapons/Rogue/TerraDisk.png differ diff --git a/Items/Weapons/Rogue/TerraDiskGlow.png b/Items/Weapons/Rogue/TerraDiskGlow.png new file mode 100644 index 0000000000..0952f72408 Binary files /dev/null and b/Items/Weapons/Rogue/TerraDiskGlow.png differ diff --git a/Items/Weapons/Summon/PlantationStaff.cs b/Items/Weapons/Summon/PlantationStaff.cs index be0241b999..2fff600df2 100644 --- a/Items/Weapons/Summon/PlantationStaff.cs +++ b/Items/Weapons/Summon/PlantationStaff.cs @@ -1,6 +1,7 @@ using CalamityMod.Items.Materials; using CalamityMod.Projectiles.Summon; using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.DataStructures; using Terraria.ID; @@ -34,8 +35,8 @@ namespace CalamityMod.Items.Weapons.Summon public override void SetDefaults() { - Item.width = 46; - Item.height = 48; + Item.width = 50; + Item.height = 50; Item.damage = 58; Item.DamageType = DamageClass.Summon; Item.shoot = ModContent.ProjectileType(); @@ -58,6 +59,11 @@ namespace CalamityMod.Items.Weapons.Summon return false; } + public override void PostDrawInWorld(SpriteBatch spriteBatch, Color lightColor, Color alphaColor, float rotation, float scale, int whoAmI) + { + Item.DrawItemGlowmaskSingleFrame(spriteBatch, rotation, ModContent.Request("CalamityMod/Items/Weapons/Summon/PlantationStaffGlow").Value); + } + public override void AddRecipes() { CreateRecipe(). diff --git a/Items/Weapons/Summon/PlantationStaff.png b/Items/Weapons/Summon/PlantationStaff.png index 638749a929..f995f95e8a 100644 Binary files a/Items/Weapons/Summon/PlantationStaff.png and b/Items/Weapons/Summon/PlantationStaff.png differ diff --git a/Items/Weapons/Summon/PlantationStaffGlow.png b/Items/Weapons/Summon/PlantationStaffGlow.png new file mode 100644 index 0000000000..b17834002f Binary files /dev/null and b/Items/Weapons/Summon/PlantationStaffGlow.png differ diff --git a/Localization/en-US/Mods.CalamityMod.Condition.hjson b/Localization/en-US/Mods.CalamityMod.Condition.hjson index 79c5627b6e..bf60551d64 100644 --- a/Localization/en-US/Mods.CalamityMod.Condition.hjson +++ b/Localization/en-US/Mods.CalamityMod.Condition.hjson @@ -90,11 +90,12 @@ InSulph: While in the Sulphurous Sea InSunken: While in the Sunken Sea InRev: In Revengeance Mode AlcoholPoison: While inflicted with Alcohol Poisoning +DownedHM: After the Hive Mind has been defeated +DownedPerfs: After the Perforator Hive has been defeated +DownedEvil2Boss: After the Hive Mind or the Perforators have been defeated PostCal: After Calamitas Clone has been defeated PostAureus: After Astrum Aureus has been defeated PostPolter: After Polterghast has been defeated PostOD: After the Old Duke has been defeated PostDoG: After the Devourer of Gods has been defeated PostYharon: After Yharon has been defeated -DownedPerfs: After the Perforator Hive has been defeated -DownedHM: After the Hive Mind has been defeated diff --git a/NPCs/CalamityGlobalTownNPC.cs b/NPCs/CalamityGlobalTownNPC.cs index 6c0ef216ba..f8f6cd8ff0 100644 --- a/NPCs/CalamityGlobalTownNPC.cs +++ b/NPCs/CalamityGlobalTownNPC.cs @@ -71,12 +71,13 @@ namespace CalamityMod.NPCs "Drifter", "Finchi", "Heniek", // <@!363404700445442050> (kazurgundu) - "Fire", // <@!354362326947856384> (fire#0692) + "Fire", // <@!354362326947856384> (ultimatefirewaster) "Barney Calhoun", // <@!634462901431697410> (potatostego) - "XiaoEn0426", // <@!440448864772816896> (XiaoEn0426#9157) - "Jeffred", // <@!295362230038560768> (Knight Solaire#0873) + "XiaoEn0426", // <@!440448864772816896> (xiaoen0426) + "Jeffred", // <@!295362230038560768> (paladinsamuel) "The Cooler Arthur", // <@!568263512523014154> (gokuartillery) "Markie", // <@!291141964039061504> (markie_) + "Shark", // <@!874464051697172492> (congratsistrash) }; private static readonly string[] ClothierNames = { @@ -85,7 +86,7 @@ namespace CalamityMod.NPCs }; private static readonly string[] CyborgNames = { - "Sylux", // <@!331812782183809025> (Gonk#2451) + "Sylux", // <@!331812782183809025> (gonkachino) }; private static readonly string[] DemolitionistNames = { @@ -98,18 +99,18 @@ namespace CalamityMod.NPCs "Izuna", "Jasmine", // <@!430532867479699456> (phantasmagoria.) "Cybil", // <@!486507232666845185> (Captain Doofus#????) - "Ruth", // <@!1001307586068492388> (Briny_Coffee#4393) + "Ruth", // <@!1001307586068492388> (briny_coffee) }; private static readonly string[] DyeTraderNames = null; private static readonly string[] GoblinTinkererNames = { "Verth", - "Gormer", // <@!287651204924833795> (Picasso's Bean#2819 -- RIP) + "Gormer", // <@!287651204924833795> (picassosbean2819 -- RIP) "TingFlarg", // <@!185605031716847616> (smugggo) - "Driser", // <@!121996994406252544> (Driser#8630) + "Driser", // <@!121996994406252544> (driser) "Eddie Spaghetti", // <@!466397267407011841> (nathansfriend) "G'tok", // <@!335192200956608535> (gtoktas) - "Katto", // <@!175972165504466944> (Katto#2858) + "Katto", // <@!175972165504466944> (katto_kat) "Him", // <@!931019614958256139> (himtheguy1) "Tooshiboots", // <@!333532730593771522> (ulmod) "Neesh", // <@!175803493464932352> (xjetty) @@ -122,15 +123,15 @@ namespace CalamityMod.NPCs "Streakist", // used to be "StreakistYT". couldn't find the youtube channel, and decided to remove the ad. "Necroplasmic", "Devin", - "Woffle", // <@!185980979427540992> (Chipbeam#2268) + "Woffle", // <@!185980979427540992> (chipbeam) "Cameron", // <@!340401981711712258> (cammywammy.) "Wilbur", // <@!295171926324805634> (all_imperfect_chaos) "Good Game Design", // <@!564267767042277385> (dominickarma) - "Danmaku", // <@!756259562268524555> (Danmaku#2659) - "Grylken", // <@!299970404435361802> (Grylken#1569) + "Danmaku", // <@!756259562268524555> (danmaku0) + "Grylken", // <@!299970404435361802> (grylken) "Outlaw", // <@!918311619480657922> (thechosenoutlaw) - "Alfred Rend", // <@!606301806481375255> (Deadsqurp300#0907) - "Leeman", // <@!281999243168841728> (Tweee#5831) + "Alfred Rend", // <@!606301806481375255> (deadsqurp300) + "Leeman", // <@!281999243168841728> (tweee) "Mihai", // <@!373941893467209730> (cmihaii.) "Cooler Kevin", // <@!614126424751603714> (exellent.) }; @@ -138,7 +139,7 @@ namespace CalamityMod.NPCs { "Lilly", "Daawn", // <@!206162323541458944> (daawnily) - "Robin", // <@!654737510030639112> (Altzeus#8687) + "Robin", // <@!654737510030639112> (altzeus) "Curly", // <@!673092101780668416> (curly4830) }; private static readonly string[] MerchantNames = @@ -153,18 +154,18 @@ namespace CalamityMod.NPCs }; private static readonly string[] PainterNames = { - "Picasso", // <@!353316526306361347> (sconicboom -- for the late Picasso's Bean#2819) + "Picasso", // <@!353316526306361347> (sconicboom -- for the late picassosbean2819) }; private static readonly string[] PartyGirlNames = { - "Arin", // <@!268169458302976012> (Kiyotu#0006) + "Arin", // <@!268169458302976012> (kiyotu) }; private static readonly string[] PirateNames = { "Tyler Van Hook", "Cap'n Deek", // "Alex N" on Patreon (No discord account) "Captain Billy Bones", // <@!699589229507772416> (djackv) - "Captain J. Crackers", // <@!233232602994049024> (Qyuuno#3031) + "Captain J. Crackers", // <@!233232602994049024> (qyuuno) }; private static readonly string[] PrincessNames = { @@ -202,7 +203,7 @@ namespace CalamityMod.NPCs "Tim Lockwood", // <@!605839945483026434> (pomvoid) "Sir Samuel Winchester Jenkins Kester II", // <@!107659695749070848> (ryaegos) "Brutus", // <@!591889650692521984> (.brutus._) - "Sloth", // <@!486265327387279391> (BossyPunch#4983) + "Sloth", // <@!486265327387279391> (bossypunch) }; private static readonly string[] TaxCollectorNames = { @@ -231,18 +232,18 @@ namespace CalamityMod.NPCs "Inorim, son of Ivukey", "Jensen", "Merasmus", // <@!288066987819663360> (spiderprovidence) - "Habolo", // <@!163028025494077441> (ChristmasGoat#7810) + "Habolo", // <@!163028025494077441> (hellgoat2) "Ortho", // <@!264984390910738432> (worcuus) "Chris Tallballs", // <@!770211589076418571> (bewearium) "Syethas", // <@!325413275066171393> (cosmicstariight) - "Nextdoor Psycho", // <@!173261518572486656> (⋈-NextdoorPsycho-⋈#0001) + "Nextdoor Psycho", // <@!173261518572486656> (nextdoorpsycho) }; private static readonly string[] ZoologistNames = { - "Kiriku", // <@!395312478160027668> (rulosss#6814) + "Kiriku", // <@!395312478160027668> (rulosss) "Lacuna", // <@!790746689211203604> (_lacuna_) "Mae Borowski", //<@!219158690433990656> (justakkolite) - "Jackie", // <@!353241811717718016> (jackalchan) + "Fera", // <@!195850711567826945> (juneark_) }; // The following sets are for the 1.4 Town Pets: Town Dogs, Cats and Bunnies. @@ -275,7 +276,7 @@ namespace CalamityMod.NPCs private static readonly string[] TownDogDalmatianNames = null; private static readonly string[] TownDogHuskyNames = { - "Yoshi", // <@!541127291426832384> (GregTheSpinarak#6643) + "Yoshi", // <@!541127291426832384> (gregthespinarak) }; private const int TownCatSiameseVanillaNames = 12; @@ -287,7 +288,7 @@ namespace CalamityMod.NPCs private static readonly string[] TownCatNames = { "Smoogle", // <@!709968379334623274> (smooglin) - "The Meowurer of Gods", // <@!385949114271268864> (GP#7876) + "The Meowurer of Gods", // <@!385949114271268864> (thatgp) "Katsafaros", // <@!190595401328492544> (gr_mm) "Lucerne", // <@!271954788676141066> (lord_lucerne) "Milo", // <@!401849201597874179> (maskedmilo) @@ -300,7 +301,8 @@ namespace CalamityMod.NPCs }; private static readonly string[] TownCatOrangeTabbyNames = { - "Felix" // <@!183424826407518208> (lilac_vrt_olligoci) + "Felix", // <@!183424826407518208> (lilac_vrt_olligoci) + "Tardo", // <@!739343546867384391> (midnight295) }; private static readonly string[] TownCatRussianBlueNames = null; private static readonly string[] TownCatSilverNames = null; diff --git a/NPCs/SupremeCalamitas/SupremeCalamitas.cs b/NPCs/SupremeCalamitas/SupremeCalamitas.cs index de2058c5fe..82a5223453 100644 --- a/NPCs/SupremeCalamitas/SupremeCalamitas.cs +++ b/NPCs/SupremeCalamitas/SupremeCalamitas.cs @@ -2300,9 +2300,9 @@ namespace CalamityMod.NPCs.SupremeCalamitas if (Main.netMode != NetmodeID.MultiplayerClient) { - float projectileVelocityToPass = projectileVelocity.Length() * 2f; + float projectileVelocityToPass = projectileVelocity.Length() * 1.3f; Vector2 perturbedSpeed = projectileVelocity.RotatedBy(MathHelper.Lerp(-rotation, rotation, j / (float)(numProj - 1))); - Projectile.NewProjectile(NPC.GetSource_FromAI(), projectileSpawn, perturbedSpeed, randomShot, barrageDamage, 0f, Main.myPlayer, 0, 2f, projectileVelocityToPass); + Projectile.NewProjectile(NPC.GetSource_FromAI(), projectileSpawn, perturbedSpeed, randomShot, barrageDamage, 0f, Main.myPlayer, 0, 4f, projectileVelocityToPass); NPC.netUpdate = true; } } @@ -2857,9 +2857,9 @@ namespace CalamityMod.NPCs.SupremeCalamitas if (Main.netMode != NetmodeID.MultiplayerClient) { - float projectileVelocityToPass = projectileVelocity.Length() * 2f; + float projectileVelocityToPass = projectileVelocity.Length() * 1.3f; Vector2 perturbedSpeed = projectileVelocity.RotatedBy(MathHelper.Lerp(-rotation, rotation, j / (float)(numProj - 1))); - Projectile.NewProjectile(NPC.GetSource_FromAI(), projectileSpawn, perturbedSpeed, randomShot, barrageDamage, 0f, Main.myPlayer, 0f, 2f, projectileVelocityToPass); + Projectile.NewProjectile(NPC.GetSource_FromAI(), projectileSpawn, perturbedSpeed, randomShot, barrageDamage, 0f, Main.myPlayer, 0f, 4f, projectileVelocityToPass); NPC.netUpdate = true; } } @@ -3097,6 +3097,7 @@ namespace CalamityMod.NPCs.SupremeCalamitas // Bonus visuals if (!canDespawn && !hasDoneDeathAnim && shieldOpacity >= 0.9f) { + NPC.damage = NPC.defDamage; if (dashVisualCounter < 9) dashVisualCounter++; else @@ -3120,7 +3121,10 @@ namespace CalamityMod.NPCs.SupremeCalamitas } } else + { + NPC.damage = 0; dashVisualCounter = 0; + } #endregion } diff --git a/NPCs/TownNPCs/THIEF.cs b/NPCs/TownNPCs/THIEF.cs index b4500f0395..ca0b761bf9 100644 --- a/NPCs/TownNPCs/THIEF.cs +++ b/NPCs/TownNPCs/THIEF.cs @@ -111,6 +111,7 @@ namespace CalamityMod.NPCs.TownNPCs "Goose", // <@!591421917706321962> (DullElili#8016) "Jackson", // <@!525827730646892549> (ChowChow, Sin of Sleep Schedules#1235) "Altarca", // <@!1140673052108128337> (altarca_27226_49175) + "Jackie", // <@!353241811717718016> (jackalchan) // Original names this.GetLocalizedValue("Name.Laura"), diff --git a/Projectiles/Boss/BrimstoneBarrage.cs b/Projectiles/Boss/BrimstoneBarrage.cs index 9aab243f7f..5c4f0f70eb 100644 --- a/Projectiles/Boss/BrimstoneBarrage.cs +++ b/Projectiles/Boss/BrimstoneBarrage.cs @@ -16,6 +16,7 @@ namespace CalamityMod.Projectiles.Boss public class BrimstoneBarrage : ModProjectile, ILocalizedModType { public new string LocalizationCategory => "Projectiles.Boss"; + public int time = 0; public override void SetStaticDefaults() { Main.projFrames[Projectile.type] = 4; @@ -97,7 +98,7 @@ namespace CalamityMod.Projectiles.Boss } // This only runs for SCal projectiles. - if (Projectile.ai[1] == 2f) + if (Projectile.ai[1] == 2f || (Projectile.ai[1] == 4f && time > 10)) { if (targetDist < 1400f) { @@ -128,6 +129,7 @@ namespace CalamityMod.Projectiles.Boss } Lighting.AddLight(Projectile.Center, 0.75f * Projectile.Opacity, 0f, 0f); + time++; } public override bool CanHitPlayer(Player target) => Projectile.Opacity == 1f; diff --git a/Projectiles/Boss/SCalBrimstoneFireblast.cs b/Projectiles/Boss/SCalBrimstoneFireblast.cs index aef1898b89..0a19763b77 100644 --- a/Projectiles/Boss/SCalBrimstoneFireblast.cs +++ b/Projectiles/Boss/SCalBrimstoneFireblast.cs @@ -209,7 +209,7 @@ namespace CalamityMod.Projectiles.Boss for (int k = 0; k < totalProjectiles; k++) { Vector2 velocity2 = spinningPoint.RotatedBy(radians * k); - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity2, type, (int)Math.Round(Projectile.damage * 0.75), 0f, Projectile.owner, 0f, Projectile.ai[1], velocity * 2f); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity2, type, (int)Math.Round(Projectile.damage * 0.75), 0f, Projectile.owner, 0f, Projectile.ai[1], velocity * 1.5f); } } diff --git a/Projectiles/Boss/SCalBrimstoneGigablast.cs b/Projectiles/Boss/SCalBrimstoneGigablast.cs index 2669c15104..ac371abf28 100644 --- a/Projectiles/Boss/SCalBrimstoneGigablast.cs +++ b/Projectiles/Boss/SCalBrimstoneGigablast.cs @@ -194,7 +194,7 @@ namespace CalamityMod.Projectiles.Boss for (int k = 0; k < totalProjectiles; k++) { Vector2 velocity2 = spinningPoint.RotatedBy(radians * k); - Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity2, type, (int)Math.Round(Projectile.damage * 0.75), 0f, Projectile.owner, 0f, Projectile.ai[1], velocity * 2f); + Projectile.NewProjectile(Projectile.GetSource_FromThis(), Projectile.Center, velocity2, type, (int)Math.Round(Projectile.damage * 0.75), 0f, Projectile.owner, 0f, Projectile.ai[1], velocity * 1.5f); } } diff --git a/Projectiles/Melee/Spears/TerraLanceProjectile.png b/Projectiles/Melee/Spears/TerraLanceProjectile.png index e828311256..09fd646880 100644 Binary files a/Projectiles/Melee/Spears/TerraLanceProjectile.png and b/Projectiles/Melee/Spears/TerraLanceProjectile.png differ diff --git a/Projectiles/Ranged/PhotovisceratorHoldout.cs b/Projectiles/Ranged/PhotovisceratorHoldout.cs index be9c254ca0..97c1d873fe 100644 --- a/Projectiles/Ranged/PhotovisceratorHoldout.cs +++ b/Projectiles/Ranged/PhotovisceratorHoldout.cs @@ -225,7 +225,7 @@ namespace CalamityMod.Projectiles.Ranged } SoundEngine.PlaySound(HalleysInferno.ShootSound with { Volume = 0.4f }, Owner.MountedCenter); - int rightClickDamage = (int)(0.5f * damage); + int rightClickDamage = (int)(0.65f * damage); Projectile.NewProjectile(source, position, velocity, ProjectileType(), rightClickDamage, knockback, Projectile.owner); } diff --git a/Projectiles/Ranged/TerraFlamebursterHouldout.cs b/Projectiles/Ranged/TerraFlamebursterHoldout.cs similarity index 91% rename from Projectiles/Ranged/TerraFlamebursterHouldout.cs rename to Projectiles/Ranged/TerraFlamebursterHoldout.cs index 33d3beefda..71f36e2e37 100644 --- a/Projectiles/Ranged/TerraFlamebursterHouldout.cs +++ b/Projectiles/Ranged/TerraFlamebursterHoldout.cs @@ -1,6 +1,7 @@ using CalamityMod.Items.Weapons.Ranged; using CalamityMod.Projectiles.BaseProjectiles; using Microsoft.Xna.Framework; +using Microsoft.Xna.Framework.Graphics; using Terraria; using Terraria.Audio; using Terraria.DataStructures; @@ -12,6 +13,8 @@ namespace CalamityMod.Projectiles.Ranged public class TerraFlamebursterHoldout : BaseGunHoldoutProjectile { public override int AssociatedItemID => ModContent.ItemType(); + public override string Texture => "CalamityMod/Projectiles/Ranged/TerraFlamebursterHoldout"; + public override Vector2 GunTipPosition => base.GunTipPosition - Vector2.UnitX.RotatedBy(Projectile.rotation) * 17f - (Vector2.UnitY.RotatedBy(Projectile.rotation) * 7f * Projectile.spriteDirection); public override float MaxOffsetLengthFromArm => 20f; public override float OffsetXUpwards => -5f; public override float BaseOffsetY => -5f; diff --git a/Projectiles/Ranged/TerraFlamebursterHoldout.png b/Projectiles/Ranged/TerraFlamebursterHoldout.png new file mode 100644 index 0000000000..73d499359f Binary files /dev/null and b/Projectiles/Ranged/TerraFlamebursterHoldout.png differ