Difference between revisions of "ResistDisease"
Jump to navigation
Jump to search
imported>Migck |
imported>Migck |
||
Line 1: | Line 1: | ||
This actor value makes players resistant to diseases. | 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. | 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. |
Revision as of 09:49, 29 June 2011
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
- 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.