Update execute logic to also automatically devour
This commit is contained in:
parent
c580871a2d
commit
e31ed458bd
2 changed files with 2 additions and 1 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue