GetEffectiveMagickaCost - Spell

From Creation Kit
Jump to: navigation, search

SKSE Member of: Spell Script

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

Syntax

int Function GetEffectiveMagickaCost(Actor caster) native

Parameters

  • Caster: The actor to calculate the cost for.

Return Value

The magicka cost of the spell.

Examples

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

See Also