[dismiss]
This wiki is a copy of the original Skyrim CK wiki created and maintained by the UESP.net. See CreationKit:Copy Notice for more info.
GetEffectiveMagickaCost - Spell
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.")