Thanatos has DR during vent + warhorn & laserfish
This commit is contained in:
1 parent
5293d0b56c
commit
87c604c30d
6 files changed
+10
-7
No files matched your search
@@ -1,10 +1,12 @@
|
||||
using CalamityMod.Events;
|
||||
using CalamityMod.Items.Materials;
|
||||
using CalamityMod.Items.Placeables.Abyss;
|
||||
using CalamityMod.Items.Placeables.SunkenSea;
|
||||
using CalamityMod.NPCs.Leviathan;
|
||||
using CalamityMod.Projectiles.Typeless;
|
||||
using Microsoft.Xna.Framework;
|
||||
using Microsoft.Xna.Framework.Graphics;
|
||||
using Steamworks;
|
||||
using Terraria;
|
||||
using Terraria.Audio;
|
||||
using Terraria.ID;
|
||||
@@ -15,7 +17,7 @@ namespace CalamityMod.Items.SummonItems
|
||||
public class NaiadsWarhorn : ModItem, ILocalizedModType
|
||||
{
|
||||
public new string LocalizationCategory => "Items.SummonItems";
|
||||
public static readonly SoundStyle HornSound = new("CalamityMod/Sounds/Item/LeviathanHornSound");
|
||||
public static readonly SoundStyle HornSound = new("CalamityMod/Sounds/Item/LeviathanHornSound") { Volume = 0.7f };
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
ItemID.Sets.SortingPriorityBossSpawns[Type] = 12; // Truffle Worm
|
||||
@@ -64,8 +66,8 @@ namespace CalamityMod.Items.SummonItems
|
||||
public override void AddRecipes()
|
||||
{
|
||||
CreateRecipe().
|
||||
AddIngredient<AbyssGravel>(30).
|
||||
AddIngredient<PlantyMush>(15).
|
||||
AddIngredient<Driftwood>(10).
|
||||
AddIngredient<AbyssGravel>(15).
|
||||
AddIngredient<Lumenyl>(10).
|
||||
AddTile(TileID.MythrilAnvil).
|
||||
Register();
|
||||
|
||||
@@ -127,6 +127,7 @@ namespace CalamityMod.NPCs.Abyss
|
||||
|
||||
public override void ModifyNPCLoot(NPCLoot npcLoot)
|
||||
{
|
||||
DropHelper.NormalVsExpertQuantity(ModContent.ItemType<MysteriousCircuitry>(), 2, 1, 2, 2, 3);
|
||||
var postLevi = npcLoot.DefineConditionalDropSet(DropHelper.PostLevi());
|
||||
postLevi.Add(DropHelper.NormalVsExpertQuantity(ModContent.ItemType<DepthCells>(), 2, 1, 2, 2, 3));
|
||||
}
|
||||
|
||||
@@ -442,7 +442,7 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos
|
||||
NPC.chaseable = vulnerable;
|
||||
|
||||
// Adjust DR based on vulnerable
|
||||
NPC.Calamity().DR = vulnerable ? 0f : 0.9999f;
|
||||
NPC.Calamity().DR = vulnerable ? 0.15f : 0.9999f;
|
||||
NPC.Calamity().unbreakableDR = !vulnerable;
|
||||
|
||||
// Vent noise and steam
|
||||
|
||||
@@ -441,7 +441,7 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos
|
||||
NPC.chaseable = vulnerable;
|
||||
|
||||
// Adjust DR based on vulnerable
|
||||
NPC.Calamity().DR = vulnerable ? 0f : 0.9999f;
|
||||
NPC.Calamity().DR = vulnerable ? 0.15f : 0.9999f;
|
||||
NPC.Calamity().unbreakableDR = !vulnerable;
|
||||
|
||||
// Vent noise and steam
|
||||
|
||||
@@ -963,7 +963,7 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos
|
||||
NPC.chaseable = vulnerable;
|
||||
|
||||
// Adjust DR based on vulnerable
|
||||
NPC.Calamity().DR = vulnerable ? 0f : 0.9999f;
|
||||
NPC.Calamity().DR = vulnerable ? 0.15f : 0.9999f;
|
||||
NPC.Calamity().unbreakableDR = !vulnerable;
|
||||
|
||||
// Vent noise and steam
|
||||
|
||||
@@ -441,7 +441,7 @@ namespace CalamityMod.NPCs.ExoMechs.Thanatos
|
||||
NPC.chaseable = vulnerable;
|
||||
|
||||
// Adjust DR based on vulnerable
|
||||
NPC.Calamity().DR = vulnerable ? 0f : 0.9999f;
|
||||
NPC.Calamity().DR = vulnerable ? 0.15f : 0.9999f;
|
||||
NPC.Calamity().unbreakableDR = !vulnerable;
|
||||
|
||||
// Vent noise and steam
|
||||
|
||||
Reference in new issue
Block a user