From 9149d3f0b56adba745fbd9fa53821b23f54ed05c Mon Sep 17 00:00:00 2001 From: kanym Date: Mon, 26 Oct 2026 15:12:05 +0100 Subject: [PATCH] feat(aswid): sunlight, fire and pierce weaknesses Each has its own switch under 'Aswid - Weaknesses'. Sunlight: by day under open sky, slower regen and movement and a slow burn that stops at 30% health; roofs, dungeons, Swamp, Mistlands, night and Eclipse shield you. Fire +25% until Fader, pierce +20%; both applied after resistances and armor, so meads still help and Mist Form stays pierce-immune. --- JotunnModStub/Aswid/AswidConfig.cs | 39 +++++++++++++ JotunnModStub/Aswid/AswidPatches.cs | 26 +++++++++ JotunnModStub/Aswid/AswidRace.cs | 56 +++++++++++++++++++ JotunnModStub/Aswid/AswidStatusEffects.cs | 29 ++++++++++ JotunnModStub/Package/README.md | 1 + JotunnModStub/README.md | 1 + JotunnModStub/RaceCompendium.cs | 18 ++++++ .../Translations/English/compendium.json | 5 ++ .../Translations/English/status_effects.json | 2 + .../Translations/Italian/compendium.json | 5 ++ .../Translations/Italian/status_effects.json | 2 + .../Translations/Russian/compendium.json | 5 ++ .../Translations/Russian/status_effects.json | 2 + 13 files changed, 191 insertions(+) diff --git a/JotunnModStub/Aswid/AswidConfig.cs b/JotunnModStub/Aswid/AswidConfig.cs index c0e191b..a8e37b1 100644 --- a/JotunnModStub/Aswid/AswidConfig.cs +++ b/JotunnModStub/Aswid/AswidConfig.cs @@ -41,6 +41,21 @@ namespace RacesOfValheim public static ConfigEntry StaminaBonusPerState; public static ConfigEntry StaminaCostMultiplier; + // ─── Weaknesses ────────────────────────────────────────────────────────── + // The Discord reports said the race had no real downsides. Each weakness has its own + // switch, so a single player can drop one; on a server the host's values win. + public static ConfigEntry SunlightEnabled; + public static ConfigEntry SunHealthRegenPenalty; + public static ConfigEntry SunStaminaRegenPenalty; + public static ConfigEntry SunSpeedPenalty; + public static ConfigEntry SunHealthLossPerSecond; + public static ConfigEntry SunHealthFloor; + public static ConfigEntry FireWeaknessEnabled; + public static ConfigEntry FireWeakness; + public static ConfigEntry FaderRemovesFireWeakness; + public static ConfigEntry PierceWeaknessEnabled; + public static ConfigEntry PierceWeakness; + // ─── Bat Form ──────────────────────────────────────────────────────────── // The bat flies on the same directed flight as the Skadi's drakes (DirectedFlight.cs), // with its own numbers. It used to fly on vanilla's debug-fly flag: 50 m/s, free, blind @@ -168,6 +183,30 @@ namespace RacesOfValheim StaminaCostMultiplier = config.Bind(stamina, "Stamina Cost Multiplier", 1f, new ConfigDescription("Multiplies every stamina cost: sprinting, swimming, attacks, blocking. 1 is the normal cost, 0.5 half. There is no infinite setting on purpose; set the bonuses above high instead.", new AcceptableValueRange(0.1f, 2f))); + const string weak = "Aswid - Weaknesses"; + SunlightEnabled = config.Bind(weak, "Sunlight", true, + new ConfigDescription("Weakens you by day while you stand under open sky. A roof (the same test as the game's Sheltered status), a dungeon, the Swamp, the Mistlands, the night and your own Eclipse all shield you.", null)); + SunHealthRegenPenalty = config.Bind(weak, "Sunlight Health Regen Penalty", 0.5f, + new ConfigDescription("Health regeneration lost in sunlight. 0.5 = half.", new AcceptableValueRange(0f, 1f))); + SunStaminaRegenPenalty = config.Bind(weak, "Sunlight Stamina Regen Penalty", 0.25f, + new ConfigDescription("Stamina regeneration lost in sunlight. 0.25 = a quarter.", new AcceptableValueRange(0f, 1f))); + SunSpeedPenalty = config.Bind(weak, "Sunlight Speed Penalty", 0.1f, + new ConfigDescription("Movement speed lost in sunlight. 0.1 = 10% slower.", new AcceptableValueRange(0f, 0.9f))); + SunHealthLossPerSecond = config.Bind(weak, "Sunlight Health Loss Per Second", 0.5f, + new ConfigDescription("Health the sun burns away each second. 0 turns it off.", new AcceptableValueRange(0f, 10f))); + SunHealthFloor = config.Bind(weak, "Sunlight Health Floor", 0.3f, + new ConfigDescription("The sun stops burning at this fraction of your max health, so it weakens you but never kills you. 0.3 = 30%.", new AcceptableValueRange(0f, 1f))); + FireWeaknessEnabled = config.Bind(weak, "Fire Weakness", true, + new ConfigDescription("Fire, burning included, hurts more.", null)); + FireWeakness = config.Bind(weak, "Fire Weakness Amount", 0.25f, + new ConfigDescription("Extra fire damage taken. 0.25 = 25% more. Resistance meads and armour still reduce it.", new AcceptableValueRange(0f, 2f))); + FaderRemovesFireWeakness = config.Bind(weak, "Fader Removes Fire Weakness", true, + new ConfigDescription("Defeating Fader, the boss that grants the Surtling form, ends the fire weakness.", null)); + PierceWeaknessEnabled = config.Bind(weak, "Pierce Weakness", true, + new ConfigDescription("Pierce damage (arrows, spears, stakes) hurts more. Mist Form's immunity still wins.", null)); + PierceWeakness = config.Bind(weak, "Pierce Weakness Amount", 0.2f, + new ConfigDescription("Extra pierce damage taken. 0.2 = 20% more.", new AcceptableValueRange(0f, 2f))); + const string batform = "Aswid - Bat Form"; // Same controls as the Skadi's drake: aim with the camera, W beats forward, Shift // sprints, S beats backwards, and letting go hovers briefly before gliding down. diff --git a/JotunnModStub/Aswid/AswidPatches.cs b/JotunnModStub/Aswid/AswidPatches.cs index f823067..f9c4bba 100644 --- a/JotunnModStub/Aswid/AswidPatches.cs +++ b/JotunnModStub/Aswid/AswidPatches.cs @@ -219,6 +219,32 @@ namespace RacesOfValheim } } + /// + /// Fire and pierce hurt the Aswid more: fire for the old way vampires end, pierce for the + /// stake. A plain multiplier, like the Trol's fire weakness, rather than DamageModifier.Weak, + /// which is a fixed +50% with nothing in between. ApplyDamage runs after resistances, so a + /// fire resistance mead still helps, and Mist Form's pierce immunity has already zeroed the + /// pierce by the time this sees it. + /// + [HarmonyPatch(typeof(Character), "ApplyDamage")] + public static class Aswid_Weakness_Patch + { + public static void Prefix(Character __instance, ref HitData hit) + { + if (__instance != Player.m_localPlayer || !AswidRace.IsAswid()) return; + + if (AswidRace.HasFireWeakness(BossProgressionManager.GetCurrentProgressionState()) && hit.m_damage.m_fire > 0f) + { + hit.m_damage.m_fire *= 1f + AswidConfig.FireWeakness.Value; + } + + if (AswidConfig.PierceWeaknessEnabled.Value && hit.m_damage.m_pierce > 0f) + { + hit.m_damage.m_pierce *= 1f + AswidConfig.PierceWeakness.Value; + } + } + } + [HarmonyPatch(typeof(Humanoid), "StartAttack")] public static class Aswid_Attack_Patch { diff --git a/JotunnModStub/Aswid/AswidRace.cs b/JotunnModStub/Aswid/AswidRace.cs index b93f730..e4e78d6 100644 --- a/JotunnModStub/Aswid/AswidRace.cs +++ b/JotunnModStub/Aswid/AswidRace.cs @@ -508,6 +508,7 @@ namespace RacesOfValheim { updateTimer = 0f; UpdateAswidState(); + UpdateSunlight(UpdateInterval); } try @@ -1452,6 +1453,61 @@ namespace RacesOfValheim } } + /// Fader's Surtling form ends it, unless the setting keeps it for good. + public static bool HasFireWeakness(int state) + { + if (!AswidConfig.FireWeaknessEnabled.Value) return false; + return !(AswidConfig.FaderRemovesFireWeakness.Value && state >= 8); + } + + private static readonly int SunlightHash = "SE_AswidSunlight".GetStableHashCode(); + + /// + /// The V Rising weakness: by day, under open sky, the sun saps the Aswid. Anything that + /// keeps the sky off you counts as shade - a roof by vanilla's own shelter test, a dungeon, + /// the Swamp's and Mistlands' gloom, the night, and the Aswid's own Eclipse, which makes + /// that spell an answer to the sun rather than only a damage boost. + /// + private void UpdateSunlight(float dt) + { + Player player = Player.m_localPlayer; + SEMan seman = player.GetSEMan(); + + bool exposed = InSunlight(player); + bool has = seman.HaveStatusEffect(SunlightHash); + + if (!exposed) + { + if (has) seman.RemoveStatusEffect(SunlightHash, true); + return; + } + + if (!has) seman.AddStatusEffect(SunlightHash, true); + (seman.GetStatusEffect(SunlightHash) as SE_AswidSunlight)?.Refresh(); + + // SetHealth rather than Damage or UseHealth: a burn every second should not stagger, + // interrupt a swing or flash the screen red each time. Never below the floor, so + // the sun can wear you down but never be what kills you. + float floor = player.GetMaxHealth() * AswidConfig.SunHealthFloor.Value; + float health = player.GetHealth(); + float loss = AswidConfig.SunHealthLossPerSecond.Value * dt; + if (loss > 0f && health > floor) + { + player.SetHealth(Mathf.Max(floor, health - loss)); + } + } + + private bool InSunlight(Player player) + { + if (!AswidConfig.SunlightEnabled.Value) return false; + if (EnvMan.instance == null || !EnvMan.IsDay()) return false; + if (IsEclipseActive) return false; + if (player.InInterior() || player.InShelter()) return false; + + Heightmap.Biome biome = player.GetCurrentBiome(); + return biome != Heightmap.Biome.Swamp && biome != Heightmap.Biome.Mistlands; + } + private void UpdateAswidState() { AswidSpectralClaw.PurgeAll(Player.m_localPlayer); // feature disabled for now, see AswidSpectralClaw.cs diff --git a/JotunnModStub/Aswid/AswidStatusEffects.cs b/JotunnModStub/Aswid/AswidStatusEffects.cs index 0a91feb..1e0e4b2 100644 --- a/JotunnModStub/Aswid/AswidStatusEffects.cs +++ b/JotunnModStub/Aswid/AswidStatusEffects.cs @@ -65,6 +65,30 @@ namespace RacesOfValheim } } + /// + /// Sunlight on an exposed Aswid. Its numbers are rewritten from AswidConfig every time + /// AswidRace.UpdateSunlight runs, so a slider moves them live; the health loss is not a stat + /// and is applied by that same tick. + /// + public class SE_AswidSunlight : SE_Stats + { + public override void Setup(Character character) + { + base.Setup(character); + name = "SE_AswidSunlight"; + m_name = "$rov_se_aswid_sunlight_name"; + m_tooltip = "$rov_se_aswid_sunlight_tooltip"; + Refresh(); + } + + public void Refresh() + { + m_healthRegenMultiplier = 1f - AswidConfig.SunHealthRegenPenalty.Value; + m_staminaRegenMultiplier = 1f - AswidConfig.SunStaminaRegenPenalty.Value; + m_speedModifier = -AswidConfig.SunSpeedPenalty.Value; + } + } + public class SE_MistForm : SE_Stats { public override void Setup(Character character) @@ -124,6 +148,11 @@ namespace RacesOfValheim ItemManager.Instance.AddStatusEffect(new CustomStatusEffect(batForm, fixReference: false)); + var sunlight = ScriptableObject.CreateInstance(); + sunlight.name = "SE_AswidSunlight"; + sunlight.m_icon = PrefabManager.Cache.GetPrefab("TrophySurtling")?.m_itemData.m_shared.m_icons[0]; + ItemManager.Instance.AddStatusEffect(new CustomStatusEffect(sunlight, fixReference: false)); + var mistForm = ScriptableObject.CreateInstance(); mistForm.name = "SE_MistForm"; mistForm.m_icon = PrefabManager.Cache.GetPrefab("TrophyWraith")?.m_itemData.m_shared.m_icons[0]; diff --git a/JotunnModStub/Package/README.md b/JotunnModStub/Package/README.md index 30c6479..57749a2 100644 --- a/JotunnModStub/Package/README.md +++ b/JotunnModStub/Package/README.md @@ -24,6 +24,7 @@ This mod currently introduces 4 custom races: - **Blood Magic Mastery**: You can cast Blood Magic items with infinite Eitr, relying purely on their health costs. - **Night Prowler**: Your passive speed and jump bonuses double during the night. - **Undead Vigor**: The Aswid has a large stamina pool that grows with every boss, on top of its food. You consume the lifeforce of fallen foes directly instead of eating standard food. +- **The Curse's Price**: By day under open sky the sun slows you, weakens your regeneration and burns you down to 30% health; a roof, a dungeon, the Swamp, the Mistlands, the night or your Eclipse shield you. You also take 25% more fire damage (until Fader) and 20% more pierce damage. Every weakness can be switched off in the config. ## Installation (manual) 1. Install BepInExPack Valheim. diff --git a/JotunnModStub/README.md b/JotunnModStub/README.md index b549278..9032045 100644 --- a/JotunnModStub/README.md +++ b/JotunnModStub/README.md @@ -27,6 +27,7 @@ This mod currently introduces 6 custom races: - **Blood Magic Mastery**: You can cast Blood Magic items with infinite Eitr, relying purely on their health costs. - **Day walker, Night stalker**: Your passive speed and jump bonuses double during the night. - **Undead Vigor**: The Aswid has a large stamina pool that grows with every boss, on top of its food. You consume the lifeforce of fallen foes directly instead of eating standard food. +- **The Curse's Price**: By day under open sky the sun slows you, weakens your regeneration and burns you down to 30% health; a roof, a dungeon, the Swamp, the Mistlands, the night or your Eclipse shield you. You also take 25% more fire damage (until Fader) and 20% more pierce damage. Every weakness can be switched off in the config. ### 5. Furling - **Goblin Heritage**: You play as a Goblin (Fuling). No beard, no hair (for males). diff --git a/JotunnModStub/RaceCompendium.cs b/JotunnModStub/RaceCompendium.cs index 9855a42..4a5f77d 100644 --- a/JotunnModStub/RaceCompendium.cs +++ b/JotunnModStub/RaceCompendium.cs @@ -476,6 +476,24 @@ namespace RacesOfValheim Mathf.RoundToInt(AswidConfig.EarlyStaminaShare.Value * 100f), Mathf.RoundToInt(AswidConfig.DevourStaminaShare.Value * 100f))); + bool fireNow = AswidRace.HasFireWeakness(state); + bool fireGone = AswidConfig.FireWeaknessEnabled.Value && !fireNow; + if (AswidConfig.SunlightEnabled.Value || AswidConfig.FireWeaknessEnabled.Value || AswidConfig.PierceWeaknessEnabled.Value) + sb.AppendLine(ModText.Get("rov_compendium_aswid_weaknesses")); + if (AswidConfig.SunlightEnabled.Value) + sb.AppendLine(ModText.Get("rov_compendium_aswid_weakness_sunlight", + Mathf.RoundToInt(AswidConfig.SunHealthRegenPenalty.Value * 100f), + Mathf.RoundToInt(AswidConfig.SunStaminaRegenPenalty.Value * 100f), + Mathf.RoundToInt(AswidConfig.SunSpeedPenalty.Value * 100f), + AswidConfig.SunHealthLossPerSecond.Value.ToString("0.#"), + Mathf.RoundToInt(AswidConfig.SunHealthFloor.Value * 100f))); + if (fireNow) + sb.AppendLine(ModText.Get("rov_compendium_aswid_weakness_fire", Mathf.RoundToInt(AswidConfig.FireWeakness.Value * 100f))); + else if (fireGone) + sb.AppendLine(ModText.Get("rov_compendium_aswid_weakness_fire_gone")); + if (AswidConfig.PierceWeaknessEnabled.Value) + sb.AppendLine(ModText.Get("rov_compendium_aswid_weakness_pierce", Mathf.RoundToInt(AswidConfig.PierceWeakness.Value * 100f))); + 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; diff --git a/JotunnModStub/Translations/English/compendium.json b/JotunnModStub/Translations/English/compendium.json index 92d6fab..7b8a94f 100644 --- a/JotunnModStub/Translations/English/compendium.json +++ b/JotunnModStub/Translations/English/compendium.json @@ -45,6 +45,11 @@ "rov_compendium_aswid_take_no_fall_damage_physical": "You take no fall damage, and physical kills automatically devour edible enemies (Vae Victis) for Blood Magic XP. Your physical stats scale with every boss you defeat: +$1 Armor, +$2 Damage, +$3% Speed and Jump, and +$4% Lifesteal on physical hits. All of these bonuses double during the night. You can cast Blood Magic items with infinite Eitr, and your Blood Magic skill rises $5x as fast.\n", "rov_compendium_aswid_undead_vigor": "Undead Vigor: your endurance is unholy but not endless. You carry +$1 Maximum Stamina at your present standing (+$2 for every boss), on top of what your food gives, and every stamina cost lands at $3% of the normal price.\n", "rov_compendium_aswid_devour_diet": "Blood is all you eat, and what it gives depends on whose it was. A devoured creature feeds $1% of the health it once did. Of that, Meadows and Black Forest prey turn $2% into stamina instead, anything from further afield $3%. Creatures without a meal of their own feed no more than their homeland allows: a troll is still Black Forest prey.\n", + "rov_compendium_aswid_weaknesses": "[Base Weakness] The Curse's Price:", + "rov_compendium_aswid_weakness_sunlight": "Sunlight: by day, under open sky, you regenerate $1% less health and $2% less stamina, move $3% slower, and burn $4 health a second down to $5% of your maximum. A roof, a dungeon, the Swamp, the Mistlands, the night or your own Eclipse keep the sun off you.\n", + "rov_compendium_aswid_weakness_fire": "Fire: you take $1% more fire damage, burning included. Defeating Fader ends it.\n", + "rov_compendium_aswid_weakness_fire_gone": "Fire: with Fader fallen, the flame is yours, and fire no longer hurts you more than anyone else.\n", + "rov_compendium_aswid_weakness_pierce": "The Stake: you take $1% more pierce damage. As Mist, nothing pierces you at all.\n", "rov_compendium_aswid_tame_u_key_asksvin_join": "[Fader Unlock] Tame ('U' Key): Asksvin join the huntable list.\n", "rov_compendium_aswid_tame_u_key_lox_join": "[Yagluth Unlock] Tame ('U' Key): Lox join the huntable list.\n", "rov_compendium_aswid_tame_u_key_tame_boar": "[Eikthyr Unlock] Tame ('U' Key): Tame a boar under your cursor.\n", diff --git a/JotunnModStub/Translations/English/status_effects.json b/JotunnModStub/Translations/English/status_effects.json index 05cced7..d06a99a 100644 --- a/JotunnModStub/Translations/English/status_effects.json +++ b/JotunnModStub/Translations/English/status_effects.json @@ -3,6 +3,8 @@ "rov_se_aswid_auspex_tooltip": "Sensing life force of nearby creatures.", "rov_se_aswid_batform_name": "Like a Bat out of Hell", "rov_se_aswid_batform_tooltip": "You have taken the form of a Bat. You can fly, but cannot attack.", + "rov_se_aswid_sunlight_name": "Sunlight", + "rov_se_aswid_sunlight_tooltip": "The sun is on you. Health and stamina regenerate more slowly, you move slower, and you burn, though the sun alone cannot kill you. Find a roof, the Swamp or the Mistlands.", "rov_se_aswid_bloodpotion_tooltip": "Stomachs filled with blood. Healing $1% over $2 seconds.", "rov_se_aswid_mistform_name": "Weight of Shadows", "rov_se_aswid_mistform_tooltip": "You are mist. Immune to physical damage and poison. Cannot attack or run.", diff --git a/JotunnModStub/Translations/Italian/compendium.json b/JotunnModStub/Translations/Italian/compendium.json index e5191c9..663f838 100644 --- a/JotunnModStub/Translations/Italian/compendium.json +++ b/JotunnModStub/Translations/Italian/compendium.json @@ -45,6 +45,11 @@ "rov_compendium_aswid_take_no_fall_damage_physical": "Non subisci danni da caduta, e le uccisioni fisiche divorano automaticamente i nemici commestibili (Vae Victis) dandoti esperienza di Magia del sangue. Le tue statistiche fisiche crescono con ogni boss sconfitto: +$1 armatura, +$2 danni, +$3% velocità e salto, +$4% furto di vita sui colpi fisici. Di notte tutti questi bonus raddoppiano. Puoi usare gli oggetti di Magia del sangue con eitr infinito, e la tua abilità di Magia del sangue sale $5 volte più in fretta.\n", "rov_compendium_aswid_undead_vigor": "Vigore non morto: la tua resistenza è empia, ma non infinita. Al tuo livello attuale hai +$1 stamina massima (+$2 per ogni boss), oltre a quella che ti dà il cibo, e ogni costo di stamina ti pesa il $3% del normale.\n", "rov_compendium_aswid_devour_diet": "Ti nutri solo di sangue, e quello che ti dà dipende da chi lo versa. Una creatura divorata ti dà il $1% della salute di prima. Di questa, le prede di Prati e Foresta Nera ne trasformano il $2% in stamina, quelle delle terre più lontane il $3%. Le creature senza un pasto proprio non danno più di quanto concede la loro terra: un troll resta una preda della Foresta Nera.\n", + "rov_compendium_aswid_weaknesses": "[Debolezza di base] Il prezzo della maledizione:", + "rov_compendium_aswid_weakness_sunlight": "Luce del sole: di giorno, a cielo aperto, rigeneri il $1% di salute in meno e il $2% di stamina in meno, ti muovi il $3% più lentamente, e bruci $4 salute al secondo fino al $5% del massimo. Un tetto, un dungeon, la Palude, le Terre nebbiose, la notte o la tua Eclissi ti riparano dal sole.\n", + "rov_compendium_aswid_weakness_fire": "Fuoco: subisci il $1% di danni da fuoco in più, ustioni comprese. Sconfiggere Fader pone fine a questa debolezza.\n", + "rov_compendium_aswid_weakness_fire_gone": "Fuoco: caduto Fader, la fiamma è tua, e il fuoco non ti ferisce più di chiunque altro.\n", + "rov_compendium_aswid_weakness_pierce": "Il paletto: subisci il $1% di danni perforanti in più. Da nebbia, niente può perforarti.\n", "rov_compendium_aswid_tame_u_key_asksvin_join": "[Sblocco Fader] Addomesticare (tasto 'U'): gli asksvin si aggiungono alle prede.\n", "rov_compendium_aswid_tame_u_key_lox_join": "[Sblocco Yagluth] Addomesticare (tasto 'U'): i lox si aggiungono alle prede.\n", "rov_compendium_aswid_tame_u_key_tame_boar": "[Sblocco Eikthyr] Addomesticare (tasto 'U'): addomestica il cinghiale sotto il cursore.\n", diff --git a/JotunnModStub/Translations/Italian/status_effects.json b/JotunnModStub/Translations/Italian/status_effects.json index c55a037..4c28a4e 100644 --- a/JotunnModStub/Translations/Italian/status_effects.json +++ b/JotunnModStub/Translations/Italian/status_effects.json @@ -3,6 +3,8 @@ "rov_se_aswid_auspex_tooltip": "Percepisci la forza vitale delle creature vicine.", "rov_se_aswid_batform_name": "Like a Bat out of Hell", "rov_se_aswid_batform_tooltip": "Hai preso la forma di un pipistrello. Puoi volare, ma non puoi attaccare.", + "rov_se_aswid_sunlight_name": "Luce del sole", + "rov_se_aswid_sunlight_tooltip": "Il sole ti colpisce. Salute e stamina si rigenerano più lentamente, ti muovi più piano e bruci, anche se il sole da solo non può ucciderti. Cerca un tetto, la Palude o le Terre nebbiose.", "rov_se_aswid_bloodpotion_tooltip": "Stomaci pieni di sangue. Cura il $1% in $2 secondi.", "rov_se_aswid_mistform_name": "Weight of Shadows", "rov_se_aswid_mistform_tooltip": "Sei nebbia. Immune ai danni fisici e al veleno. Non puoi attaccare né correre.", diff --git a/JotunnModStub/Translations/Russian/compendium.json b/JotunnModStub/Translations/Russian/compendium.json index a650acb..50c50c6 100644 --- a/JotunnModStub/Translations/Russian/compendium.json +++ b/JotunnModStub/Translations/Russian/compendium.json @@ -45,6 +45,11 @@ "rov_compendium_aswid_take_no_fall_damage_physical": "Вы не получаете урона от падения, а убийства в ближнем бою автоматически пожирают съедобных врагов (Vae Victis), принося опыт магии крови. Ваши физические характеристики растут с каждым убитым боссом: +$1 к броне, +$2 к урону, +$3% к скорости и прыжку, и +$4% вампиризма при физ. атаках. Все эти бонусы удваиваются ночью. Вы можете использовать предметы магии крови с бесконечным эйтром, а навык «Магия крови» растет в $5 раз быстрее.\n", "rov_compendium_aswid_undead_vigor": "Неживая стойкость: ваша выносливость нечестива, но не бесконечна. На текущем этапе у вас +$1 к максимальной выносливости (+$2 за каждого босса) сверх той, что дает еда, а любые траты выносливости составляют $3% от обычных.\n", "rov_compendium_aswid_devour_diet": "Вы питаетесь только кровью, и ее сила зависит от того, чья она. Пожранное существо дает $1% прежнего здоровья. Из него добыча Лугов и Черного леса превращает $2% в выносливость, существа из дальних земель — $3%. Существа без собственного блюда дают не больше, чем позволяет их родной край: тролль остается добычей Черного леса.\n", + "rov_compendium_aswid_weaknesses": "[Базовая слабость] Цена проклятия:", + "rov_compendium_aswid_weakness_sunlight": "Солнечный свет: днем под открытым небом вы восстанавливаете на $1% меньше здоровья и на $2% меньше выносливости, двигаетесь на $3% медленнее и теряете $4 здоровья в секунду, пока оно не опустится до $5% от максимума. Крыша, подземелье, Болото, Туманные земли, ночь или ваше Затмение защищают от солнца.\n", + "rov_compendium_aswid_weakness_fire": "Огонь: вы получаете на $1% больше урона огнем, включая горение. Победа над Прародителем снимает эту слабость.\n", + "rov_compendium_aswid_weakness_fire_gone": "Огонь: после падения Прародителя пламя подвластно вам, и огонь ранит вас не сильнее, чем других.\n", + "rov_compendium_aswid_weakness_pierce": "Кол: вы получаете на $1% больше колющего урона. В облике тумана ничто не может вас пронзить.\n", "rov_compendium_aswid_tame_u_key_asksvin_join": "[Награда: Прародитель] Приручение (клавиша «U»): Пеплозавры добавляются в список доступных для приручения.\n", "rov_compendium_aswid_tame_u_key_lox_join": "[Награда: Яглут] Приручение (клавиша «U»): Быкоящеры добавляются в список доступных для приручения.\n", "rov_compendium_aswid_tame_u_key_tame_boar": "[Награда: Эйктюр] Приручение (клавиша «U»): Мгновенно приручает кабана под прицелом.\n", diff --git a/JotunnModStub/Translations/Russian/status_effects.json b/JotunnModStub/Translations/Russian/status_effects.json index f58039b..5c990a5 100644 --- a/JotunnModStub/Translations/Russian/status_effects.json +++ b/JotunnModStub/Translations/Russian/status_effects.json @@ -3,6 +3,8 @@ "rov_se_aswid_auspex_tooltip": "Ощущение жизненной силы ближайших существ.", "rov_se_aswid_batform_name": "Like a Bat out of Hell", "rov_se_aswid_batform_tooltip": "Вы приняли форму летучей мыши. Вы умеете летать, но не можете нападать.", + "rov_se_aswid_sunlight_name": "Солнечный свет", + "rov_se_aswid_sunlight_tooltip": "Солнце жжет вас. Здоровье и выносливость восстанавливаются медленнее, вы двигаетесь медленнее и горите, хотя одно лишь солнце не может вас убить. Найдите крышу, Болото или Туманные земли.", "rov_se_aswid_bloodpotion_tooltip": "Желудки наполнены кровью. Восстановление $1% здоровья за $2 с.", "rov_se_aswid_mistform_name": "Weight of Shadows", "rov_se_aswid_mistform_tooltip": "Вы — бесплотный туман. Неуязвимость к физическому урону и яду. Нельзя атаковать и бегать.",