Merge branch 'master' of https://github.com/CalamityTeam/CalamityMod
This commit is contained in:
commit
aaa7d6fbc8
1 file changed
+13
@@ -776,6 +776,19 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
}
|
||||
}
|
||||
|
||||
// Set flight time to max during laser walls
|
||||
if (!phase6 && laserWallPhase == (int)LaserWallPhase.FireLaserWalls)
|
||||
{
|
||||
if (Main.netMode != NetmodeID.Server)
|
||||
{
|
||||
if (!Main.player[Main.myPlayer].dead && Main.player[Main.myPlayer].active && Vector2.Distance(Main.player[Main.myPlayer].Center, vector) < CalamityGlobalNPC.CatchUpDistance350Tiles)
|
||||
{
|
||||
if (Main.player[Main.myPlayer].wingTime < Main.player[Main.myPlayer].wingTimeMax)
|
||||
Main.player[Main.myPlayer].wingTime = Main.player[Main.myPlayer].wingTimeMax;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
float fallSpeed = malice ? 19.5f : death ? 17.75f : 16f;
|
||||
|
||||
if (expertMode)
|
||||
|
||||
Reference in new issue
Block a user