DS and DN slowing.
This commit is contained in:
1 parent
ff18113ed1
commit
f91c7367fb
3 files changed
+17
-17
No files matched your search
@@ -20,10 +20,10 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
public bool flies = false;
|
||||
private bool tailSpawned = false;
|
||||
|
||||
public const float SegmentVelocity_Expert = 12f;
|
||||
public const float SegmentVelocity_Master = 14.5f;
|
||||
public const float SegmentVelocity_Expert = 11f;
|
||||
public const float SegmentVelocity_Master = 13.5f;
|
||||
public const float SegmentVelocity_GoodWorld = 19f;
|
||||
public const float SegmentVelocity_ZenithSeed = 21.5f;
|
||||
public const float SegmentVelocity_ZenithSeed = 22f;
|
||||
|
||||
public const float OpenMouthForBiteDistance = 220f;
|
||||
|
||||
@@ -140,12 +140,12 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
// Percent life remaining.
|
||||
float lifeRatio = NPC.life / (float)NPC.lifeMax;
|
||||
|
||||
float speed = death ? 0.16f : 0.14f;
|
||||
float turnSpeed = death ? 0.23f : 0.19f;
|
||||
float speed = death ? 0.105f : 0.085f;
|
||||
float turnSpeed = death ? 0.21f : 0.17f;
|
||||
speed += speed * 0.4f * (1f - lifeRatio);
|
||||
turnSpeed += turnSpeed * 0.4f * (1f - lifeRatio);
|
||||
speed += 0.14f * enrageScale;
|
||||
turnSpeed += 0.19f * enrageScale;
|
||||
speed += 0.085f * enrageScale;
|
||||
turnSpeed += 0.17f * enrageScale;
|
||||
|
||||
if (Main.getGoodWorld)
|
||||
{
|
||||
|
||||
@@ -136,12 +136,12 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
// Percent life remaining.
|
||||
float lifeRatio = NPC.life / (float)NPC.lifeMax;
|
||||
|
||||
float speed = death ? 0.1f : 0.08f;
|
||||
float turnSpeed = death ? 0.15f : 0.12f;
|
||||
float speed = death ? 0.09f : 0.07f;
|
||||
float turnSpeed = death ? 0.18f : 0.14f;
|
||||
speed += speed * 0.4f * (1f - lifeRatio);
|
||||
turnSpeed += turnSpeed * 0.4f * (1f - lifeRatio);
|
||||
speed += 0.08f * enrageScale;
|
||||
turnSpeed += 0.12f * enrageScale;
|
||||
speed += 0.07f * enrageScale;
|
||||
turnSpeed += 0.14f * enrageScale;
|
||||
|
||||
if (Main.getGoodWorld)
|
||||
{
|
||||
|
||||
@@ -240,13 +240,13 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
|
||||
float burrowDistance = hide ? BurrowDistance_Hide : bossRush ? BurrowDistance_BossRush : BurrowDistance;
|
||||
|
||||
float speed = death ? 0.125f : 0.1f;
|
||||
float turnSpeed = death ? 0.25f : 0.2f;
|
||||
float speed = death ? 0.105f : 0.085f;
|
||||
float turnSpeed = death ? 0.21f : 0.17f;
|
||||
|
||||
if (expertMode)
|
||||
{
|
||||
speed += speed * 0.2f * (1f - lifeRatio);
|
||||
turnSpeed += turnSpeed * 0.2f * (1f - lifeRatio);
|
||||
speed += speed * 0.4f * (1f - lifeRatio);
|
||||
turnSpeed += turnSpeed * 0.4f * (1f - lifeRatio);
|
||||
}
|
||||
|
||||
if (revenge)
|
||||
@@ -255,8 +255,8 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
turnSpeed += (death ? 0.06f : 0.04f) * (1f - lifeRatio);
|
||||
}
|
||||
|
||||
speed += 0.1f * enrageScale;
|
||||
turnSpeed += 0.2f * enrageScale;
|
||||
speed += 0.085f * enrageScale;
|
||||
turnSpeed += 0.17f * enrageScale;
|
||||
|
||||
if (Main.getGoodWorld)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user