DScale size buff based on usage against Scal, Exos need pierce resist fixed.

This commit is contained in:
Storm2103 committed 2023-07-10 11:13:54 -06:00
1 parent 453c7323f7
commit dc493566de
3 files changed
+3 -2

No files matched your search

+1 -1
View File
@@ -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<RogueDamageClass>().ApplyTo(200);
int damage = (int)Player.GetTotalDamage<RogueDamageClass>().ApplyTo(DragonScales.TornadoBaseDamage);
int projectileIndex = Projectile.NewProjectile(spawnSource, proj.Center.X, proj.Center.Y, 0f, 0f, ProjectileType<InfernadoFriendly>(), damage, 15f, Main.myPlayer, 12f, 8f); //First overload seems to deal with timing, second is segment amount
if (projectileIndex.WithinBounds(Main.maxProjectiles))
{
+1
View File
@@ -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()
{
+1 -1
View File
@@ -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;