Worms make you old
This commit is contained in:
1 parent
2b60a13b94
commit
fcb0e28fa4
3 files changed
+12
-12
No files matched your search
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
|
||||
public const float OpenMouthForBiteDistance = 220f;
|
||||
|
||||
private const int OpenMouthStopFrame = 6;
|
||||
private const int OpenMouthStopFrame = 4;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -531,7 +531,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
}
|
||||
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y += frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
@@ -547,7 +547,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
else if (openMouth)
|
||||
{
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y += frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
@@ -571,7 +571,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
else
|
||||
{
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y -= frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
|
||||
@@ -26,7 +26,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
|
||||
public const float OpenMouthForBiteDistance = 220f;
|
||||
|
||||
private const int OpenMouthStopFrame = 6;
|
||||
private const int OpenMouthStopFrame = 4;
|
||||
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
@@ -531,7 +531,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
}
|
||||
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y += frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
@@ -547,7 +547,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
else if (openMouth)
|
||||
{
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y += frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
@@ -571,7 +571,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
else
|
||||
{
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y -= frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
|
||||
@@ -53,7 +53,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
public const float BurrowDistance_BossRush = 400f;
|
||||
public const float OpenMouthForBiteDistance = 220f;
|
||||
|
||||
private const int OpenMouthStopFrame = 6;
|
||||
private const int OpenMouthStopFrame = 4;
|
||||
|
||||
public static readonly SoundStyle RoarSound = new("CalamityMod/Sounds/Custom/DesertScourgeRoar");
|
||||
|
||||
@@ -675,7 +675,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
}
|
||||
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y += frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
@@ -691,7 +691,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
else if (openMouth || aboutToSpitSpread)
|
||||
{
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y += frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
@@ -715,7 +715,7 @@ namespace CalamityMod.NPCs.DesertScourge
|
||||
else
|
||||
{
|
||||
NPC.frameCounter += 1D;
|
||||
if (NPC.frameCounter > 6D)
|
||||
if (NPC.frameCounter > 4D)
|
||||
{
|
||||
NPC.frame.Y -= frameHeight;
|
||||
NPC.frameCounter = 0D;
|
||||
|
||||
Reference in new issue
Block a user