1 - Ravager doesn't stomp in phase 2 as quickly as its HP lowers.
2 - Tried to fix Abyss generation issues with small worlds.
This commit is contained in:
1 parent
35ee4516bb
commit
884941b60c
3 files changed
+7
-3
No files matched your search
@@ -596,7 +596,7 @@ namespace CalamityMod.NPCs.Ravager
|
||||
{
|
||||
float stopBeforeFallTime = npc.Calamity().newAI[2] == 0f ? 15f : 20f;
|
||||
if (expertMode)
|
||||
stopBeforeFallTime -= death ? 10f : 10f * (1f - lifeRatio);
|
||||
stopBeforeFallTime -= death ? 5f : 5f * (1f - lifeRatio);
|
||||
|
||||
if (npc.ai[1] < stopBeforeFallTime)
|
||||
{
|
||||
|
||||
@@ -1099,9 +1099,13 @@ namespace CalamityMod.World
|
||||
islandLocationX -= 25;
|
||||
break;
|
||||
}
|
||||
|
||||
CalamityWorld.AbyssIslandX[CalamityWorld.numAbyssIslands] = islandLocationX;
|
||||
CalamityWorld.numAbyssIslands++;
|
||||
|
||||
islandLocationY += islandLocationOffset;
|
||||
if (islandLocationY >= CalamityWorld.abyssChasmBottom - 50)
|
||||
break;
|
||||
}
|
||||
|
||||
CalamityWorld.AbyssItemArray = CalamityUtils.ShuffleArray(CalamityWorld.AbyssItemArray);
|
||||
|
||||
@@ -4214,10 +4214,10 @@ namespace CalamityMod.World
|
||||
}
|
||||
}
|
||||
}
|
||||
if (num <= 2f && vector.Y < (Main.rockLayer + Main.maxTilesY * 0.3))
|
||||
/*if (num <= 2f && vector.Y < (Main.rockLayer + Main.maxTilesY * 0.3))
|
||||
{
|
||||
num = 2f;
|
||||
}
|
||||
}*/
|
||||
vector += vector2;
|
||||
vector2.X += WorldGen.genRand.Next(-1, 2) * 0.01f;
|
||||
if (vector2.X > 0.02)
|
||||
|
||||
Reference in new issue
Block a user