Add new item assets and update existing item properties; include Berserker's Chain, Blood Oath Pendant, and others with modified stats and descriptions

This commit is contained in:
2025-07-12 13:33:39 +02:00
parent c3b1ac9213
commit c59baf2f3a
34 changed files with 1373 additions and 12 deletions

View File

@@ -9,7 +9,7 @@ namespace Modifiers
{
public Stat stat;
public float value;
public string Description => $"{stat} +{value}";
public string Description => BuildDescription();
public void Apply(CharacterAttributes attributes)
{
@@ -64,6 +64,11 @@ namespace Modifiers
throw new ArgumentOutOfRangeException();
}
}
private string BuildDescription()
{
var sign = value >= 0 ? "+" : "";
return $"{stat} {sign}{value}";
}
}
}