oh yea nightwither is luminte themed now

This commit is contained in:
Xyk committed 2024-09-02 20:53:24 -07:00
1 parent 146d624506
commit fcc6403bec
2 files changed
+6

No files matched your search

@@ -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<StellarStrikerMeteor>(), (int)(Projectile.damage * 1.3f), Projectile.knockBack, Projectile.owner, 0, 0, 6);
spawnBoom = false;
}
target.AddBuff(ModContent.BuffType<Nightwither>(), 500);
}
public override void ModifyHitNPC(NPC target, ref NPC.HitModifiers modifiers)
{
@@ -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<Nightwither>(), 120);
}
public override void OnKill(int timeLeft)