Rework enemy behavior (still in progress but shouldn't crash)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user