From dc493566ded0e1c8d73fbf802a91fcb612fecf85 Mon Sep 17 00:00:00 2001 From: Storm2103 Date: Sat, 1 Jul 2023 23:55:00 -0600 Subject: [PATCH] DScale size buff based on usage against Scal, Exos need pierce resist fixed. --- CalPlayer/CalamityPlayerOnHit.cs | 2 +- Items/Accessories/DragonScales.cs | 1 + Projectiles/Magic/InfernadoFriendly.cs | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CalPlayer/CalamityPlayerOnHit.cs b/CalPlayer/CalamityPlayerOnHit.cs index 7da7f08bdf..a3c7b1bcea 100644 --- a/CalPlayer/CalamityPlayerOnHit.cs +++ b/CalPlayer/CalamityPlayerOnHit.cs @@ -781,7 +781,7 @@ namespace CalamityMod.CalPlayer //Had to use a modified version of what the CountProjectiles Util does to check for the Dragon Scales bool { - int damage = (int)Player.GetTotalDamage().ApplyTo(200); + int damage = (int)Player.GetTotalDamage().ApplyTo(DragonScales.TornadoBaseDamage); int projectileIndex = Projectile.NewProjectile(spawnSource, proj.Center.X, proj.Center.Y, 0f, 0f, ProjectileType(), damage, 15f, Main.myPlayer, 12f, 8f); //First overload seems to deal with timing, second is segment amount if (projectileIndex.WithinBounds(Main.maxProjectiles)) { diff --git a/Items/Accessories/DragonScales.cs b/Items/Accessories/DragonScales.cs index c145d1fc02..605798188b 100644 --- a/Items/Accessories/DragonScales.cs +++ b/Items/Accessories/DragonScales.cs @@ -11,6 +11,7 @@ namespace CalamityMod.Items.Accessories { public new string LocalizationCategory => "Items.Accessories"; internal static int ShitBaseDamage = 55; + internal static int TornadoBaseDamage = 200; public override void SetDefaults() { diff --git a/Projectiles/Magic/InfernadoFriendly.cs b/Projectiles/Magic/InfernadoFriendly.cs index 7cf88f9c16..90975bf9a4 100644 --- a/Projectiles/Magic/InfernadoFriendly.cs +++ b/Projectiles/Magic/InfernadoFriendly.cs @@ -39,7 +39,7 @@ namespace CalamityMod.Projectiles.Magic float scaleBase = 44f; //Check if the projectile is Wand's or Dragon Scales'to determine its size scaling - float scaleMult = Main.projectile[Projectile.whoAmI].Calamity().DragonScalesInfernado ? 1.1f : 2.5f; + float scaleMult = Main.projectile[Projectile.whoAmI].Calamity().DragonScalesInfernado ? 1.4f : 2.5f; float baseWidth = 320f; float baseHeight = 88f;