Add in mana and an asset viewer

This commit is contained in:
Peter Stockings
2026-01-05 18:57:17 +11:00
parent 43d5dce2e5
commit a7091c70c6
14 changed files with 866 additions and 93 deletions

View File

@@ -308,6 +308,8 @@ function placeEnemies(floor: number, rooms: Room[], actors: Map<EntityId, Actor>
stats: {
maxHp: scaledHp + Math.floor(random() * 4),
hp: scaledHp + Math.floor(random() * 4),
maxMana: 0,
mana: 0,
attack: scaledAttack + Math.floor(random() * 2),
defense: enemyDef.baseDefense,
level: 0,