mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-10 04:05:54 +00:00
Globally calculated difficulty damage
This commit is contained in:
parent
5624d0178c
commit
4d62a0a385
4 changed files with 12 additions and 22 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue