GetEffectiveMagickaCost - Spell

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: Spell Script

Returns the effective magicka cost of the spell for the given caster.

Syntax[edit | edit source]

int Function GetEffectiveMagickaCost(Actor caster) native

Parameters[edit | edit source]

  • Caster: The actor to calculate the cost for.

Return Value[edit | edit source]

The magicka cost of the spell.

Examples[edit | edit source]

Debug.Trace(castspell + " cost " + castspell.GetEffectiveMagickaCost(caster) + "magicka.")

See Also[edit | edit source]