GetEffectiveMagickaCost - Spell

SKSE Member of: Spell Script

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

SyntaxEdit

int Function GetEffectiveMagickaCost(Actor caster) native

ParametersEdit

  • Caster: The actor to calculate the cost for.

Return ValueEdit

The magicka cost of the spell.

ExamplesEdit

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

See AlsoEdit