GetEffectiveScrollCost - ANDR PapyrusFunctions
Jump to navigation
Jump to search
Member of: ANDR_PapyrusFunctions Script
Returns the effective effects cost of the given scroll for the given caster.
Syntax[edit | edit source]
Float Function GetEffectiveScrollCost(Actor akSource, Scroll akScroll) global nativeExamples[edit | edit source]
Debug.Trace("Scroll of Firebolt costs " + ANDR_PapyrusFunctions.GetEffectiveIngredientCost(Game.GetPlayer(), FireboltScroll) + " for the player.")Parameters[edit | edit source]
Return Value[edit | edit source]
The spell cost of the scroll (as a float).
Notes[edit | edit source]
- The returned cost adds up all the cost of each seperate effect, unless the "Auto-Calculate" flag is unchecked on the scroll.
- This cost is often used for the gold value of the scroll.