- Found in:
- Andrealphus PE
Description
Wiki Description
Returns the effective effects cost of the given scroll for the given caster.
Documentation String
- Return value: the total effective cost of all the scroll's effects.
- akSource: the user of the scroll.
- akScroll: the scroll.
Caveats
CK Wiki - Notes
- 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.
Parameters
ActorakSource
CK Wiki Description
The Actor to calculate the cost for.
ScrollakScroll
CK Wiki Description
The Scroll to calculate the cost for.
Examples
Debug.Trace(Scroll of Firebolt + " costs " + ANDR_PapyrusFunctions.GetEffectiveIngredientCost(Game.GetPlayer(), FireboltScroll) + " for the player.")Auto-Generated Example
Actor myActor__akSource
Scroll myScroll__akScroll
float returnedValue = ANDR_PapyrusFunctions.GetEffectiveScrollCost(myActor__akSource, myScroll__akScroll)