aaaaa
This commit is contained in:
1 parent
969e389150
commit
c38a87701a
2 files changed
+9
-2
No files matched your search
@@ -1022,8 +1022,11 @@ namespace CalamityMod.ILEditing
|
||||
|
||||
SoundEngine.PlaySound(SoundID.Roar, self.Center);
|
||||
self.ApplyItemTime(sItem);
|
||||
NPC.MoonLordCountdown = 1;
|
||||
NetMessage.SendData(MessageID.MoonlordHorror, -1, -1, null, NPC.MoonLordCountdown);
|
||||
|
||||
if (Main.netMode != NetmodeID.MultiplayerClient)
|
||||
NPC.SpawnOnPlayer(self.whoAmI, NPCID.MoonLordCore);
|
||||
else
|
||||
NetMessage.SendData(MessageID.SpawnBossUseLicenseStartEvent, -1, -1, null, self.whoAmI, NPCID.MoonLordCore);
|
||||
}
|
||||
else
|
||||
orig(self, sItem);
|
||||
|
||||
@@ -1239,6 +1239,10 @@ namespace CalamityMod.NPCs
|
||||
// Set Plantera to be able to update oldPos[x]
|
||||
// This is only used for her Rev+ AI charge attacks
|
||||
NPCID.Sets.TrailingMode[NPCID.Plantera] = 1;
|
||||
|
||||
// Allow Moon Lord to directly be summoned in Multiplayer.
|
||||
// This is used for the modified Celestial Sigil without Impending Doom.
|
||||
NPCID.Sets.MPAllowedEnemies[NPCID.MoonLordCore] = true;
|
||||
}
|
||||
|
||||
public override void SetDefaults(NPC npc)
|
||||
|
||||
Reference in new issue
Block a user