Background for Skyrim SE
Member of the Spell script
intfunctionGetEffectiveMagickaCost(Actorcaster)Native

Description

Wiki Description

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

Documentation Comment

return the effective magicka cost of the spell for given caster


Caveats


Parameters

Actorcaster

CK Wiki Description

The actor to calculate the cost for.


Examples

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

Auto-Generated Example

Actor myActor__caster

int returnedValue = mySpell__toCallFunctionOn.GetEffectiveMagickaCost(myActor__caster)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.