Ability fixes and cleanup
This commit is contained in:
@@ -134,8 +134,7 @@ public partial class DungeonHandler
|
||||
else
|
||||
spriteConfig = mobDef.SpriteConfigJson;
|
||||
|
||||
var maxId = dungeon.Simulation.Mobs.Keys.DefaultIfEmpty(0).Max();
|
||||
var newMobId = maxId + 1;
|
||||
var newMobId = dungeon.Simulation.AllocateRuntimeMobId();
|
||||
var stats = mobDef.GetStatsForBracket(dungeon.LevelBracketMin);
|
||||
|
||||
var mob = new MobInstance
|
||||
|
||||
Reference in New Issue
Block a user