Table of Contents

Class LeveledSpellScript

Namespace
SkyrimForge.Papyrus
Assembly
SkyrimForge.Game.dll

Functions and comments from LeveledSpell.psc.

public static class LeveledSpellScript
Inheritance
LeveledSpellScript
Inherited Members

Properties

Dispatcher

The dispatcher that binds this script to a form and calls the functions and properties that have no generated member.

public static PapyrusScriptDispatcher Dispatcher { get; }

Property Value

PapyrusScriptDispatcher

Methods

AddForm(PapyrusScript<LeveledSpell>, IForm, int)

Adds the given count of the given form to the under the given level in this leveled list

public static Task AddForm(this PapyrusScript<LeveledSpell> self, IForm apForm, int aiLevel)

Parameters

self PapyrusScript<LeveledSpell>
apForm IForm
aiLevel int

Returns

Task

GetChanceNone(PapyrusScript<LeveledSpell>)

public static Task<int> GetChanceNone(this PapyrusScript<LeveledSpell> self)

Parameters

self PapyrusScript<LeveledSpell>

Returns

Task<int>

GetNthForm(PapyrusScript<LeveledSpell>, int)

public static Task<Form?> GetNthForm(this PapyrusScript<LeveledSpell> self, int n)

Parameters

self PapyrusScript<LeveledSpell>
n int

Returns

Task<Form?>

GetNthLevel(PapyrusScript<LeveledSpell>, int)

public static Task<int> GetNthLevel(this PapyrusScript<LeveledSpell> self, int n)

Parameters

self PapyrusScript<LeveledSpell>
n int

Returns

Task<int>

GetNumForms(PapyrusScript<LeveledSpell>)

public static Task<int> GetNumForms(this PapyrusScript<LeveledSpell> self)

Parameters

self PapyrusScript<LeveledSpell>

Returns

Task<int>

Revert(PapyrusScript<LeveledSpell>)

Removes all script added forms from this leveled list

public static Task Revert(this PapyrusScript<LeveledSpell> self)

Parameters

self PapyrusScript<LeveledSpell>

Returns

Task

SetChanceNone(PapyrusScript<LeveledSpell>, int)

public static Task SetChanceNone(this PapyrusScript<LeveledSpell> self, int chance)

Parameters

self PapyrusScript<LeveledSpell>
chance int

Returns

Task

SetNthLevel(PapyrusScript<LeveledSpell>, int, int)

public static Task SetNthLevel(this PapyrusScript<LeveledSpell> self, int n, int level)

Parameters

self PapyrusScript<LeveledSpell>
n int
level int

Returns

Task