Valheim
Install with App

Details

Latest version
1.0.0
Last Updated
First Uploaded
Downloads
9
Likes
0
Size
157KB
Dependants
ADDatHost Valheim hosting
30% off

PoVPlus NorseDemigods

Path of Valheiman (PoV) applies its damage bonuses (passive tree, item affixes, conversion, flat and increased damage) while a hit is being built. Most NorseDemigods ability damage either has no skill or never goes through that step, so it gets little or nothing from PoV. This plugin builds every Norse ability hit the way PoV builds its own: as a gem spell by default, or as an attack with your weapon when you hold one of your god's conduits.

How ability hits are built

By default: as gem spells

  • Every hit a Norse ability makes is built exactly as PoV builds one of its own gem spells, whatever you hold. Spell nodes apply, and so does the gem crit chance. Weapon nodes do not apply, and neither do the held item's own bonuses or its oil.
  • Area abilities (Frost Nova, Poison Cloud, Water Sphere, Tornado, Blast, Burning Ground and others) are area gems, so PoV's "increased Area damage" and its other Area bonuses apply.
  • Projectile abilities (Fireball, Ice Shards, Lightning Bolt, Meteor and others) are built as projectiles, so Projectile bonuses apply. A projectile with a splash counts as Projectile only, as in PoV.

Conduits (off by default)

  • Conduits are opt-in. Turn on [Conduits] Use conduits in BepInEx/config/avesatanas.povplus.norsedemigods.cfg, or flip it in a config manager. A change applies from the next cast, with no restart.
  • With it on, each god has a list of weapons that act as conduits. Hold one, and the ability's hit is built as an attack with that weapon: the weapon's PoV nodes and the item's own bonuses and oil apply, and Spell nodes do not. Half of the weapon's base damage is added on top, in the ability's own damage types, before PoV scales the hit. Base damage here is the weapon's own damage at its quality, with the rolls on that item; tree and rock damage are left out.
  • A weapon is matched by its skill. A skill marked (two-handed) only counts for a two-handed weapon of that skill.
  • Each god's list is its own setting in [Conduits], separated by commas. An empty value means that god has no conduits. The lists stay as they are while Use conduits is off.
  • Defaults:
God Conduits
Thor Clubs, Unarmed, Axes
Brokkr Clubs, Axes
Eir Spears, Swords
Freyja Spears, Swords, ElementalMagic
Surtr Swords, Axes, Polearms
Njord Polearms, Axes, Swords, Clubs (two-handed)
Hel Knives, Polearms, Axes (two-handed), Swords (two-handed)
Kvasir Knives, Bows, Crossbows, Unarmed, BloodMagic
Ullr Bows, Crossbows, Spears
Hraesvelgr Swords, Polearms
Fenrir Unarmed, ElementalMagic
Saiyan Unarmed
  • Unarmed means bare hands or a fist weapon. ElementalMagic and BloodMagic mean an elemental or blood staff.
  • Sceptres count as clubs, so a sceptre is a conduit only for a god whose list has Clubs. Then Sceptre nodes apply to the hit. Otherwise a sceptre gives a Norse ability nothing, like any other weapon outside the list.
  • Conduit hits also take Norse Demigods' own per-god weapon bonuses (for example, Thor's lightning with clubs).
  • A conduit area hit is an attack, not a gem, so "increased Area damage" does not apply to it.

The added half is per cast

  • An ability that hits once gets the whole half.
  • Abilities that tick share it across their ticks: Holy Sun, Sharp Mist, Tornado, Nano Cube and Burning Ground.
  • Toggled abilities get half the weapon's base damage per 5 seconds: Decay Aura, Lightning Storm and Energy Wisp. Decay Aura pays that to each enemy it reaches; Lightning Storm strikes one enemy at a time, so its half is spread over its strikes.
  • Bursts split it across their hits: Water Sphere's spheres, and infused Sacrifice's explosions.
  • Enraged's aura gets none of it.

