minor bugfix and pad support

This commit is contained in:
Ferdinando 2026-09-12 10:42:01 +02:00
commit 6e87be3c77
21 changed files with 574 additions and 85 deletions

View file

@ -112,6 +112,14 @@ namespace RacesOfValheim
Character attacker = hit.GetAttacker();
// ── Seeker Workers bite at half a Seeker's weight. Scaled on the blow and not on the
// weapon, because the blow comes from the Seeker's default weapon and that weapon's
// shared data is every Seeker's in the world.
if (attacker != null && SvermWorker.IsWorker(attacker))
{
hit.m_damage.Modify(SvermConfig.WorkerDamageFraction);
}
// ── Outgoing
if (attacker is Player attackingPlayer && SvermVisuals.IsSvermPlayer(attackingPlayer))
{