feat(aswid): Vampiric Aura is off in bat form until The Queen

A bat could glide over enemies that cannot reach it and drain them the
whole way. The aura now stays silent in bat form until the configurable
unlock state (7, The Queen), or always if 'Active In Bat Form' is on.
Also corrects the README's aura and Mist Form lines, which still
described the old block-to-channel aura and a weakness the code lacks.
This commit is contained in:
kanym 2026-10-26 14:20:10 +01:00
commit 824ddd8956
8 changed files with 50 additions and 9 deletions

View file

@ -478,6 +478,13 @@ namespace RacesOfValheim
sb.AppendLine(ModText.Get("rov_compendium_aswid_vampiric_aura_passive_toggle"));
sb.AppendLine(ModText.Get("rov_compendium_aswid_always_active_every_form_with", auraRadiusDay, auraRadiusNight, auraExecute));
int batAuraUnlock = AswidConfig.BatAuraUnlockState.Value;
if (AswidRace.BatAuraAllowed(state))
sb.AppendLine(ModText.Get("rov_compendium_aswid_aura_bat_on"));
else if (batAuraUnlock > 0)
sb.AppendLine(ModText.Get("rov_compendium_aswid_aura_bat_locked", BossProgressionManager.GetBossTokenForState(batAuraUnlock)));
else
sb.AppendLine(ModText.Get("rov_compendium_aswid_aura_bat_never"));
// The live figure, so the entry cannot drift from the code: it is the same yardstick
// the Sverm's own claws are measured against, which is what keeps the three races even.