revert(skeleton): drop the Summon on Kill aura, keep the icon
Neither the Draugr's evil_smoke nor the torch smoke showed in game once tinted dark. The Raise the Dead icon stays, with its per-player switch.
This commit is contained in:
parent
3591b7e375
commit
e41f7b610e
4 changed files with 1 additions and 134 deletions
|
|
@ -41,7 +41,6 @@ namespace RacesOfValheim
|
|||
private GameObject m_fireAuraVFX = null;
|
||||
private GameObject m_draughAuraVFX = null;
|
||||
private readonly SkeletonVisuals.HeadFlame m_skeletonHeadFlame = new SkeletonVisuals.HeadFlame();
|
||||
private readonly SkeletonVisuals.RaisingAura m_skeletonRaisingAura = new SkeletonVisuals.RaisingAura();
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
|
|
@ -170,7 +169,6 @@ namespace RacesOfValheim
|
|||
// The burning skull, grown locally for whoever we are looking at. The tier is on the
|
||||
// ZDO, so this client can work out for itself whether they should be alight.
|
||||
m_skeletonHeadFlame.Apply(m_player, SkeletonConfig.HeadFireVFXEnabled.Value && SkeletonConfig.BodyModelEnabled.Value && SkeletonVisuals.GetModel(m_player, state) == SkeletonProgression.FireModel);
|
||||
m_skeletonRaisingAura.Apply(m_player, SkeletonConfig.RaiseDeadAura.Value && nview.GetZDO().GetBool(SkeletonVisuals.RaisingZdoKey, false));
|
||||
|
||||
// Apply Scale
|
||||
Vector3 targetScale = rules.ScaleMultiplier;
|
||||
|
|
@ -275,7 +273,6 @@ namespace RacesOfValheim
|
|||
SkeletonVisuals.EnsureFireAura(m_player, false, ref m_fireAuraVFX);
|
||||
DraughVisuals.EnsureAura(m_player, false, ref m_draughAuraVFX);
|
||||
m_skeletonHeadFlame.Apply(m_player, false);
|
||||
m_skeletonRaisingAura.Apply(m_player, false);
|
||||
// Takes the crown off a Trenta who has died or changed race; a no-op for everyone else.
|
||||
TrentaVisuals.ApplyCrown(m_player);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue