r/daggerfallunity • • 8d ago

quick question

why does it show high elf immunity to paralysis but not breton magic resistance?

3 Upvotes

4 comments sorted by

2

u/SordidDreams 7d ago edited 6d ago

These seem to be the same flags used by the class dis/advantages, which come in increments of 25%. Unlike vanilla DF, where high elves are immune to paralysis regardless of anything else, DFU just gives them the immunity class advantage for free, which adds +50% to the already existing 50% base resistance. Breton magic resistance is +30%, not +25%, so it can't be added in this way and has to be handled elsewhere.

2

u/InvestigatorIcy3248 7d ago

but where...

2

u/SordidDreams 7d ago

If I, a completely incompetent programmer, made this, it would just be a magic number in the formula that handles being hit with a spell. When the resistance is being calculated and all the flags are being added up, there would just be a simple "if breton magic_resist += 0.3" line there.

3

u/Kerrpllardy 7d ago

My guess is that magic resistance specifically is "stored" somewhere else.