Add notes for dev boss AI

This commit is contained in:
2025-11-22 14:35:27 +00:00
parent ced9180da3
commit 9c9698a93d
4 changed files with 70 additions and 13 deletions
+10 -10
View File
@@ -12,7 +12,6 @@ namespace ForgottenWawiTech.Content.NPCs.OriginalLexy
{
public override void SetStaticDefaults()
{
// DisplayName.SetDefault("Original Lexy");
Main.npcFrameCount[NPC.type] = 1;
}
@@ -33,6 +32,16 @@ namespace ForgottenWawiTech.Content.NPCs.OriginalLexy
public override void AI()
{
/*
IDEA:
Lexy has yet to determine his fight style, but has a rough idea for enraged behaviour.
*/
/*
IDEA: Enraged Behaviour
Lexy will teleport near a player and unleash every ability he has in a frantic assault - taking 5% of his max health every second while in this state - while becoming invulnerable to player damage.
His damage will be multiplied to the power of 1000 - no player is expected to survive this. If they do, Lexy drops a dev set and a unique weapon (TBD).
This will last until he dies.
*/
// For now, the boss instantly dies
NPC.life = 0;
NPC.checkDead();
@@ -45,15 +54,6 @@ namespace ForgottenWawiTech.Content.NPCs.OriginalLexy
public override void OnKill()
{
/* // Spawn LexyNPC when killed
if (Main.netMode != NetmodeID.MultiplayerClient)
{
NPC.NewNPC(NPC.GetSource_Death(), (int)NPC.Center.X, (int)NPC.Center.Y, ModContent.NPCType<LexyNPC>());
}
else
{
NetMessage.SendData(MessageID.SpawnNPC, number: ModContent.NPCType<LexyNPC>(), number2: NPC.whoAmI);
} */
// Set a world flag or similar to indicate Lexy has been defeated
WorldDefeatedBosses.Lexy = true;
// Immediate sync of world flags