Difference between revisions of "GetSpellMagickaCost"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
(New page: A command for Oblivion Script Extender '''Syntax:''' (magickaCost:long) reference.GetSpellMagickaCost spell:ref Returns the magicka casting cost a...)
 
imported>WereWolf
Line 12: Line 12:
==See Also==
==See Also==
*[[SetSpellMagickaCost]]
*[[SetSpellMagickaCost]]
*[[ModSpellMagickaCost]]


[[Category: Functions]]
[[Category: Functions]]

Revision as of 03:21, 15 September 2007

A command for Oblivion Script Extender

Syntax:

(magickaCost:long) reference.GetSpellMagickaCost spell:ref

Returns the magicka casting cost according to the Oblivion formula.

Notes

  • 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