Difference between revisions of "Category:Spell Cost"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>DragoonWraith
(→‎Note: stupid case-sensitivity)
imported>DragoonWraith
(about apparel enchantments)
 
(15 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
  Area Factor = Area * fMagicAreaBaseCostMult (minimum of 1)
Range Factor = if Target, fMagicRangeTargetCostMult; else, 1
  Range Factor = if Target, fMagicRangeTargetCostMult; else, 1
  Skill Factor =
Effect Cost = Effect Factor * Magnitude Factor * Duration Factor * Area Factor * Range Factor
    fMagicCasterSkillCostBase + fMagicCasterSkillCostMult * (1 - Effective Skill/100)
   
 
Spell Cost = Sum(Effect Costs)
  Unscaled Effect Cost = Effect Factor * Magnitude Factor *
      Duration Factor * Area Factor * Range Factor (minimum 1)
  Skill Factor = fMagicCasterSkillCostBase + fMagicCasterSkillCostMult * (1 - Effective Skill/100)
  Scaled Effect Cost = Effect Factor * Magnitude Factor *  
  Cost to Cast = Spell Cost * Skill 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 [[: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)


== Note ==
== Note ==
* If any factor is less than 1, 1 is used instead.
* 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".
* 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 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. 
* 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.
* 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.
**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".
* 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).
* 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.


<h2>Articles in category "Spell Cost"</h2>
<p>There are 6 articles to this category</p>
{| width=100%
| valign="top" width="33%" | <h3>A</h3>
* [[FMagicAreaBaseCostMult|fMagicAreaBaseCostMult]]
<h3>C</h3>
* [[FMagicCasterSkillCostBase|fMagicCasterSkillCostBase]]
| valign="top" widht="33%" | <h3>C cont.</h3>
* [[FMagicCasterSkillCostMult|fMagicCasterSkillCostMult]]
* [[FMagicCostScale|fMagicCostScale]]
| valign="top" width="33%" | <h3>D</h3>
* [[FMagicDurMagBaseCostMult|fMagicDurMagBaseCostMult]]
<h3>R</h3>
* [[FMagicRangeTargetCostMult|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.