Added Slab Crab Banner

This commit is contained in:
GinYuH committed 2024-01-15 21:14:16 -08:00
1 parent 73a58d1e99
commit 25ecc02ad6
5 files changed
+13 -2

No files matched your search

@@ -0,0 +1,7 @@
namespace CalamityMod.Items.Placeables.Banners
{
public class SlabCrabBanner : BaseBanner
{
public override int BannerTileStyle => 5;
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 391 B

+3 -2
View File
@@ -1,6 +1,7 @@
using CalamityMod.BiomeManagers;
using CalamityMod.Buffs.DamageOverTime;
using CalamityMod.Items.Placeables;
using CalamityMod.Items.Placeables.Banners;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using System;
@@ -60,8 +61,8 @@ namespace CalamityMod.NPCs.Abyss
NPC.defense = 999998;
NPC.HitSound = SoundID.NPCHit33;
NPC.DeathSound = SoundID.NPCDeath36;
//Banner = NPC.type;
//BannerItem = ModContent.ItemType<SlabCrabBanner>();
Banner = NPC.type;
BannerItem = ModContent.ItemType<SlabCrabBanner>();
NPC.Calamity().VulnerableToHeat = false;
NPC.Calamity().VulnerableToSickness = false;
NPC.Calamity().VulnerableToElectricity = true;
+3
View File
@@ -84,6 +84,9 @@ namespace CalamityMod.Tiles
case 4:
npc = NPCType<Toxicatfish>();
break;
case 5:
npc = NPCType<SlabCrab>();
break;
case 6:
npc = NPCType<Androomba>();
break;
Binary file not shown.

Before

Width:  |  Height:  |  Size: 56 KiB

After

Width:  |  Height:  |  Size: 56 KiB