Weapon abilities

  • Slash, Cleave, Whirlwind and infused Stagger are always built as attacks with the weapon in your hand, with conduits on or off. They never get the added half: their damage already comes from the weapon.
  • Infused Arrow's splash takes the arrow's own bow scaling, once. It never gets the added half either.

When the weapon is decided

  • Abilities that last, or that hit some time after the cast, decide their weapon once, at the cast. This covers the ticking abilities, bursts, delayed strikes and anything thrown or launched. Swapping or putting away the weapon afterwards does not change that cast.
  • Toggled auras (Decay Aura, Lightning Storm, Energy Wisp) check your hand at each hit.
  • Norse lets some spells be cast only with bare hands or a fist weapon (Fireball, Lightning Bolt, Ice Shards, Acid Bolt, Arcane Bolt, Poison Javelin, Lightning Strike, Lightning Torpedo and others). These can only use an Unarmed conduit. For example, Thor's bare fists power his Lightning Strike, but Surtr's axe never powers his Fireball.

Speed, crits and size

  • Norse spells you cast like an attack use your cast speed, like other spells. Poison Javelin, a spear throw, uses attack speed.
  • Fireball crits once per hit, never twice. Its tree damage never crits at the cast.
  • Bomb and Lightning Torpedo blast radius grows with Area size.
  • Infused Arrow's splash is scaled once, not twice.

Other changes

  • Attribute procs that copy a hit PoV already built (Aquatic Body and others take a share of your weapon hit) are not scaled a second time. Procs with their own damage are still built.
  • Summons (golem, minions, Surtlings): PoV already read them as summoned minions, but took the bonuses from whichever player stood nearest. They are now tied to the player who summoned them, so PoV's minion bonuses come from the right player. Like PoV's own minions, they no longer damage player-built pieces.
  • The wolf is not a minion by default. Norse gives every summon an unsummon distance, which PoV reads as "summoned"; the plugin undoes that for the wolf so it keeps its tamed-pet bonuses. Each time you summon it, it is made your Path of Valheiman companion (named as Norse names it), and it is released when you dismiss it. One companion per player: it replaces any other.
  • Cooldowns: every ability cooldown is shortened by PoV's skill cooldown and cooldown recovery bonuses, the same way PoV shortens its own skills.

Hold a key for god special attacks (off by default)

