Difference between revisions of "GetSpellMagickaCost"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>DragoonWraith
(MI)
Line 18: Line 18:
[[Category: Magic Functions]]
[[Category: Magic Functions]]
[[Category: Magic Functions (OBSE)]]
[[Category: Magic Functions (OBSE)]]
[[Category: Magic Functions - Magic Item (OBSE)]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions]]
[[Category: Record Variable Functions (OBSE)]]
[[Category: Record Variable Functions (OBSE)]]

Revision as of 20:18, 1 March 2008

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