added alternative method of getting rusted jingle bell

This commit is contained in:
termigator1359 committed 2019-11-13 18:01:13 -05:00
1 parent f1ef01404c
commit f71b40b91b
2 files changed
+13

No files matched your search

+1
View File
@@ -7345,6 +7345,7 @@ namespace CalamityMod.CalPlayer
{
fishList.Add(ModContent.ItemType<CoralskinFoolfish>());
fishList.Add(ModContent.ItemType<SunkenSailfish>());
fishList.Add(ModContent.ItemType<ScarredAngelfish>());
}
}
+12
View File
@@ -5,6 +5,7 @@ using System.IO;
using Terraria;
using Terraria.ID;
using Terraria.ModLoader;
using CalamityMod.Items.Fishing.SunkenSeaCatches;
namespace CalamityMod.NPCs.SunkenSea
{
public class GhostBellSmall : ModNPC
@@ -33,6 +34,7 @@ namespace CalamityMod.NPCs.SunkenSea
npc.alpha = 100;
npc.HitSound = SoundID.NPCHit25;
npc.DeathSound = SoundID.NPCDeath28;
npc.catchItem = (Main.rand.NextBool(20)) ? (short)ModContent.ItemType<RustedJingleBell>() : ItemID.None;
banner = npc.type;
bannerItem = ModContent.ItemType<GhostBellSmallBanner>();
}
@@ -133,5 +135,15 @@ namespace CalamityMod.NPCs.SunkenSea
}
}
}
public override void OnCatchNPC(Player player, Item item)
{
try
{
} catch
{
return;
}
}
}
}