fixed deus having no death dust

This commit is contained in:
GinYuH committed 2023-08-04 02:15:22 -07:00
1 parent 1809c65d3a
commit 44b0cd2578
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -183,7 +183,7 @@ namespace CalamityMod.NPCs.AstrumDeus
public override void HitEffect(NPC.HitInfo hit)
{
if (NPC.life <= 0 && Main.zenithWorld) // I value people's computers
if (NPC.life <= 0 && !Main.zenithWorld) // I value people's computers
{
NPC.position.X = NPC.position.X + (NPC.width / 2);
NPC.position.Y = NPC.position.Y + (NPC.height / 2);
+1 -1
View File
@@ -219,7 +219,7 @@ namespace CalamityMod.NPCs.AstrumDeus
{
if (NPC.life <= 0)
{
if (Main.zenithWorld && Main.rand.NextBool(5)) // I value people's computers
if (!Main.zenithWorld && Main.rand.NextBool(5)) // I value people's computers
{
NPC.position.X = NPC.position.X + (NPC.width / 2);
NPC.position.Y = NPC.position.Y + (NPC.height / 2);
+1 -1
View File
@@ -159,7 +159,7 @@ namespace CalamityMod.NPCs.AstrumDeus
public override void HitEffect(NPC.HitInfo hit)
{
if (NPC.life <= 0 && Main.zenithWorld) // I value people's computers
if (NPC.life <= 0 && !Main.zenithWorld) // I value people's computers
{
NPC.position.X = NPC.position.X + (NPC.width / 2);
NPC.position.Y = NPC.position.Y + (NPC.height / 2);