mapa
This commit is contained in:
@@ -150,6 +150,11 @@ class InteractionSystem {
|
||||
decor.hp -= damage;
|
||||
this.showFloatingText(`${-damage}`, gridX, gridY, '#ffaaaa');
|
||||
|
||||
// Chop Sound
|
||||
if (this.scene.soundManager) {
|
||||
this.scene.soundManager.playChop();
|
||||
}
|
||||
|
||||
if (decor.hp <= 0) {
|
||||
const type = this.scene.terrainSystem.removeDecoration(gridX, gridY);
|
||||
// Loot logic via LootSystem
|
||||
|
||||
Reference in New Issue
Block a user