Update execute logic to also automatically devour

This commit is contained in:
Ferdinando 2026-07-31 08:56:59 +02:00
commit e31ed458bd
2 changed files with 2 additions and 1 deletions

View file

@ -1006,6 +1006,7 @@ namespace RacesOfValheim
if (currentHp > 0 && currentHp <= maxHp * 0.20f && !c.IsBoss())
{
totalDamage = currentHp * 2f; // Lethal damage for execute
TryConsumeMob(c, maxHp); // Automatically devour when executed
}
HitData hd = new HitData();