feat(fenrir): each form has a job once all three are unlocked
The Fenring and the Cultist ran at +100% while the Ulv, the form that looks made for travel, ran at +50%. Now the Ulv is the travel form at +100%, and the Fenring and the Cultist drop to +50%. The Fenring holds the line: every hit on it lands 30% lighter. The Cultist keeps its damage and pays for it: every hit lands 25% harder. The scale sits in a new SE_FenrirFormBuff.OnDamaged, which runs on the player's own machine before armor, so it covers hits from any client. Speed and the damage factor are set on the live effect each time a form is taken, so the Wolf and the Ulv can share SE_WolfForm with different speeds, and a changed value applies without a relog. The speed keys were renamed (Ulv Speed Bonus, Wolf Speed Bonus, Fenring And Cultist Speed Bonus) so a saved .cfg cannot keep the old order. Suggested by Lexsonn.
This commit is contained in:
parent
b16d1775d8
commit
af58fcec0d
6 changed files with 60 additions and 16 deletions
|
|
@ -45,6 +45,9 @@ namespace RacesOfValheim
|
|||
public static ConfigEntry<float> FullFormJumpBonus;
|
||||
public static ConfigEntry<float> FullFormFallDamageReduction;
|
||||
public static ConfigEntry<float> WolfFormSpeedBonus;
|
||||
public static ConfigEntry<float> UlvFormSpeedBonus;
|
||||
public static ConfigEntry<float> FenringDamageReduction;
|
||||
public static ConfigEntry<float> CultistExtraDamageTaken;
|
||||
public static ConfigEntry<float> WolfFormFallDamageReduction;
|
||||
public static ConfigEntry<float> FormStaminaRegenMultiplier;
|
||||
public static ConfigEntry<float> FormStaminaDrainReduction;
|
||||
|
|
@ -138,14 +141,24 @@ namespace RacesOfValheim
|
|||
|
||||
const string buffs = "Fenrir - Form Buffs";
|
||||
BindNote(config, buffs, "Note: these values need a relog to take effect.");
|
||||
FullFormSpeedBonus = config.Bind(buffs, "Full Form Speed Bonus", 1.0f,
|
||||
new ConfigDescription("Speed multiplier bonus while in Fenring or Cultist form.", new AcceptableValueRange<float>(0f, 3f)));
|
||||
// Each form has a job once all three are unlocked (Lexsonn's suggestion): the Ulv
|
||||
// travels, the Fenring holds the line, the Cultist burns. The speed keys were renamed
|
||||
// from "Full Form Speed Bonus" and "Wolf Form Speed Bonus" so a saved .cfg cannot keep
|
||||
// the old order, where the Fenring outran the Ulv.
|
||||
FullFormSpeedBonus = config.Bind(buffs, "Fenring And Cultist Speed Bonus", 0.5f,
|
||||
new ConfigDescription("Speed multiplier bonus while in Fenring or Cultist form. 0.5 = 50% faster.", new AcceptableValueRange<float>(0f, 3f)));
|
||||
FullFormJumpBonus = config.Bind(buffs, "Full Form Jump Bonus", 1.0f,
|
||||
new ConfigDescription("Jump multiplier bonus while in Fenring or Cultist form.", new AcceptableValueRange<float>(0f, 3f)));
|
||||
FullFormFallDamageReduction = config.Bind(buffs, "Full Form Fall Damage Reduction", 1.0f,
|
||||
new ConfigDescription("Fall damage reduction while in Fenring or Cultist form (1 = immune).", new AcceptableValueRange<float>(0f, 1f)));
|
||||
WolfFormSpeedBonus = config.Bind(buffs, "Wolf Form Speed Bonus", 0.5f,
|
||||
new ConfigDescription("Speed multiplier bonus while in Wolf or Ulv form.", new AcceptableValueRange<float>(0f, 3f)));
|
||||
WolfFormSpeedBonus = config.Bind(buffs, "Wolf Speed Bonus", 0.5f,
|
||||
new ConfigDescription("Speed multiplier bonus while in Wolf form, the G form before Moder.", new AcceptableValueRange<float>(0f, 3f)));
|
||||
UlvFormSpeedBonus = config.Bind(buffs, "Ulv Speed Bonus", 1.0f,
|
||||
new ConfigDescription("Speed multiplier bonus while in Ulv form. The fastest form by default: the one to travel in.", new AcceptableValueRange<float>(0f, 3f)));
|
||||
FenringDamageReduction = config.Bind(buffs, "Fenring Damage Reduction", 0.3f,
|
||||
new ConfigDescription("Share of every hit the Fenring shrugs off. 0.3 = 30% less damage taken.", new AcceptableValueRange<float>(0f, 0.9f)));
|
||||
CultistExtraDamageTaken = config.Bind(buffs, "Cultist Extra Damage Taken", 0.25f,
|
||||
new ConfigDescription("How much harder hits land on the Cultist. 0.25 = 25% more damage taken.", new AcceptableValueRange<float>(0f, 2f)));
|
||||
WolfFormFallDamageReduction = config.Bind(buffs, "Wolf Form Fall Damage Reduction", 0.5f,
|
||||
new ConfigDescription("Fall damage reduction while in Wolf or Ulv form.", new AcceptableValueRange<float>(0f, 1f)));
|
||||
FormStaminaRegenMultiplier = config.Bind(buffs, "Stamina Regen Multiplier", 1.3f,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue