Difference between revisions of "FMagicCasterSkillCostMult"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Flyfightflea
(Setting names missing "Magic" after the 'f')
imported>Flyfightflea
m (Clarify duration)
Line 9: Line 9:


*Duration factor = BaseCost * Duration modifier * (Magnitude ^ [[fMagicCostScale]])
*Duration factor = BaseCost * Duration modifier * (Magnitude ^ [[fMagicCostScale]])
**Duration modifier = Duration *[[fMagicDurMagBaseCostMult]], or 1 if Duration = 0
**Duration modifier = Duration *[[fMagicDurMagBaseCostMult]], or .1 if Duration = 0


*Range factor = [[fMagicRangeTargetCostMult]], or 1 if spell is not ranged
*Range factor = [[fMagicRangeTargetCostMult]], or 1 if spell is not ranged

Revision as of 15:41, 27 January 2007

Description

Used in determining the total cost of Magicka required to cast a spell. If the CS indicates a cost of X for a spell, you can use the following formula to determine what the cost will be ingame based on the appropriate skill:


Final effect cost = Area factor * Duration factor * Range factor * Skill factor

Where BaseCost is the BaseCost to cast the spell as indicated by the spell (not the spell effects) in the CS.

Default value

1.2

More Information

For a spell with multiple effects, this is calculated for each effect and added up to arrive at the total cost, unless the spell has the cost overridden in the editor, in which case the overridden cost is multiplied for the modifier and the skill is that for the dominant effect of the spell.

Also, luck will modify the skill somewhat before it's plugged into the formula (the game should be set up so that luck=50 will have no effect).