From e829bacf3fc0228bd195ee8352d32cd2bd2c08bd Mon Sep 17 00:00:00 2001 From: Amber Sienna Date: Sun, 29 Mar 2020 14:09:33 +0100 Subject: [PATCH] epicly nerfed cold divinity right click bc i forgot --- Projectiles/Summon/ColdDivinityPointyThing.cs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Projectiles/Summon/ColdDivinityPointyThing.cs b/Projectiles/Summon/ColdDivinityPointyThing.cs index 2bd54da374..dae63bd669 100644 --- a/Projectiles/Summon/ColdDivinityPointyThing.cs +++ b/Projectiles/Summon/ColdDivinityPointyThing.cs @@ -183,6 +183,7 @@ namespace CalamityMod.Projectiles.Summon { if (circling && !circlingPlayer && projectile.timeLeft < 120) { + projectile.hide = false; projectile.usesIDStaticNPCImmunity = false; projectile.penetrate = 1; if (projectile.timeLeft > 60) @@ -224,7 +225,7 @@ namespace CalamityMod.Projectiles.Summon public override bool CanDamage() { - return recharging <= 0 && (circlingPlayer || (circling && (projectile.timeLeft >= 120 || projectile.timeLeft <= 45)) || !circling); + return recharging <= 0 && (circlingPlayer || (circling && (projectile.timeLeft >= 120 || projectile.timeLeft <= 45)) || !circling) && !projectile.hide; } public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) @@ -234,7 +235,7 @@ namespace CalamityMod.Projectiles.Summon if (projectile.ai[1] > 2f) projectile.ai[1]++; if (projectile.ai[1] >= 15f && projectile.timeLeft >= 120) - projectile.timeLeft = 120; + projectile.hide = true; if (circling && target == this.target && projectile.timeLeft < 60) {