Add Aswid passive lifesteal scaling with progression state
This commit is contained in:
parent
9c64ed0072
commit
55d2cc97bb
2 changed files with 29 additions and 11 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue