1 - Nerfed Squishy Bean mount.
2 - Squishy Bean mount increased fall speed is activated quicker by holding down. 3 - Changed Fabsol mount item name and tooltip. 4 - Cryogen no longer deals greatly increased contact damage in final phase. 5 - Fixed DoG phase 2 laser wall bugs.
This commit is contained in:
1 parent
8f66e00331
commit
01d6a7e2ff
8 files changed
+39
-37
No files matched your search
@@ -74,12 +74,11 @@ namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
CalamityPlayer modPlayer = player.Calamity();
|
||||
if (modPlayer.fabsolVodka)
|
||||
player.allDamage += 0.1f;
|
||||
|
||||
if (player.velocity.Length() > 9f)
|
||||
{
|
||||
player.allDamage += 0.1f;
|
||||
}
|
||||
if (Math.Abs(player.velocity.X) > 12f || Math.Abs(player.velocity.Y) > 12f)
|
||||
{
|
||||
int rand = Main.rand.Next(2);
|
||||
int rand = Main.rand.Next(2);
|
||||
bool momo = false;
|
||||
if (rand == 1)
|
||||
{
|
||||
@@ -98,6 +97,7 @@ namespace CalamityMod.Items.Mounts
|
||||
int dust = Dust.NewDust(new Vector2(rect.X, rect.Y), rect.Width, rect.Height, 234, 0, 0, 0, meme);
|
||||
Main.dust[dust].noGravity = true;
|
||||
}
|
||||
|
||||
if (player.velocity.Y != 0f)
|
||||
{
|
||||
if (player.mount.PlayerOffset == 28)
|
||||
|
||||
@@ -8,8 +8,8 @@ namespace CalamityMod.Items.Mounts
|
||||
{
|
||||
public override void SetStaticDefaults()
|
||||
{
|
||||
DisplayName.SetDefault("Fabsol");
|
||||
Tooltip.SetDefault("Summons an alicorn\n" +
|
||||
DisplayName.SetDefault("Princess Spirit in a Bottle");
|
||||
Tooltip.SetDefault("Summons the spirit of Cirrus, the Drunk Princess, in her alicorn form\n" +
|
||||
"Revengeance drop");
|
||||
}
|
||||
|
||||
|
||||
@@ -14,14 +14,10 @@ namespace CalamityMod.Items.Mounts
|
||||
mountData.fallDamage = -1;
|
||||
mountData.runSpeed = 5f;
|
||||
mountData.dashSpeed = 8f;
|
||||
mountData.fatigueMax = 0;
|
||||
mountData.jumpHeight = 20;
|
||||
mountData.acceleration = 0.1f;
|
||||
mountData.jumpSpeed = 40f; //20
|
||||
mountData.blockExtraJumps = true;
|
||||
mountData.jumpSpeed = 20f;
|
||||
mountData.totalFrames = 4;
|
||||
mountData.constantJump = true;
|
||||
mountData.usesHover = false;
|
||||
int[] array = new int[mountData.totalFrames];
|
||||
for (int l = 0; l < array.Length; l++)
|
||||
{
|
||||
@@ -77,11 +73,13 @@ namespace CalamityMod.Items.Mounts
|
||||
|
||||
public override void UpdateEffects(Player player)
|
||||
{
|
||||
player.statDefense += 60;
|
||||
player.gravity = 2f;
|
||||
player.maxFallSpeed = 25f;
|
||||
if (player.velocity.Y > 0f || player.controlDown)
|
||||
{
|
||||
player.gravity = 1f;
|
||||
player.maxFallSpeed = 20f;
|
||||
}
|
||||
player.noFallDmg = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -730,7 +730,7 @@ namespace CalamityMod.NPCs.Cryogen
|
||||
}
|
||||
else if (npc.ai[0] == 5f)
|
||||
{
|
||||
npc.damage = (int)(npc.defDamage * 1.5f);
|
||||
npc.damage = npc.defDamage;
|
||||
|
||||
if (phase7)
|
||||
{
|
||||
|
||||
@@ -182,6 +182,10 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
if (calamityGlobalNPC.newAI[3] >= 720f)
|
||||
{
|
||||
npc.alpha = 255;
|
||||
|
||||
// Reset laser wall timer to 0
|
||||
calamityGlobalNPC.newAI[1] = 0f;
|
||||
|
||||
calamityGlobalNPC.newAI[3] = 0f;
|
||||
laserWallPhase = (int)LaserWallPhase.FireLaserWalls;
|
||||
}
|
||||
@@ -189,9 +193,6 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
}
|
||||
else if (laserWallPhase == (int)LaserWallPhase.FireLaserWalls)
|
||||
{
|
||||
// Reset laser wall timer to 0
|
||||
calamityGlobalNPC.newAI[1] = 0f;
|
||||
|
||||
// Remain in laser wall firing phase for 6 seconds
|
||||
idleCounter--;
|
||||
if (idleCounter <= 0)
|
||||
@@ -238,7 +239,7 @@ namespace CalamityMod.NPCs.DevourerofGods
|
||||
laserWallPhase = (int)LaserWallPhase.SetUp;
|
||||
|
||||
// Enter final phase
|
||||
if (!halfLife)
|
||||
if (!halfLife && phase3)
|
||||
{
|
||||
// Teleport close to the target
|
||||
Teleport(player, true);
|
||||
|
||||
+16
-13
@@ -107,7 +107,7 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
npc.dontTakeDamage = reader.ReadBoolean();
|
||||
}
|
||||
|
||||
public override void AI()
|
||||
public override void AI()
|
||||
{
|
||||
// whoAmI variable
|
||||
CalamityGlobalNPC.siren = npc.whoAmI;
|
||||
@@ -257,18 +257,21 @@ namespace CalamityMod.NPCs.Leviathan
|
||||
}
|
||||
|
||||
// Alpha
|
||||
if (isNotOcean)
|
||||
{
|
||||
npc.alpha += 3;
|
||||
if (npc.alpha >= 150)
|
||||
npc.alpha = 150;
|
||||
}
|
||||
else
|
||||
{
|
||||
npc.alpha -= 5;
|
||||
if (npc.alpha <= 0)
|
||||
npc.alpha = 0;
|
||||
}
|
||||
if (npc.damage != 0)
|
||||
{
|
||||
if (isNotOcean)
|
||||
{
|
||||
npc.alpha += 3;
|
||||
if (npc.alpha >= 150)
|
||||
npc.alpha = 150;
|
||||
}
|
||||
else
|
||||
{
|
||||
npc.alpha -= 5;
|
||||
if (npc.alpha <= 0)
|
||||
npc.alpha = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Play sound
|
||||
if (Main.rand.NextBool(300))
|
||||
|
||||
@@ -194,7 +194,7 @@ namespace CalamityMod.NPCs.TownNPCs
|
||||
{
|
||||
dialogue.Add("So...you're riding me, huh? That's not weird at all.");
|
||||
dialogue.Add("Are you coming on to me?");
|
||||
dialogue.Add("If I was a magical horse, I'd be out in space swirling cocktails, as I watch space worms battle for my enjoyment.");
|
||||
dialogue.Add("If I was a magical horse, I'd be out in space, swirling cocktails, as I watch space worms battle for my enjoyment.");
|
||||
}
|
||||
|
||||
IList<string> donorList = new List<string>(CalamityLists.donatorList);
|
||||
|
||||
@@ -44,8 +44,8 @@ using Terraria.ModLoader;
|
||||
|
||||
namespace CalamityMod
|
||||
{
|
||||
public static class NPCStats
|
||||
{
|
||||
public static class NPCStats
|
||||
{
|
||||
// I want to die
|
||||
public static void GetNPCDamage(this NPC npc, bool expert, bool revenge, bool death, bool? master = null)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user