Difference between revisions of "GetSpellMagickaCost"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>WereWolf
imported>DragoonWraith
(not a record variable function)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
[[Category: Magic Functions]]
[[Category: Magic Functions]]
[[Category: Magic Functions (OBSE)]]
[[Category: Magic Functions (OBSE)]]
[[Category: Record Variable Functions]]
[[Category: Magic Functions - Magic Item (OBSE)]]
[[Category: Record Variable Functions (OBSE)]]

Latest revision as of 20:56, 21 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[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]