bugfix 07/10/26 + evil laugh

This commit is contained in:
Ferdinando 2026-10-07 17:31:29 +02:00
commit 0159f1e8c4
11 changed files with 417 additions and 8 deletions

View file

@ -402,9 +402,9 @@ namespace RacesOfValheim
{
if (BossProgressionManager.GetCurrentProgressionState() >= 3) // The Wickerman (Elder)
{
// Check if it's an arrow (either by skill or by checking if a bow/ammo was used)
if ((hitData != null && hitData.m_skill == Skills.SkillType.Bows) ||
(ammo != null && ammo.m_shared.m_skillType == Skills.SkillType.Bows))
// Check if it's an arrow or a bolt (either by skill or by checking if a bow/crossbow/ammo was used)
if ((hitData != null && (hitData.m_skill == Skills.SkillType.Bows || hitData.m_skill == Skills.SkillType.Crossbows)) ||
(ammo != null && (ammo.m_shared.m_skillType == Skills.SkillType.Bows || ammo.m_shared.m_skillType == Skills.SkillType.Crossbows)))
{
// If the arrow doesn't already have significant fire damage, add it
if (hitData != null && hitData.m_damage.m_fire < 22f)