Summoning debug.
This commit is contained in:
@@ -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})");
|
||||
|
||||
Reference in New Issue
Block a user