From 7814320207c5da2a85f9223d650e7542650d5b0f Mon Sep 17 00:00:00 2001 From: GinYuH <72181395+GinYuH@users.noreply.github.com> Date: Tue, 2 Apr 2024 13:57:12 -0700 Subject: [PATCH] slab crab GORE --- Gores/SlabCrab/SlabCrab1.png | Bin 0 -> 374 bytes Gores/SlabCrab/SlabCrab2.png | Bin 0 -> 306 bytes Gores/SlabCrab/SlabCrab3.png | Bin 0 -> 268 bytes Gores/SlabCrab/SlabCrab4.png | Bin 0 -> 170 bytes NPCs/Abyss/SlabCrab.cs | 7 +++++++ 5 files changed, 7 insertions(+) create mode 100644 Gores/SlabCrab/SlabCrab1.png create mode 100644 Gores/SlabCrab/SlabCrab2.png create mode 100644 Gores/SlabCrab/SlabCrab3.png create mode 100644 Gores/SlabCrab/SlabCrab4.png diff --git a/Gores/SlabCrab/SlabCrab1.png b/Gores/SlabCrab/SlabCrab1.png new file mode 100644 index 0000000000000000000000000000000000000000..627ee10eb0059e405e5a6a0629815f741b6a0c82 GIT binary patch literal 374 zcmV-+0g3*JP);00001b5ch_0Itp) z=>Px$FiAu~R5*>rlrd|di2wh4k{sRA6x3)uPyL52v zP-#KTV3%96WKhswU1E zSKADJzJPr*=dv4l@cHdAa^36PM(P1=rl}i-JIQqhGTi7(x5#<*)Et1}{Sbh={sREj zivj>IPp<&He~y6+4Z~eJnT-Hw)?IC3wNeBA%!KJKbKmy>C{-H9hS_B(H0!Q0LqUw= z#Q#WgzU928Zm4T$p)rrMSOzSX!QOr4tI!IdZ09N4d1J$WCDG*2EQO>@ literal 0 HcmV?d00001 diff --git a/Gores/SlabCrab/SlabCrab2.png b/Gores/SlabCrab/SlabCrab2.png new file mode 100644 index 0000000000000000000000000000000000000000..0dac1306b76fd045a559ab80a3522077ba3fd05a GIT binary patch literal 306 zcmV-20nPr2P)Px#>`6pHR5*>jlD|sBKp4P(k&Z%z7EP`obS)Hwl1Fgp;N~LfQ-r=nU&GPO!8dRT zEkZNcr2(NPNG%E?IN2c_>3y73!OL&D@6R1SzWY1`VgKTLH};!HvIT(R{SAO*e(Txl z2i9BvfF}(#<7f;({;~of%NGD#4o61c^dT|o_vs99Y1~zzVcc%{*2d`k%9r-xve9yKCc}`erPV=JF4E!3hAH&o7|bZ+FJ} z@LO|@G)~6}2ojdQZ&~!<#?jgc(@FV{ zXK&ZvaO=avx4~>c(B>Sj7j)AN$O7TEG8gHKf8)nU$ zI&0FBi8;~_-?cq;{!(-N3`bz`qf2S8Zg4Q%;?w5%`8Xp1=pzPCS3j3^P6v literal 0 HcmV?d00001 diff --git a/Gores/SlabCrab/SlabCrab4.png b/Gores/SlabCrab/SlabCrab4.png new file mode 100644 index 0000000000000000000000000000000000000000..a3c328cbb31250a077374694553160cb40901600 GIT binary patch literal 170 zcmeAS@N?(olHy`uVBq!ia0vp^96-#+!3HFS!eXZZDaPU;cPEB*=VV?2IVqkljv*3L zlT#X)Ts1HM=kaLh?QNde2n3yt3<-|n8!lf=PXGdolBbXAANe%g)K$`H3}t+ox8vI% z)lM~!RR)Ge1_lN;`#&?Sj^>zkV1-61SMvYk%NjOt8n9Kx9C*Spi-95FoFJnY)BC+Z P`xrc3{an^LB{Ts5+q^lf literal 0 HcmV?d00001 diff --git a/NPCs/Abyss/SlabCrab.cs b/NPCs/Abyss/SlabCrab.cs index f1be88ae90..0eca2a663d 100644 --- a/NPCs/Abyss/SlabCrab.cs +++ b/NPCs/Abyss/SlabCrab.cs @@ -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("SlabCrab" + i).Type, 1f); + } + } } } public override void OnHitPlayer(Player target, Player.HurtInfo hurtInfo)