This commit is contained in:
Merkalto committed 2021-11-24 14:12:53 -06:00
commit cb7b63e193
2 files changed
+11 -8

No files matched your search

+1
View File
@@ -1993,6 +1993,7 @@ namespace CalamityMod
ItemType<KnowledgeOldDuke>(),
ItemType<VictoryShard>(),
ItemType<AeroStone>(),
ItemType<TheCommunity>(),
ItemType<DukesDecapitator>(),
ItemType<SulphurousSand>(),
ItemType<MagnumRounds>(),
+10 -8
View File
@@ -43,16 +43,18 @@ namespace CalamityMod.NPCs
bool death = CalamityWorld.death || malice;
// Adjust hostility and stats
if ((npc.justHit || npc.life <= npc.lifeMax * 0.99 || BossRushEvent.BossRushActive) && calamityGlobalNPC.newAI[0] == 0f)
if (npc.justHit || npc.life <= npc.lifeMax * 0.99 || BossRushEvent.BossRushActive)
{
// Kiss my motherfucking ass you piece of shit game
npc.timeLeft *= 20;
calamityGlobalNPC.newAI[0] = 1f;
if (calamityGlobalNPC.newAI[0] == 0f)
{
// Kiss my motherfucking ass you piece of shit game
npc.timeLeft *= 20;
calamityGlobalNPC.newAI[0] = 1f;
npc.boss = head;
npc.chaseable = true;
npc.netUpdate = true;
}
npc.damage = npc.defDamage;
npc.boss = head;
npc.chaseable = true;
npc.netUpdate = true;
}
else
npc.damage = 0;