Dark Hearts emit rain when higher up.
This commit is contained in:
1 parent
081919eeae
commit
44a7b65518
1 file changed
+1
-1
@@ -107,7 +107,7 @@ namespace CalamityMod.NPCs.HiveMind
|
||||
NPC.velocity.Y = -velocity;
|
||||
}
|
||||
|
||||
bool dropRain = NPC.Bottom.Y < Main.player[NPC.target].position.Y - 200f && Collision.CanHit(NPC.position, NPC.width, NPC.height, Main.player[NPC.target].position, Main.player[NPC.target].width, Main.player[NPC.target].height);
|
||||
bool dropRain = NPC.Bottom.Y < Main.player[NPC.target].position.Y - 300f && Collision.CanHit(NPC.position, NPC.width, NPC.height, Main.player[NPC.target].position, Main.player[NPC.target].width, Main.player[NPC.target].height);
|
||||
float distanceX = masterMode ? 200f : 400f;
|
||||
float velocityX = velocity * 1.5f;
|
||||
if (NPC.Center.X > Main.player[NPC.target].Center.X + distanceX)
|
||||
|
||||
Reference in new issue
Block a user