Difference between revisions of "FMagicDiseaseTransferBase"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Scruggs
(create page, formula)
 
imported>Scruggs
(formatting)
Line 7: Line 7:


The formula for calculating the chance that the actor will contract a disease is:
The formula for calculating the chance that the actor will contract a disease is:
'''(100 - resistDisease) * [[fMagicDiseaseTransferMult]] + fMagicDiseaseTransferBase'''
'''(100 - resistDisease) * [[fMagicDiseaseTransferMult]] + fMagicDiseaseTransferBase'''
Where resisteDisease is the actor's Resist Disease attribute capped at 100.
Where resisteDisease is the actor's Resist Disease attribute capped at 100.



Revision as of 21:54, 10 July 2009

Description

The base chance that an actor will contract a disease when struck by an infected attacker. Increasing this value allows actors with 100% disease resistance to contract diseases; decreasing it gives 100% protection against disease to actors with less than 100 disease resistance.

The formula for calculating the chance that the actor will contract a disease is:

(100 - resistDisease) * fMagicDiseaseTransferMult + fMagicDiseaseTransferBase

Where resisteDisease is the actor's Resist Disease attribute capped at 100.

Default value

0.000