fix(skeleton): rise on resurrect, truce for bound troops, pile and sentry on floors

The Yagluth auto-resurrect now plays the crypt rise. The player rig has no
rise state, so the body is hidden and the skeleton model is worn for the
length of the clip with "wakeup" set; the start time goes on the ZDO so
other clients play it too. The player takes no damage and does not move
until it is out.

Wild faction mobs left the player alone but attacked the player's thralls,
which are tamed and so in the Players faction. IsEnemy now gives a thrall
the same truce through its m_commandingRace, broken by a grudge against
any player. Covers every race with thralls.

The Bound Bone Pile and the Bound Sentry seed drop m_groundPiece and
m_groundOnly, so both can be built on floors and foundations.
This commit is contained in:
kanym 2026-10-07 04:11:08 +02:00
commit 1848725f2a
6 changed files with 324 additions and 4 deletions

View file

@ -65,6 +65,7 @@ namespace RacesOfValheim
if (race == "Skeleton")
{
UpdateSkeletonVisuals();
SkeletonRise.CheckRemote(m_player);
}
else if (race == "Fenrir")
{