Merge branch '1.4.4' of https://github.com/CalamityTeam/CalamityMod into 1.4.4
This commit is contained in:
commit
1504cfb7f1
5 files changed
+41
-20
No files matched your search
@@ -861,10 +861,7 @@ Tradewinds: {
|
||||
|
||||
UltraLiquidator: {
|
||||
DisplayName: Ultra Liquidator
|
||||
Tooltip:
|
||||
'''
|
||||
Summons liquidation blades that summon more blades on enemy hits
|
||||
'''
|
||||
Tooltip: Summons liquidation blades that summon more blades on enemy hits
|
||||
}
|
||||
|
||||
UndinesRetribution: {
|
||||
|
||||
@@ -119,8 +119,12 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
NPC.netUpdate = true;
|
||||
}
|
||||
}
|
||||
else if (NPC.timeLeft < 1800)
|
||||
NPC.timeLeft = 1800;
|
||||
//Hey there's someone alive, please dont go
|
||||
//else if (NPC.timeLeft < 300 && (!player.dead || player.active) && NPC.ai[0] == 3f)
|
||||
//{
|
||||
//NPC.timeLeft = 300;
|
||||
//NPC.ai[0] = 0f;
|
||||
//}
|
||||
|
||||
if (lifeRatio <= 0.5f && Main.netMode != NetmodeID.MultiplayerClient && expertMode)
|
||||
{
|
||||
@@ -564,14 +568,21 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
}
|
||||
else if (NPC.ai[0] == 3f)
|
||||
{
|
||||
//This seems to be where it despawns - Shade
|
||||
// Avoid cheap bullshit
|
||||
NPC.damage = 0;
|
||||
|
||||
NPC.noTileCollide = true;
|
||||
NPC.Opacity -= 0.03f;
|
||||
|
||||
if (NPC.timeLeft > 10)
|
||||
NPC.timeLeft = 10;
|
||||
//the game loves to set by default to 937, even if you set it to be otherwise on SetDefaults
|
||||
if (NPC.timeLeft > 300)
|
||||
NPC.timeLeft = 300;
|
||||
NPC.timeLeft--; //it doesnt decrease automatically on NPCs
|
||||
|
||||
//you should despawn NOW!
|
||||
if (NPC.timeLeft <= 0)
|
||||
NPC.active = false;
|
||||
|
||||
if (NPC.Opacity < 0f)
|
||||
NPC.Opacity = 0f;
|
||||
|
||||
@@ -116,8 +116,6 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
NPC.netUpdate = true;
|
||||
}
|
||||
}
|
||||
else if (NPC.timeLeft < 1800)
|
||||
NPC.timeLeft = 1800;
|
||||
|
||||
if (lifeRatio <= 0.5f && Main.netMode != NetmodeID.MultiplayerClient && expertMode)
|
||||
{
|
||||
@@ -608,14 +606,21 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
}
|
||||
else if (NPC.ai[0] == 4f)
|
||||
{
|
||||
//This seems to be where it despawns - Shade
|
||||
// Avoid cheap bullshit
|
||||
NPC.damage = 0;
|
||||
|
||||
NPC.noTileCollide = true;
|
||||
NPC.Opacity -= 0.03f;
|
||||
|
||||
if (NPC.timeLeft > 10)
|
||||
NPC.timeLeft = 10;
|
||||
//the game loves to set by default to 937, even if you set it to be otherwise on SetDefaults
|
||||
if (NPC.timeLeft > 300)
|
||||
NPC.timeLeft = 300;
|
||||
NPC.timeLeft--; //it doesnt decrease automatically on NPCs
|
||||
|
||||
//you should despawn NOW!
|
||||
if (NPC.timeLeft <= 0)
|
||||
NPC.active = false;
|
||||
|
||||
if (NPC.Opacity < 0f)
|
||||
NPC.Opacity = 0f;
|
||||
|
||||
@@ -133,8 +133,6 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
NPC.netUpdate = true;
|
||||
}
|
||||
}
|
||||
else if (NPC.timeLeft < 1800)
|
||||
NPC.timeLeft = 1800;
|
||||
|
||||
bool enraged = true;
|
||||
if (CalamityGlobalNPC.slimeGodPurple != -1)
|
||||
@@ -552,8 +550,14 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
NPC.noTileCollide = true;
|
||||
NPC.Opacity -= 0.03f;
|
||||
|
||||
if (NPC.timeLeft > 10)
|
||||
NPC.timeLeft = 10;
|
||||
//the game loves to set by default to 937, even if you set it to be otherwise on SetDefaults
|
||||
if (NPC.timeLeft > 300)
|
||||
NPC.timeLeft = 300;
|
||||
NPC.timeLeft--; //it doesnt decrease automatically on NPCs
|
||||
|
||||
//you should despawn NOW!
|
||||
if (NPC.timeLeft <= 0)
|
||||
NPC.active = false;
|
||||
|
||||
if (NPC.Opacity < 0f)
|
||||
NPC.Opacity = 0f;
|
||||
|
||||
@@ -133,8 +133,6 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
NPC.netUpdate = true;
|
||||
}
|
||||
}
|
||||
else if (NPC.timeLeft < 1800)
|
||||
NPC.timeLeft = 1800;
|
||||
|
||||
bool enraged = true;
|
||||
bool hyperMode = NPC.localAI[1] == 1f;
|
||||
@@ -599,8 +597,14 @@ namespace CalamityMod.NPCs.SlimeGod
|
||||
NPC.noTileCollide = true;
|
||||
NPC.Opacity -= 0.03f;
|
||||
|
||||
if (NPC.timeLeft > 10)
|
||||
NPC.timeLeft = 10;
|
||||
//the game loves to set by default to 937, even if you set it to be otherwise on SetDefaults
|
||||
if (NPC.timeLeft > 300)
|
||||
NPC.timeLeft = 300;
|
||||
NPC.timeLeft--; //it doesnt decrease automatically on NPCs
|
||||
|
||||
//you should despawn NOW!
|
||||
if (NPC.timeLeft <= 0)
|
||||
NPC.active = false;
|
||||
|
||||
if (NPC.Opacity < 0f)
|
||||
NPC.Opacity = 0f;
|
||||
|
||||
Reference in new issue
Block a user