From fcc6403bec91ef9be06384fae1546071d4301610 Mon Sep 17 00:00:00 2001 From: Xyk Date: Mon, 2 Sep 2024 20:53:24 -0700 Subject: [PATCH] oh yea nightwither is luminte themed now --- Projectiles/Melee/StellarStrikerHoldout.cs | 3 +++ Projectiles/Melee/StellarStrikerMeteor.cs | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Projectiles/Melee/StellarStrikerHoldout.cs b/Projectiles/Melee/StellarStrikerHoldout.cs index bc62306af4..6476911dcf 100644 --- a/Projectiles/Melee/StellarStrikerHoldout.cs +++ b/Projectiles/Melee/StellarStrikerHoldout.cs @@ -1,4 +1,5 @@ using System; +using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Items.Weapons.Melee; using CalamityMod.Particles; using CalamityMod.Projectiles.BaseProjectiles; @@ -222,6 +223,8 @@ namespace CalamityMod.Projectiles.Melee Projectile.NewProjectileDirect(Projectile.GetSource_FromThis(), spawnSpot, Vector2.Zero, ModContent.ProjectileType(), (int)(Projectile.damage * 1.3f), Projectile.knockBack, Projectile.owner, 0, 0, 6); spawnBoom = false; } + + target.AddBuff(ModContent.BuffType(), 500); } public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers) { diff --git a/Projectiles/Melee/StellarStrikerMeteor.cs b/Projectiles/Melee/StellarStrikerMeteor.cs index 4e321aa719..00726f8e4f 100644 --- a/Projectiles/Melee/StellarStrikerMeteor.cs +++ b/Projectiles/Melee/StellarStrikerMeteor.cs @@ -1,4 +1,5 @@ using System; +using CalamityMod.Buffs.DamageOverTime; using CalamityMod.Particles; using Microsoft.Xna.Framework; using Microsoft.Xna.Framework.Graphics; @@ -119,6 +120,8 @@ namespace CalamityMod.Projectiles.Melee int hitsToMinMult = 4; float damageMult = Utils.Remap(Projectile.numHits, 0, hitsToMinMult, 1, minMult, true); modifiers.SourceDamage *= damageMult; + + target.AddBuff(ModContent.BuffType(), 120); } public override void OnKill(int timeLeft)