GetSpellMagickaCost

Revision as of 20:56, 21 March 2008 by imported>DragoonWraith (not a record variable function)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

A command for Oblivion Script Extender

Syntax:

(magickaCost:long) reference.GetSpellMagickaCost spell:ref

Returns the magicka casting cost according to the Oblivion formula.

NotesEdit

  • 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 AlsoEdit