Class EnchantmentScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from Enchantment.psc.
public static class EnchantmentScript
- Inheritance
-
EnchantmentScript
- 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
Methods
GetBaseEnchantment(PapyrusScript<Enchantment>)
returns the base enchantment of this enchantment
public static Task<Enchantment?> GetBaseEnchantment(this PapyrusScript<Enchantment> self)
Parameters
selfPapyrusScript<Enchantment>
Returns
GetCostliestEffectIndex(PapyrusScript<Enchantment>)
return the index of the costliest effect
public static Task<int> GetCostliestEffectIndex(this PapyrusScript<Enchantment> self)
Parameters
selfPapyrusScript<Enchantment>
Returns
GetKeywordRestrictions(PapyrusScript<Enchantment>)
Returns a Formlist of Keywords
public static Task<FormList?> GetKeywordRestrictions(this PapyrusScript<Enchantment> self)
Parameters
selfPapyrusScript<Enchantment>
Returns
GetNthEffectArea(PapyrusScript<Enchantment>, int)
return the area of the specified effect
public static Task<int> GetNthEffectArea(this PapyrusScript<Enchantment> self, int index)
Parameters
selfPapyrusScript<Enchantment>indexint
Returns
GetNthEffectDuration(PapyrusScript<Enchantment>, int)
return the duration of the specified effect
public static Task<int> GetNthEffectDuration(this PapyrusScript<Enchantment> self, int index)
Parameters
selfPapyrusScript<Enchantment>indexint
Returns
GetNthEffectMagicEffect(PapyrusScript<Enchantment>, int)
return the magic effect of the specified effect
public static Task<MagicEffect?> GetNthEffectMagicEffect(this PapyrusScript<Enchantment> self, int index)
Parameters
selfPapyrusScript<Enchantment>indexint
Returns
GetNthEffectMagnitude(PapyrusScript<Enchantment>, int)
return the magnitude of the specified effect
public static Task<float> GetNthEffectMagnitude(this PapyrusScript<Enchantment> self, int index)
Parameters
selfPapyrusScript<Enchantment>indexint
Returns
GetNumEffects(PapyrusScript<Enchantment>)
SKSE64 additions built 2024-01-17 20:01:40.731000 UTC return the number of the effects
public static Task<int> GetNumEffects(this PapyrusScript<Enchantment> self)
Parameters
selfPapyrusScript<Enchantment>
Returns
IsHostile(PapyrusScript<Enchantment>)
Is this enchantment classified as hostile?
public static Task<bool> IsHostile(this PapyrusScript<Enchantment> self)
Parameters
selfPapyrusScript<Enchantment>
Returns
SetKeywordRestrictions(PapyrusScript<Enchantment>, FormList)
Sets the FormList of keywords
public static Task SetKeywordRestrictions(this PapyrusScript<Enchantment> self, FormList newKeywordList)
Parameters
selfPapyrusScript<Enchantment>newKeywordListFormList
Returns
SetNthEffectArea(PapyrusScript<Enchantment>, int, int)
sets the area of the specified effect
public static Task SetNthEffectArea(this PapyrusScript<Enchantment> self, int index, int value)
Parameters
selfPapyrusScript<Enchantment>indexintvalueint
Returns
SetNthEffectDuration(PapyrusScript<Enchantment>, int, int)
sets the duration of the specified effect
public static Task SetNthEffectDuration(this PapyrusScript<Enchantment> self, int index, int value)
Parameters
selfPapyrusScript<Enchantment>indexintvalueint
Returns
SetNthEffectMagnitude(PapyrusScript<Enchantment>, int, float)
sets the magnitude of the specified effect
public static Task SetNthEffectMagnitude(this PapyrusScript<Enchantment> self, int index, float value)
Parameters
selfPapyrusScript<Enchantment>indexintvaluefloat