[Controls] Hold key for god special attacks changes how a god ability on your weapon's alternate attack is started. With it on, on the ground and while blocking, the ability fires only while you hold NorseDemigods' own key, its "Hotkey Ignore Special Attack" setting (Left Alt by default). Without the key, you get the weapon's own alternate attack, if it has one; a weapon without one does nothing. So a blocking alternate attack is always the weapon's own unless you hold the key. Bare hands and fist weapons follow the same rule: bare-hand spells (Fireball and kin) also need the key, and without it you get the bare-hand alternate attack. Ullr's Infused Arrow sits on the bow's alternate attack, so switching it on or off also needs the key. In the air, press jump again for the god's air ability: Soar (Hraesvelgr), Combustion (Brokkr) or Crush (Njord, Surtr). In the air the alternate attack never starts a god's air ability, with or without the key. A god that has no air ability (Eir, Fenrir, Freyja, Hel, Kvasir, Thor and Ullr with the default god list) follows the ground rule in the air too: the item's own alternate attack, or with the key held, the god's ground ability. Hraesvelgr's double jump comes first when NorseDemigods offers it. A press that NorseDemigods does not use for the double jump fires Soar. Soar charges while you hold jump and launches when you let go, as it does with the alternate attack button. If you have Path of Valheiman's double jump or wall jump, that jump takes the press first. The god's air ability then fires on the next press that Path of Valheiman does not use. With no Path of Valheiman air jump, or with its double jump alone, the air ability fires on the press itself. With its wall jump, the air ability starts a moment after the press (a few hundredths of a second), to see whether Path of Valheiman used it. Another mod's air jump (EpicLoot's double jump, for one) is no longer waited for unless you have Path of Valheiman's wall jump: one press can start both that jump and the god's air ability. Known limit: beside a ledge you could climb, Path of Valheiman's wall jump and ledge climb wait for you to hold or release jump, and there the god's air ability wins the press. Pressing the alternate attack while Soar is charging does nothing, as in NorseDemigods. A jump press starts no air ability while you are building, during an attack, or with a bow in hand, as in NorseDemigods itself, where a bow cannot start one. On keyboard, a jump press while blocking or crouching is a dodge, as in the base game, so it does not fire the air ability. The jump press works on a gamepad too. The key part does not: on a gamepad, or with NorseDemigods' key unbound, ground and blocking god abilities on the alternate attack cannot be started while the setting is on. With it off, NorseDemigods works as shipped: holding that key skips the ability. Norse's own tooltips still describe the key as an "ignore" key. If another mod already uses Left Alt together with a mouse button (a ping, an offhand attack), the press can be taken by that mod and no attack starts: give NorseDemigods' "Hotkey Ignore Special Attack" another key, and this setting follows it. Left Alt (the default) or Left Control are the recommended keys: use whichever your other mods leave free. Left Control is crouch in the base game, so move crouch to another key if you pick it. The setting can be flipped while playing and applies from the next press.

What does not change

  • Abilities that reshape your weapon and keep its skill (Slash, Whirlwind, Crush and others) swing as that weapon, so PoV already scales those swings, damage and attack speed alike.
  • Abilities with no attack animation (instant casts, auras) have nothing for attack or cast speed to act on.
  • Damage with no attacker, and damage to trees, rocks and other non-creatures.
  • Hits that a NorseDemigods proc makes while another hit this plugin built is landing, to stop bonuses compounding.
  • Healing: Norse heals on you already get Path of Valheiman's healing bonus, as every heal you receive does. Nothing to add.
  • Energy costs, difficulty and defences.
  • No skill experience is earned from ability damage.

Things to know

  • Coming from 0.2.0: the old [Skill] and [Skill - <God>] settings have no meaning now. They are removed on first launch, and the log says how many.
  • Tooltip line: in the god's status tooltip (Texts, Active effects), each damage ability gets a line Path of Valheiman: +X%, the bonus PoV gave that ability's last hit (green; red with a minus below 0). On a conduit hit the figure also counts the added half of the weapon's damage. Before the first hit it reads hit something to measure. It resets when you take or remove a PoV node or level up. Abilities that reshape your weapon (Slash, Crush and others) also get the line; it is measured on their weapon hits. Turn it off with [Tooltip] MeasuredBonus.
  • Hit log for bug reports: [Debug] HitLog (off by default) writes one log line per Norse ability hit: the ability, the god, the item in hand, how the hit was built (gem, conduit or weapon, with the added half), and the damage before and after PoV.
  • Keep NorseDemigods' Difficulty at Vanilla when PoV handles enemy scaling; the two multiply.

It does not pull in other mods

NorseDemigods (1.9.3 or newer) and Path of Valheiman (6.0.6 or newer) are not listed as dependencies. At startup the plugin looks for both; if either is missing or older, it logs one line and does nothing. It also stands down if a newer version no longer has what it hooks. If only the conduit part can't hook in, the log says so and every hit builds as a gem spell. The startup log names the Path of Valheiman API version it found.

Rules

  • Client-side: damage is built on the attacking player's game, so each player who wants the effect installs it.
  • Settings: Conduits (Use conduits off, plus one list per god), Minion per summon (wolf off), Companion (wolf on), Tooltip (on), Debug hit log (off). Remove the plugin to turn it all off.
Thunderstore development is made possible with ads. Please consider making an exception to your adblock.