minor bugfix and pad support
This commit is contained in:
parent
ce671e7124
commit
6e87be3c77
21 changed files with 574 additions and 85 deletions
|
|
@ -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))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue