Difference between revisions of "Category:Spell Cost"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Skyranger-1
(corrected the formula, added some extra notes)
imported>DragoonWraith
(about apparel enchantments)
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__ __NOEDITSECTION__
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]]:
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]]:


Line 33: Line 34:
|}
|}


The complete formula is the product of these factors, as below:
Each individual effect in a spell contributes to the final cost of the spell independently.  The contributions from a single effect follow this formula:
Effect Factor = Base Cost * fMagicDurMagBaseCostMult
  Effect Factor = Base Cost * fMagicDurMagBaseCostMult
Magnitude Factor = Magnitude ^ fMagicCostScale
  Magnitude Factor = Magnitude ^ fMagicCostScale (minimum of 1)
Duration Factor = Duration
  Duration Factor = Duration (minimum of 1)
Area Factor = Area * fMagicAreaBaseCostMult (minimum of 1.0)
  Area Factor = Area * fMagicAreaBaseCostMult (minimum of 1)
Range Factor = if Target, fMagicRangeTargetCostMult; else, 1
  Range Factor = if Target, fMagicRangeTargetCostMult; else, 1
Skill Factor = fMagicCasterSkillCostBase + fMagicCasterSkillCostMult * (1 - Effective Skill/100)
  Skill Factor =  
    fMagicCasterSkillCostBase + fMagicCasterSkillCostMult * (1 - Effective Skill/100)
Effect Base Cost = Effect Factor * Magnitude Factor * Duration Factor * Area Factor * Range Factor
Effect Casting Cost = Effect Base Cost * Skill Factor
Spell Base Cost = Sum(Effect Base Costs)
Spell Casting Cost = Sum(Effect Casting Costs)


== Note ==
  Unscaled Effect Cost = Effect Factor * Magnitude Factor *
* If the Effect Casting Cost is less than 1, then it will be treated as 1 instead when calculating Spell Casting Cost. 
      Duration Factor * Area Factor * Range Factor (minimum 1)
* Likewise, if the Effect Base Cost is less than 1, then it will be treated as 1 instead when calculating Spell Base Cost.  This happens in-game only, and NOT in the Construction set, leading to the Construction Set sometimes displaying incorrect mastery levels for spells.   
  Scaled Effect Cost = Effect Factor * Magnitude Factor *
* If the spell has "auto-calculate" disabled, then its manually set base cost overrides the normal base cost.  Non-auto-calculated spells are treated as having only one spell effect, with an Effect Base Cost equal to the Spell Base Cost and a magic school that is manually specified in the Construction Set. 
      Duration Factor * Area Factor * Range Factor * Skill Factor (minimum 1)
* Spell Base Cost here is the cost in the CS, while Spell Casting Cost is the actual cost the spell requiresThe Mastery level is determined by comparing the Spell Base Cost to the relevant
 
* 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".  However, if auto-calculate is disabled then spells school is the explicitly specified spell school. 
Unscaled Effect Cost and Scaled Effect Cost are both rounded downAll other quantities above are not rounded.   
* 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.  (the exact multiplier is determined by a Game Setting).   
The overall cost of the spell ends up being:
 
  Unscaled Spell Cost: sum of all the Unscaled Effect Costs
  Scaled Spell Cost: sum of all the Scaled Effect Costs
 
The Scaled Spell Cost is the amount of magicka it takes to cast the spell.  It is the quantity listed next to the spell in-game in your magic menu.   


The Unscaled Spell Cost is the value listed in the Construction Set as "spell cost".  It determines what mastery level the spell is, and thus the minimum skill level required to cast the spell, but has no other effect.  The Mastery level is determined by comparing the Unscaled Spell Cost to the relevant [[:Category:Settings|game settings]]:


The above applies to auto-calculated spells only.  Spells made in the spellmaker are considered auto-calculated, as are those flagged as auto-calculated in the Construction Set.  If the spell is not auto-calculated, a simpler formula is used:
  Unscaled Spell Cost = the value manually specified in the Construction Set
  Scaled Spell Cost = Unscaled Spell Cost * Skill Factor (rounded down) (no minimum)


<div><span style="font-size: 142%; font-weight: bold;">Articles in category "Spell Cost"</span></div>
== Note ==
----<div>
* An auto-calculated spell's school is determined by the single most expensive unscaled effect, not by which school has the most combined cost, so multiple effects from a single school will not help that school "win". 
There are 6 articles in this category.
* The formulas above for auto-calculated scaled spell cost and unscaled spell cost are those used in the game.  However, the Construction set itself calculates values by a slightly different formula, causing minor discrepancies between the costs and mastery levels of spells in the game and in the CS.  The only difference is, the CS does not raise Unscaled Effect Cost or Scaled Effect Cost to a minimum of 1.  Thus, in the CS an auto-calculated spell may be shown as having a (scaled or unscaled) cost less than the number of effects, but in the game that is impossible. 
{| border="0" cellpadding="0" cellspacing="0"
* Weapon Enchantment cost (in Charge) uses the Unscaled formula. Apparel Enchantments add another factor to the Unscaled formula: the constant effect enchantment factor defined for the Magic Effect in question.
|width="5"|
* The cost in Septims to buy any spell is equal to three times its Magicka cost.  (the exact multiplier is determined by a Game Setting, probably [[FSpellmakingGoldMult|fSpellmakingGoldMult]], but this is currently untested).
|width="285"|<span style="font-size: 132%; font-weight: bold;">F</span>
 
|width="5"|
<h2>Articles in category "Spell Cost"</h2>
|width="200"|<span style="font-size: 132%; font-weight: bold;">F cont.</span>
<p>There are 6 articles to this category</p>
|width="5"|
{| width=100%
|width="200"|<span style="font-size: 132%; font-weight: bold;">F cont.</span>
| valign="top" width="33%" | <h3>A</h3>
|-
* [[FMagicAreaBaseCostMult|fMagicAreaBaseCostMult]]
|
<h3>C</h3>
|<li type="square">[[FMagicAreaBaseCostMult]]
* [[FMagicCasterSkillCostBase|fMagicCasterSkillCostBase]]
|
| valign="top" widht="33%" | <h3>C cont.</h3>
|<li type="square">[[FMagicCasterSkillCostMult]]
* [[FMagicCasterSkillCostMult|fMagicCasterSkillCostMult]]
|
* [[FMagicCostScale|fMagicCostScale]]
|<li type="square">[[FMagicDurMagBaseCostMult]]
| valign="top" width="33%" | <h3>D</h3>
|-
* [[FMagicDurMagBaseCostMult|fMagicDurMagBaseCostMult]]
|
<h3>R</h3>
|<li type="square">[[FMagicCasterSkillCostBase]]
* [[FMagicRangeTargetCostMult|fMagicRangeTargetCostMult]]
|
|<li type="square">[[FMagicCostScale]]
|
|<li type="square">[[FMagicRangeTargetCostMult]]
|-
|}
|}
[[Category: Settings]]
[[Category: Settings]]
[[Category: Settings By Concept]]
[[Category: Settings By Concept]]
[[Category: Magic]]
[[Category: Magic]]

Latest revision as of 12:46, 16 September 2011

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 game settings:

GMST Effect Default Value
fMagicDurMagBaseCostMult The spell's Effect Base Cost is multiplied by this value. 0.1
fMagicCostScale Exponential constant which modifies the Magnitude. 1.28
fMagicAreaBaseCostMult The spell's Area is multiplied by this value. 0.15
fMagicRangeTargetCostMult If the spell is on Target, the total cost is multiplied by this. 1.5
fMagicCasterSkillCostBase The minimum value of skill factor. 0.2
fMagicCasterSkillCostMult The caster's effective skill (as a percentage) is multiplied by this value. 1.2

Each individual effect in a spell contributes to the final cost of the spell independently. The contributions from a single effect follow this formula:

 Effect Factor = Base Cost * fMagicDurMagBaseCostMult
 Magnitude Factor = Magnitude ^ fMagicCostScale (minimum of 1)
 Duration Factor = Duration (minimum of 1)
 Area Factor = Area * fMagicAreaBaseCostMult (minimum of 1)
 Range Factor = if Target, fMagicRangeTargetCostMult; else, 1
 Skill Factor = 
   fMagicCasterSkillCostBase + fMagicCasterSkillCostMult * (1 - Effective Skill/100)
 Unscaled Effect Cost = Effect Factor * Magnitude Factor * 
     Duration Factor * Area Factor * Range Factor (minimum 1)
 Scaled Effect Cost = Effect Factor * Magnitude Factor * 
     Duration Factor * Area Factor * Range Factor * Skill Factor (minimum 1)

Unscaled Effect Cost and Scaled Effect Cost are both rounded down. All other quantities above are not rounded.

The overall cost of the spell ends up being:

 Unscaled Spell Cost: sum of all the Unscaled Effect Costs
 Scaled Spell Cost: sum of all the Scaled Effect Costs

The Scaled Spell Cost is the amount of magicka it takes to cast the spell. It is the quantity listed next to the spell in-game in your magic menu.

The Unscaled Spell Cost is the value listed in the Construction Set as "spell cost". It determines what mastery level the spell is, and thus the minimum skill level required to cast the spell, but has no other effect. The Mastery level is determined by comparing the Unscaled Spell Cost to the relevant game settings:

The above applies to auto-calculated spells only. Spells made in the spellmaker are considered auto-calculated, as are those flagged as auto-calculated in the Construction Set. If the spell is not auto-calculated, a simpler formula is used:

 Unscaled Spell Cost = the value manually specified in the Construction Set
 Scaled Spell Cost = Unscaled Spell Cost * Skill Factor (rounded down) (no minimum)

Note

  • An auto-calculated spell's school is determined by the single most expensive unscaled effect, not by which school has the most combined cost, so multiple effects from a single school will not help that school "win".
  • The formulas above for auto-calculated scaled spell cost and unscaled spell cost are those used in the game. However, the Construction set itself calculates values by a slightly different formula, causing minor discrepancies between the costs and mastery levels of spells in the game and in the CS. The only difference is, the CS does not raise Unscaled Effect Cost or Scaled Effect Cost to a minimum of 1. Thus, in the CS an auto-calculated spell may be shown as having a (scaled or unscaled) cost less than the number of effects, but in the game that is impossible.
  • Weapon Enchantment cost (in Charge) uses the Unscaled formula. Apparel Enchantments add another factor to the Unscaled formula: the constant effect enchantment factor defined for the Magic Effect in question.
  • The cost in Septims to buy any spell is equal to three times its Magicka cost. (the exact multiplier is determined by a Game Setting, probably fSpellmakingGoldMult, but this is currently untested).

Articles in category "Spell Cost"

There are 6 articles to this category

A

C

C cont.

D

R

This category currently contains no pages or media.