Spell Cost

From the Oblivion ConstructionSet Wiki
Revision as of 01:43, 5 January 2008 by imported>DragoonWraith (finally figured out what this formula is and where the constants are, so I'm putting it here.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Casting a spell costs Magicka; the exact cost depends on the spell's cost and the player's skill. For custom player-made spells as well as Auto-Calculated spells made in the CS, the formula is

(BaseCost * fMagicDurMagBaseCostMult) * (Magnitude ^ fMagicCostScale) * (Duration) * (Area * fMagicAreaBaseCostMult)

Where "BaseCost" is defined in the Magic Effect settings in the CS, and Magnitude, Duration, and Area are the parameters of the spell. If any of the parenthetical pieces of the formula is less than 1, 1 is used instead.

The fMagicDurMagBaseCostMult, fMagicCostScale, and fMagicAreaBaseCostMult have default values of 0.1, 1.28, 0.15, respectively.