fix(skills): hand-built attacks level the skill they scale with
Form attacks and powers called Damage directly, and vanilla only raises a skill inside Attack and Projectile.OnHit, so the skill never moved. FormMelee.RaiseSkill pays once per swing or tick that hit a creature. - Fenrir forms' claws and bites: Unarmed; Cultist fire: Elemental Magic - Skadi drake melee and Trenta stomp: Unarmed - Aswid aura: Blood Magic, 0.1 per second like the Frost Aura - Alfar Geisli and Ljosstorm: Elemental Magic; Sameining pulse 0.1/s - Trenta Purple Rain scales with Blood Magic (two new bonus keys) and levels it once per cast that reaches someone besides the caster
This commit is contained in:
parent
eeebfd4d06
commit
d9bca1934f
11 changed files with 105 additions and 9 deletions
|
|
@ -45,6 +45,8 @@ namespace RacesOfValheim
|
|||
public static ConfigEntry<float> PurpleRainRadius;
|
||||
public static ConfigEntry<float> PurpleRainHealAmount;
|
||||
public static ConfigEntry<float> PurpleRainPoisonDamage;
|
||||
public static ConfigEntry<float> PurpleRainBloodMagicHeal;
|
||||
public static ConfigEntry<float> PurpleRainBloodMagicPoison;
|
||||
|
||||
// ─── Bonemass (tier 4+, passive) ──────────────────────────────────────
|
||||
public static ConfigEntry<float> SwimStaminaRegen;
|
||||
|
|
@ -116,6 +118,10 @@ namespace RacesOfValheim
|
|||
new ConfigDescription("Flat heal applied to you and to every ally hit.", new AcceptableValueRange<float>(0f, 200f)));
|
||||
PurpleRainPoisonDamage = config.Bind(purpleRain, "Enemy Poison Damage", 40f,
|
||||
new ConfigDescription("Flat poison damage applied to every enemy hit.", new AcceptableValueRange<float>(0f, 200f)));
|
||||
PurpleRainBloodMagicHeal = config.Bind(purpleRain, "Blood Magic Heal Bonus", 40f,
|
||||
new ConfigDescription("Extra heal at 100 Blood Magic skill, added to Ally Heal Amount (scales linearly from 0).", new AcceptableValueRange<float>(0f, 200f)));
|
||||
PurpleRainBloodMagicPoison = config.Bind(purpleRain, "Blood Magic Poison Bonus", 40f,
|
||||
new ConfigDescription("Extra poison damage at 100 Blood Magic skill, added to Enemy Poison Damage (scales linearly from 0).", new AcceptableValueRange<float>(0f, 200f)));
|
||||
|
||||
const string bonemass = "Trenta - Bonemass";
|
||||
SwimStaminaRegen = config.Bind(bonemass, "Swim Stamina Regen", 0.1f,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue