From f215bd1abb68ab68b6907928d87ba13ade8a5ed2 Mon Sep 17 00:00:00 2001 From: Andrew Marheine Date: Wed, 3 Feb 2021 12:55:15 -0600 Subject: [PATCH] 1 - Gamma Heart laser inflicts Irradiated instead of Electrified. 2 - Gamma Heart bullets move faster. --- Projectiles/Summon/GammaDeathray.cs | 3 ++- Projectiles/Summon/GammaHead.cs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Projectiles/Summon/GammaDeathray.cs b/Projectiles/Summon/GammaDeathray.cs index 95dae2cea3..ef056ed865 100644 --- a/Projectiles/Summon/GammaDeathray.cs +++ b/Projectiles/Summon/GammaDeathray.cs @@ -1,3 +1,4 @@ +using CalamityMod.Buffs.StatDebuffs; using CalamityMod.Dusts; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -185,7 +186,7 @@ namespace CalamityMod.Projectiles.Summon } public override void OnHitNPC(NPC target, int damage, float knockback, bool crit) { - target.AddBuff(BuffID.Electrified, 300); + target.AddBuff(ModContent.BuffType(), 300); } } } diff --git a/Projectiles/Summon/GammaHead.cs b/Projectiles/Summon/GammaHead.cs index 40dcb8d0b4..d960d1b0ee 100644 --- a/Projectiles/Summon/GammaHead.cs +++ b/Projectiles/Summon/GammaHead.cs @@ -227,7 +227,7 @@ namespace CalamityMod.Projectiles.Summon if (BulletShootCounter % 20f == 14f) { Projectile bullet = Projectile.NewProjectileDirect(projectile.Center, - projectile.DirectionTo(potentialTarget.Center) * 2.5f, + projectile.DirectionTo(potentialTarget.Center) * 5f, ModContent.ProjectileType(), projectile.damage, 2f, projectile.owner); bullet.ai[0] = potentialTarget.whoAmI; }