ResistDisease

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

This actor value makes players resistant to diseases. With default settings, at 50 resistance diseases should occur 50% less. When at 100 the player can no longer contract diseases. Negative values increase the likelihood of catching a disease when being hit by diseased NPCs and creatures.

Refer to fMagicDiseaseTransferBase and fMagicDiseaseTransferMult for the formulas to determine the chance of catching a disease.

The default Resist Disease value for actors is 0, and is altered mostly through the RSDI Resist Disease and WKDI Weakness to Disease magic effects.

Notes[edit | edit source]

  • In normal circumstances, only players can contract diseases, so the utility of this actor value for other NPCs is much more limited.
  • Diseases which have the AutoCalc flag on ignore this value, and can be contracted by the player regardless of the actor value. Therefore, modders should ensure that any new diseases they add don't have auto calculated cost and set them to cost 0.
  • Similarly, if the player has any amount of the WKDI Weakness to Disease effect active, diseases can still be contracted even if the total value for ResistDisease amounts to more than 100.