Globally calculated difficulty damage

This commit is contained in:
Marco 2025-04-09 16:58:36 +02:00
commit 4d62a0a385
4 changed files with 12 additions and 22 deletions

View file

@ -19,6 +19,14 @@ public class SessionSettings
public float Health { get; set; }
public float Shield { get; set; }
public float DifficultyDamageMultiplier => this.Difficulty switch
{
DifficultyLevel.Easy => 4f,
DifficultyLevel.Normal => 2f,
DifficultyLevel.Hard or DifficultyLevel.Lunatic => 1f,
_ => 1f
};
public void NewSession()
{
Items = new();