Difference between revisions of "FMagicCasterSkillCostMult"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Bnesmith
imported>DragoonWraith
(fixing width, rewording)
 
(10 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| border="1" cellpadding="5" cellspacing="0"  
{| border="1" cellpadding="5" cellspacing="0"  
|-
|-
!style="background:#ffdead;" width="100" | Description  
!style="background:#ffdead;" width="100" | Description  
|style="background:#ffeded;" |  
|style="background:#ffeded;" width="800" |  


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:<br><br>
Used in determining the [[:Category: Spell Cost|Magicka required to cast a spell]].


*Area factor = [[fAreaBaseCostMult]] * Area, minimum value of 1.0
*Duration factor = BaseCost * Duration modifier * (Magnitude ^ [[fMagicCostScale]])
**Duration modifier = Duration *[[fDurMagBaseCostMult]], or 1 if Duration = 0
*Range factor = [[fMagicRangeTargetCostMult]], or 1 if spell is not ranged
*Skill factor = [[fCasterSkillCostBase]] + (1 - Skill / 100) * [[fCasterSkillCostMult]]
'''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.
|-
|-
!style="background:#ffdead;" |Default value
!style="background:#ffdead;" |Default value
|style="background:#ffeded;" |
|style="background:#ffeded;" |


1.2
1.2000
|}
|}


==More Information==
<div id="catlinks"><p class='catlinks'>[[Special: Categories|Category]]: [[:Category: Settings|Settings]] | [[:Category: Spell Cost|Spell Cost]]</p></div>
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).
 
[[Category:Settings]]

Latest revision as of 16:20, 5 January 2008

Description

Used in determining the Magicka required to cast a spell.

Default value

1.2000