Add Aswid passive lifesteal scaling with progression state

This commit is contained in:
Ferdinando 2026-07-30 22:34:26 +02:00
commit 55d2cc97bb
2 changed files with 29 additions and 11 deletions

View file

@ -23,11 +23,13 @@ namespace RacesOfValheim
public float BonusHealth = 0f;
public float BonusStamina = 0f;
public bool HasSurtlingForm = false;
public float LifestealPercent = 0f;
}
public static AswidRules GetRules(int state)
{
AswidRules rules = new AswidRules();
rules.LifestealPercent = (state * 2f) / 100f; // 2% per state
// State 0 is the base state, no modifiers yet.
if (state >= 1)