This commit is contained in:
doze-zoze committed 2026-02-08 19:33:49 -06:00
commit b6689769d6
5 files changed
+21 -5

No files matched your search

@@ -254,7 +254,7 @@ ThanatosMask: {
}
TheCommandersCap: {
DisplayName: The Commanders Cap
DisplayName: The Commander's Cap
Tooltip: Part of The High-Flying Finery
}
@@ -17,6 +17,9 @@ BloodBoiler1: "{0} collapsed from severe anemia."
BloodBoiler2: "{0} was unable to obtain a blood transfusion."
BloodFireArrow1: "{0} fired one too many careless shots."
BloodFireArrow2: "{0} had no blood left to give."
BrainIllusion1: "{0} couldn't see past the illusion."
BrainIllusion2: "{0} fell for the trick."
BrainIllusion3: "{0} needed to pay more attention."
BrainRot1: "{0} ceased functioning."
BrainRot2: "{0} lost the last of their neurons."
BrainRot3: "{0} was everywhere at the end of time."
@@ -37,7 +37,7 @@ public class BrainOfCthulhuAI : VanillaAIOverride
private static SoundStyle ShieldUp = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_Shield_Up") with { PauseBehavior = PauseBehavior.PauseWithGame };
private static SoundStyle IntroRoar = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_Roar") with { PauseBehavior = PauseBehavior.PauseWithGame };
private static SoundStyle Roar = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_Short_Roar") with { PauseBehavior = PauseBehavior.PauseWithGame};
public static SoundStyle Laugh = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_Laugh") with { PauseBehavior = PauseBehavior.PauseWithGame };
public static SoundStyle Laugh = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_Laugh") with { PauseBehavior = PauseBehavior.PauseWithGame, MaxInstances = 5 };
private static SoundStyle Growl = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_Growl", 2) with { PauseBehavior = PauseBehavior.PauseWithGame };
private static SoundStyle Death = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_Death_Roar") with { PauseBehavior = PauseBehavior.PauseWithGame };
private static SoundStyle BloodShot = new SoundStyle("CalamityMod/Sounds/Custom/BrainOfCthulhu/BoC_Rev_BloodShot");
@@ -1080,7 +1080,10 @@ public class BrainOfCthulhuAI : VanillaAIOverride
int spawnTime = GetBrainOfCthuluCreepersCountRevDeath() / 2 * creeperRate;
if (Time == StunDuration)
{
AttackCounter = GetBrainOfCthuluCreepersCountRevDeath() - 1;
SoundEngine.PlaySound(Roar, NPC.Center);
}
NPC.knockBackResist = 0f;
NPC.dontTakeDamage = true;
@@ -9,6 +9,7 @@ using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Terraria;
using Terraria.Audio;
using Terraria.DataStructures;
using Terraria.GameContent;
using Terraria.ID;
using Terraria.ModLoader;
@@ -139,16 +140,20 @@ public class FalseBrain : ModNPC, ILocalizedModType
fool.AddBuff(BuffID.Darkness, 900);
fool.AddBuff(BuffID.Bleeding, 900);
fool.AddBuff(BuffID.Confused, 60);
int timeToAdd = 600;
int timeToAdd = 300;
int bbIndex = fool.buffType.ToList().IndexOf(ModContent.BuffType<BurningBlood>());
if (bbIndex != -1)
{
timeToAdd /= 2;
timeToAdd += fool.buffTime[bbIndex];
}
if (timeToAdd > 3600)
timeToAdd = 3600;
fool.AddBuff(ModContent.BuffType<BurningBlood>(), timeToAdd);
fool.Calamity().adrenaline = 0;
fool.Hurt(PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.BrainIllusion" + Main.rand.Next(1, 3 + 1)).ToNetworkText(fool.name)), 50, NPC.Center.X > fool.Center.X ? -1 : 1, cooldownCounter: 0, dodgeable: false, scalingArmorPenetration: 1f);
NPC.dontTakeDamage = true;
}
@@ -52,12 +52,17 @@ public class TelekineticBlast : ModProjectile, ILocalizedModType
target.AddBuff(BuffID.Darkness, (int)Math.Round(900 * debuffMultiplier));
target.AddBuff(BuffID.Bleeding, (int)Math.Round(900 * debuffMultiplier));
target.AddBuff(BuffID.Confused, (int)Math.Round(60 * debuffMultiplier));
int timeToAdd = (int)Math.Round(600 * debuffMultiplier);
int timeToAdd = (int)Math.Round(300 * debuffMultiplier);
int bbIndex = target.buffType.ToList().IndexOf(ModContent.BuffType<BurningBlood>());
if (bbIndex != -1)
timeToAdd += target.buffTime[bbIndex];
if (timeToAdd > 3600)
timeToAdd = 3600;
target.AddBuff(ModContent.BuffType<BurningBlood>(), timeToAdd);
target.Hurt(PlayerDeathReason.ByCustomReason(CalamityUtils.GetText("Status.Death.BrainIllusion" + Main.rand.Next(1, 3 + 1)).ToNetworkText(target.name)), 100, Main.npc[NPC.crimsonBoss].Center.X > target.Center.X ? -1 : 1, cooldownCounter: 0, dodgeable: false, scalingArmorPenetration: 1f);
target.Calamity().adrenaline = 0;
Projectile.active = false;
}