Several debuff changes
This commit is contained in:
1 parent
cef269a754
commit
dc302f59e8
6 files changed
+9
-9
No files matched your search
@@ -71,6 +71,6 @@ namespace CalamityMod.Projectiles.Melee.Spears
|
||||
Main.dust[idx].velocity = Vector2.Zero;
|
||||
}
|
||||
}
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<Nightwither>(), 180);
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<Voidfrost>(), 180);
|
||||
}
|
||||
}
|
||||
@@ -154,7 +154,7 @@ namespace CalamityMod.Projectiles.Melee
|
||||
Main.dust[idx].scale = scale;
|
||||
}
|
||||
|
||||
target.AddBuff(ModContent.BuffType<Nightwither>(), 30);
|
||||
target.AddBuff(ModContent.BuffType<Voidfrost>(), 30);
|
||||
}
|
||||
|
||||
public override void OnKill(int timeLeft)
|
||||
|
||||
@@ -1,4 +1,6 @@
|
||||
using Microsoft.Xna.Framework;
|
||||
using CalamityMod.Buffs.DamageOverTime;
|
||||
using CalamityMod.Buffs.StatDebuffs;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ModLoader;
|
||||
namespace CalamityMod.Projectiles.Rogue
|
||||
@@ -32,5 +34,7 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
Lighting.AddLight(Projectile.Center, (255 - Projectile.alpha) * 0.5f / 255f, (255 - Projectile.alpha) * 0f / 255f, (255 - Projectile.alpha) * 0.5f / 255f);
|
||||
CalamityUtils.HomeInOnNPC(Projectile, true, 300f, 12f, 20f);
|
||||
}
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<WhisperingDeath>(), 60);
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(ModContent.BuffType<WhisperingDeath>(), 60);
|
||||
}
|
||||
}
|
||||
@@ -73,13 +73,13 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Nightwither>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Voidfrost>(), 300);
|
||||
target.AddBuff(BuffID.Frozen, 150);
|
||||
}
|
||||
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info)
|
||||
{
|
||||
target.AddBuff(ModContent.BuffType<Nightwither>(), 300);
|
||||
target.AddBuff(ModContent.BuffType<Voidfrost>(), 300);
|
||||
}
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
|
||||
@@ -59,8 +59,6 @@ namespace CalamityMod.Projectiles.Rogue
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<Nightwither>(), 120);
|
||||
public override void OnHitPlayer(Player target, Player.HurtInfo info) => target.AddBuff(ModContent.BuffType<Nightwither>(), 120);
|
||||
public override void OnKill(int timeLeft)
|
||||
{
|
||||
for (int k = 0; k < 3; k++)
|
||||
|
||||
@@ -105,8 +105,6 @@ namespace CalamityMod.Projectiles.Summon
|
||||
return MathHelper.Lerp(0f, maxWidth, expansionCompletion);
|
||||
}
|
||||
|
||||
public override void OnHitNPC(NPC target, NPC.HitInfo hit, int damageDone) => target.AddBuff(ModContent.BuffType<Nightwither>(), 240);
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
{
|
||||
Projectile.localAI[0] = 0f;
|
||||
|
||||
Reference in new issue
Block a user