Rework enemy behavior (still in progress but shouldn't crash)

This commit is contained in:
2025-10-20 19:24:50 -07:00
parent 20b659681a
commit 44fd8c82b0
135 changed files with 2165 additions and 2415 deletions

View File

@@ -321,9 +321,9 @@ public partial class Game : Node3D, IGame
public IDungeonFloor CurrentFloor => _map.CurrentFloor;
public void EnemyDefeated(Vector3 defeatedLocation, EnemyStatResource resource)
public void EnemyDefeated(Vector3 defeatedLocation)
{
_player.GainExp(resource.ExpFromDefeat * GameRepo.ExpRate);
_player.GainExp(10 * GameRepo.ExpRate);
DropRestorative(defeatedLocation);
}