More Rotten Brain changes

This commit is contained in:
CongratsIsTrash committed 2025-03-06 18:20:25 -05:00
1 parent 96b2ae1cde
commit 6959ad9a4f
2 files changed
+6 -1

No files matched your search

+6 -1
View File
@@ -9,7 +9,6 @@ namespace CalamityMod.Projectiles.Typeless
public class ShadeNimbusRain : ModProjectile, ILocalizedModType
{
public new string LocalizationCategory => "Projectiles.Typeless";
public override string Texture => "CalamityMod/Projectiles/Boss/ShaderainHostile";
public override void SetDefaults()
{
@@ -25,6 +24,12 @@ namespace CalamityMod.Projectiles.Typeless
Projectile.idStaticNPCHitCooldown = 6;
}
public override void AI()
{
if (Projectile.Center.Y > Main.player[Projectile.owner].Center.Y)
Projectile.tileCollide = true;
}
public override void OnKill(int timeLeft)
{
int shadeDust = Dust.NewDust(new Vector2(Projectile.position.X, Projectile.position.Y + (float)Projectile.height - 2f), 2, 2, DustID.Demonite, 0f, 0f, 0, default, 1f);
Binary file not shown.

After

Width:  |  Height:  |  Size: 201 B