Difference between revisions of "Spell Cost"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(→‎Note: about <1)
imported>DragoonWraith
(redirecting)
 
Line 1: Line 1:
A [[spell]]'s Magicka cost is the sum of the costs of each of the effects in the spell. The cost of each effect is determined by several parameters: which effect (specifically the Effect's Base Cost), and its Magnitude, Duration, Area, and Range (specifically, whether or not the spell is on Target). The actual cost to cast the spell is also affected the caster's skill in the spell's school and Luck stat. The effect of each of these depends on several [[:Category:Settings|game settings]]:
#REDIRECT [[:Category:Spell Cost]]
 
{|border="1" cellpadding="5" cellspacing="0"
|-
! style="background:#efefef;" colspan=1  | GMST
! style="background:#efefef;" width="350" | Effect
! style="background:#efefef;" | Default Value
|-
|[[FMagicDurMagBaseCostMult|fMagicDurMagBaseCostMult]]
|The spell's Effect Base Cost is multiplied by this value.
|0.1
|-
|[[FMagicCostScale|fMagicCostScale]]
|Exponential constant which modifies the Magnitude.
|1.28
|-
|[[FMagicAreaBaseCostMult|fMagicAreaBaseCostMult]]
|The spell's Area is multiplied by this value.
|0.15
|-
|[[FMagicRangeTargetCostMult|fMagicRangeTargetCostMult]]
|If the spell is on Target, the total cost is multiplied by this.
|1.5
|-
|[[FMagicCasterSkillCostBase|fMagicCasterSkillCostBase]]
|The minimum value of skill factor.
|0.2
|-
|[[FMagicCasterSkillCostMult|fMagicCasterSkillCostMult]]
|The caster's [[Effective Skill Level|effective skill]] (as a percentage) is multiplied by this value.
|1.2
|-
|}
 
The complete formula is the product of these factors, as below:
Effect Factor = Base Cost * fMagicDurMagBaseCostMult
Magnitude Factor = Magnitude ^ fMagicCostScale
Duration Factor = Duration
Area Factor = Area * fMagicAreaBaseCostMult
Range Factor = if Target, fMagicRangeTargetCostMult; else, 1
Effect Cost = Effect Factor * Magnitude Factor * Duration Factor * Area Factor * Range Factor
Spell Cost = Sum(Effect Costs)
Skill Factor = fMagicCasterSkillCostBase + fMagicCasterSkillCostMult * (1 - Effective Skill/100)
Cost to Cast = Spell Cost * Skill Factor
 
== Note ==
* If any factor is less than 1, 1 is used instead.
* Spell Cost here is the cost in the CS, while Cost to Cast is the actual cost the spell requires (assuming the spell is a normal Spell and not a Power).
* The caster's skills are not applied to each effect's cost, but to the entire spell's cost, using the effective skill in the ''spell'''s school. Therefore, spells of multiple schools will not be affected by the skills of any school but the one listed as the actual school of the spell.
**A spell's school is determined by the most expensive single effect, not by which school has the most combined cost, so multiple effects from a single school will not help that school "win".
* Enchantment cost (in Charge) uses the exact same formula, but is not affected by Luck or any skill.
* The cost in Septims to buy any spell is equal to three times its Magicka cost.
 
[[Category: Magic]]

Latest revision as of 17:03, 5 January 2008