GetSpellMagickaCost

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(magickaCost:long) reference.GetSpellMagickaCost spell:ref

Returns the magicka casting cost according to the Oblivion formula.

Notes[edit | edit source]

  • If called on a reference it will use the reference's magic skill values to determine the actual magicka cost of the spell.
  • Without a reference it will return the base cost of the spell as reported in the CS.

See Also[edit | edit source]