fixed deus having no death dust
This commit is contained in:
1 parent
1809c65d3a
commit
44b0cd2578
3 files changed
+3
-3
No files matched your search
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user