slab crab GORE

This commit is contained in:
GinYuH committed 2024-04-02 13:57:12 -07:00
1 parent b4fdb7270d
commit 7814320207
5 files changed
+7

No files matched your search

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 306 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 268 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 170 B

+7
View File
@@ -452,6 +452,13 @@ namespace CalamityMod.NPCs.Abyss
{
Dust.NewDust(NPC.position, NPC.width, NPC.height, DustID.Water, hit.HitDirection, -1f, 0, default, 1f);
}
if (Main.netMode != NetmodeID.Server)
{
for (int i = 1; i < 5; i++)
{
Gore.NewGore(NPC.GetSource_Death(), NPC.position, NPC.velocity, Mod.Find<ModGore>("SlabCrab" + i).Type, 1f);
}
}
}
}
public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)