From 65f3fa91d39e4b4a485ee36130e754e49a8e55a2 Mon Sep 17 00:00:00 2001 From: dingo Date: Sun, 1 Feb 2026 12:11:31 -0500 Subject: [PATCH] Summoning debug. --- Game/Dungeon/DungeonSimulation.cs | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Game/Dungeon/DungeonSimulation.cs b/Game/Dungeon/DungeonSimulation.cs index e3478a8..efcd8d5 100644 --- a/Game/Dungeon/DungeonSimulation.cs +++ b/Game/Dungeon/DungeonSimulation.cs @@ -242,6 +242,12 @@ public partial class DungeonSimulation // If no abilities loaded, give a basic attack if (mob.Abilities.Count == 0) { + if (mobDef.Id == 100 || mobDef.Name == "The Bone Lord") + { + Console.WriteLine( + $"[DungeonSimulation] Bone Lord has no loaded abilities; falling back to Basic Attack."); + } + mob.Abilities.Add(new MobAbilityState { AbilityId = 0, @@ -523,10 +529,10 @@ public partial class DungeonSimulation { if (mobDef.AbilityAssignments == null) return; - if (mobDef.Id == 100) + if (mobDef.Id == 100 || mobDef.Name == "The Bone Lord") { Console.WriteLine( - $"[DungeonSimulation] Bone Lord assignments: {mobDef.AbilityAssignments.Count} (enabled: {mobDef.AbilityAssignments.Count(a => a.IsEnabled)})"); + $"[DungeonSimulation] Bone Lord assignments: Id={mobDef.Id} Name={mobDef.Name} Total={mobDef.AbilityAssignments.Count} Enabled={mobDef.AbilityAssignments.Count(a => a.IsEnabled)}"); } foreach (var assignment in mobDef.AbilityAssignments.Where(a => a.IsEnabled)) @@ -546,7 +552,7 @@ public partial class DungeonSimulation continue; } - if (mobDef.Id == 100) + if (mobDef.Id == 100 || mobDef.Name == "The Bone Lord") { Console.WriteLine( $"[DungeonSimulation] Bone Lord ability loaded: {abilityDef.Id} {abilityDef.Name} ({abilityDef.AbilityType})");