Jump to content

Question: Damage Resistance Magic Effects Differences?


pootthedestroyer

Recommended Posts

I've been trying to put together a perk that applies a stacking flat Damage Resist penalty to a target per-hit. While scanning the vanilla files in FO4Edit, I stumbled across a weird issue:

 

Two MGEF entries:

 

AbFortifyResistDamage "Fortify Damage Resist" [MGEF:0004A0AC]

 

and

 

abReduceDamageResistAddiction "Addiction: Damage Damage Resist" [MGEF:0017E6C8]

 

are virtually identical. The exceptions are that the latter has the "AddictionEffect" Keyword (shouldn't be relevant) and the "Detrimental" Magic Effect Data flag (possibly relevant?)

 

And yet, the first one is used in the Moving Target perk line to apply what the perk tooltip says is a static Damage Resistance buff to the player while sprinting.

 

The latter is used in Psycho addictions to apply a percentage Damage Resistance penalty to the player while addicted, again, according to the documentation available.

 

I cannot find any distinction in the MGEF files that seems to explain that discrepancy. Do more-experienced modders believe that this is a bug and/or tooltip failure, and that both of these MGEFs are actually behaving the same way? Is the "Detrimental" flag really able to change a behavior from a flat number to a percentage without any sort of indication that it's doing so?

 

Please note that there does exist a "Mod Target Damage Resistance" Entry Point Function in the perk template, and there, you can choose a function (add, set, multiply.) Unfortunately that same functionality is not expressed in the MGEF template.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...