1 - Old Duke Tooth Ball stingers are more visible.
2 - Changed the visibility colors of Vile Spit and Stingers.
This commit is contained in:
1 parent
83d4629021
commit
f183c5ee43
3 files changed
+22
-5
No files matched your search
@@ -5152,8 +5152,10 @@ namespace CalamityMod.NPCs
|
||||
if (npc.Calamity().kamiFlu > 0 && !CalamityLists.kamiDebuffColorImmuneList.Contains(npc.type))
|
||||
return new Color(51, 197, 108, npc.alpha);
|
||||
|
||||
if (npc.type == NPCID.AncientDoom || npc.type == NPCID.VileSpit || npc.type == NPCID.VileSpitEaterOfWorlds ||
|
||||
npc.type == NPCID.QueenSlimeMinionBlue || npc.type == NPCID.QueenSlimeMinionPink || npc.type == NPCID.QueenSlimeMinionPurple)
|
||||
if (npc.type == NPCID.VileSpit || npc.type == NPCID.VileSpitEaterOfWorlds)
|
||||
return new Color(150, 200, 0, npc.alpha);
|
||||
|
||||
if (npc.type == NPCID.AncientDoom || npc.type == NPCID.QueenSlimeMinionBlue || npc.type == NPCID.QueenSlimeMinionPink || npc.type == NPCID.QueenSlimeMinionPurple)
|
||||
return new Color(255, 255, 255, npc.alpha);
|
||||
|
||||
return null;
|
||||
|
||||
@@ -2455,9 +2455,13 @@ namespace CalamityMod.Projectiles
|
||||
}
|
||||
}
|
||||
|
||||
if (projectile.type == ProjectileID.QueenBeeStinger || projectile.type == ProjectileID.QueenSlimeGelAttack ||
|
||||
projectile.type == ProjectileID.QueenSlimeMinionBlueSpike || projectile.type == ProjectileID.QueenSlimeMinionPinkBall ||
|
||||
projectile.type == ProjectileID.Stinger)
|
||||
if (projectile.type == ProjectileID.Stinger)
|
||||
return new Color(200, 200, 0, projectile.alpha);
|
||||
|
||||
if (projectile.type == ProjectileID.QueenBeeStinger)
|
||||
return new Color(250, 250, 0, projectile.alpha);
|
||||
|
||||
if (projectile.type == ProjectileID.QueenSlimeGelAttack || projectile.type == ProjectileID.QueenSlimeMinionBlueSpike || projectile.type == ProjectileID.QueenSlimeMinionPinkBall)
|
||||
return new Color(255, 255, 255, projectile.alpha);
|
||||
|
||||
if (projectile.type == ProjectileID.PinkLaser)
|
||||
|
||||
@@ -2,7 +2,9 @@
|
||||
using CalamityMod.Dusts;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Terraria;
|
||||
using Terraria.ID;
|
||||
using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod.Projectiles.Enemy
|
||||
{
|
||||
public class TrilobiteSpike : ModProjectile
|
||||
@@ -34,6 +36,15 @@ namespace CalamityMod.Projectiles.Enemy
|
||||
target.AddBuff(ModContent.BuffType<Irradiated>(), 120);
|
||||
}
|
||||
|
||||
public override bool PreDraw(ref Color lightColor)
|
||||
{
|
||||
lightColor.R = (byte)(200 * Projectile.Opacity);
|
||||
lightColor.G = (byte)(150 * Projectile.Opacity);
|
||||
lightColor.B = (byte)(100 * Projectile.Opacity);
|
||||
CalamityUtils.DrawAfterimagesCentered(Projectile, ProjectileID.Sets.TrailingMode[Projectile.type], lightColor, 1);
|
||||
return false;
|
||||
}
|
||||
|
||||
public override void Kill(int timeLeft)
|
||||
{
|
||||
for (int i = 0; i <= 2; i++)
|
||||
|
||||
Reference in new issue
Block a user