From 2fb50e03e14eabbfc4c9e4c609db6f46ee47e10b Mon Sep 17 00:00:00 2001 From: termigator1359 <45545085+termigator1359@users.noreply.github.com> Date: Mon, 23 Mar 2020 12:29:17 -0400 Subject: [PATCH] starbustercore dmg cap --- CalPlayer/CalamityPlayer.cs | 2 ++ Items/Accessories/NuclearRod.png | Bin 0 -> 580 bytes Projectiles/CalamityGlobalProjectile.cs | 7 ++++++- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 Items/Accessories/NuclearRod.png diff --git a/CalPlayer/CalamityPlayer.cs b/CalPlayer/CalamityPlayer.cs index 1383632ddf..808c6d661b 100644 --- a/CalPlayer/CalamityPlayer.cs +++ b/CalPlayer/CalamityPlayer.cs @@ -321,6 +321,7 @@ namespace CalamityMod.CalPlayer public bool statisBeltOfCurses = false; public int statisTimer = 0; public bool creationApparatus = false; + public bool nuclearRod = false; public bool elysianAegis = false; public bool elysianGuard = false; public bool nCore = false; @@ -1240,6 +1241,7 @@ namespace CalamityMod.CalPlayer eTalisman = false; statisBeltOfCurses = false; creationApparatus = false; + nuclearRod = false; heartOfDarkness = false; shadowMinions = false; tearMinions = false; diff --git a/Items/Accessories/NuclearRod.png b/Items/Accessories/NuclearRod.png new file mode 100644 index 0000000000000000000000000000000000000000..8de9ac29287a251d8178f1938d830da6dc5b3830 GIT binary patch literal 580 zcmV-K0=xZ*P)Px#AY({UO#lFTCIA3{ga82g0001h=l}q9FaQARU;qF* zm;eA5aGbhPJOBUy24YJ`L;(K){{a7>y{D4^00ELoL_t(Y$L*HCO9EjS$3Iv89ONLU zloOM{Y6yqckb>rdh#Fdg{(_*z&BY~X>mP`gh6d+`2tk5ssmTnLLLneC;Tozg4~_mdJcDcl*BaZB}?Er8cL4KAhQ~>S+1&0)XA8fGyefV9_?v|1I*a zKX{8sX2)i#Tjyr&)Pxhg0{n7@oHA6-)&Kwi5_CmabVXQ6MmkS&X=QG7VRUJ4ZU8Za SSnTfr0000 75) + { + newDamage = 75; + } int boom = Projectile.NewProjectile(projectile.Center, Vector2.Zero, ModContent.ProjectileType(), - (int)(projectile.damage * 0.5f), 3f, projectile.owner); + newDamage, 3f, projectile.owner); } } else if (modPlayer.jellyChargedBattery)