About the game
News
Sign in
Register
Top Players
Forum
12:00
4405
 online
Authorization required
You are not logged in
   Forums-->General game forum-->

Dominion of Undeath Formula



AuthorDominion of Undeath Formula
tl;dr:

The Dominion of Undeath (DoU) talent bumps up the raise dead spell effectiveness from
        180 + 23*Spell power (expert nature efficiency)
to
        220 + 27*Spell power (DoU efficiency)




Maths:
There are only a few details of note:

    1. Any roundings and bonus from unholy nec fsl are done on the base term (e.g. the 180 and 220) and the multiplier (e.g. the 23 and 27) separately.
        I.e. instead of round( (base + mult*sp) * fsl bonus ), it's round( base * fsl bonus ) + round( mult*sp * fsl bonus )
        This is probably due to how the game keeps track of the base and multiplier terms separately (as opposed to just keep the final value) when encoding the list of spells and their data in a combat.

    2. DoU already have a known approximation of +20% to raise dead efficiency, but it is inaccurate for large spell powers.
        The formula explains this approximation since 180 * 1.2 = 216 ~ 220 and 23 * 1.2 = 27.6 ~ 27.
        The discrepency in the multiplier term is what makes this approximation inaccurate for large spell powers.

    3. Since there's a possibility that they've made some balancing changes, it is also important to keep track of the combat date.
        Fortunately, the formula still checks out when looking at combats dated back in 2013.




Data Collection:
There are two main difficulties:

    1. We need to know the necro fsl when looking at old combats.
        Most forum discussions in the past didn't include the fsl and we can't rely on the poster's fsl staying the same since the time of posting.
        We can collect the data ourselves, but the range of fsl will be very limited.

    2. We need to know the final raise dead effectiveness in order to reverse engineer this in the first place.
        This is technically possible since we can track the stack's HP before and after the raise (excluding cases where the HP goes beyond the original maximum stack size), but it is very tedious in practice.

A solution to both of these problems is to look directly in the combat encodings:
https://www.lordswm.com/forum_messages.php?tid=2728653&page=1#50345397
    #28 is a way to check the fsl
    #30 is a way to read exactly the final raise dead efficiency, as well as the base and multiplier terms that were stored separately
The rest is just crunching numbers.

Here's the data I've used:
https://docs.google.com/spreadsheets/d/1on1UwnbeeE67NIAWwf_1K1ak1Dx18qkPzCbtWumXoy0/edit?usp=sharing
For a quick check, column Q is the number extracted from the combat encoding, column X is the formula. These two columns should match.
Good to know thanks. This makes it definately worthy since the increase is stronger than any other increase from nature talent for a similar talent cost.
Good to know thanks, since I play unholy necro 100% of the time 😂
Just a minor typo (was correct in the spreadsheet):
The rounding method is meant to be
round(base * fsl bonus) + (round(mult * fsl bonus) * sp)
(round base and multipliers first, then apply the sp)

Most spells effectiveness are in the form base + (mult*sp) and the game stores the rounded base and multiplier separately since it is technically possible for sp to change mid-battle (e.g. charmer elf and caster stack size).
So this rounding method is for spells in general, not just for raise dead (although in other cases, they are almost always integers so we don't need to round anything anyway).
I feel I should have known this already.
Thanks a lot.
This topic is long since last update and considered obsolete for further discussions.
Back to topics list
2008-2024, online games LordsWM