Fix issue where killing an enemy resulted in orb being rendered with rat sprite on top

This commit is contained in:
Peter Stockings
2026-01-04 19:02:51 +11:00
parent b5314986e3
commit 2ca51945fc
4 changed files with 103 additions and 19 deletions

View File

@@ -26,17 +26,30 @@ export const GAME_CONFIG = {
roomMaxHeight: 10
},
enemy: {
baseHp: 8,
baseAttack: 3,
minSpeed: 80,
maxSpeed: 130,
baseHpPerFloor: 5,
attackPerTwoFloors: 1,
enemies: {
rat: {
baseHp: 8,
baseAttack: 3,
baseDefense: 0,
minSpeed: 80,
maxSpeed: 110,
expValue: 5
},
bat: {
baseHp: 6,
baseAttack: 4,
baseDefense: 0,
minSpeed: 110,
maxSpeed: 140,
expValue: 8
}
},
enemyScaling: {
baseCount: 3,
baseCountPerFloor: 3,
ratExp: 5,
batExp: 8
hpPerFloor: 5,
attackPerTwoFloors: 1,
},
leveling: {