Class ActorValueInfoScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from ActorValueInfo.psc.
public static class ActorValueInfoScript
- Inheritance
-
ActorValueInfoScript
- 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
AddSkillExperience(PapyrusScript<ActorValueInfo>, float)
Adds experience to this skill (Same as console AdvanceSkill, triggers skill-up)
public static Task AddSkillExperience(this PapyrusScript<ActorValueInfo> self, float exp)
Parameters
selfPapyrusScript<ActorValueInfo>expfloat
Returns
GetAVIByID(int)
public static Task<ActorValueInfo?> GetAVIByID(int id)
Parameters
idint
Returns
GetAVIByName(string)
public static Task<ActorValueInfo?> GetAVIByName(string avName)
Parameters
avNamestring
Returns
GetActorValueInfoByID(int)
public static Task<ActorValueInfo?> GetActorValueInfoByID(int id)
Parameters
idint
Returns
GetActorValueInfoByName(string)
public static Task<ActorValueInfo?> GetActorValueInfoByName(string avName)
Parameters
avNamestring
Returns
GetBaseValue(PapyrusScript<ActorValueInfo>, IActor)
Same as Actor.GetBaseActorValue (convenience function)
public static Task<float> GetBaseValue(this PapyrusScript<ActorValueInfo> self, IActor akActor)
Parameters
selfPapyrusScript<ActorValueInfo>akActorIActor
Returns
GetCurrentValue(PapyrusScript<ActorValueInfo>, IActor)
Same as Actor.GetActorValue (convenience function)
public static Task<float> GetCurrentValue(this PapyrusScript<ActorValueInfo> self, IActor akActor)
Parameters
selfPapyrusScript<ActorValueInfo>akActorIActor
Returns
GetExperienceForLevel(PapyrusScript<ActorValueInfo>, int)
Returns the experience required for skill-up (ImproveMult * currentLevel ^ fSkillUseCurve + ImproveOffset)
public static Task<float> GetExperienceForLevel(this PapyrusScript<ActorValueInfo> self, int currentLevel)
Parameters
selfPapyrusScript<ActorValueInfo>currentLevelint
Returns
GetMaximumValue(PapyrusScript<ActorValueInfo>, IActor)
Acquires the Maximum value for the current ActorValue
public static Task<float> GetMaximumValue(this PapyrusScript<ActorValueInfo> self, IActor akActor)
Parameters
selfPapyrusScript<ActorValueInfo>akActorIActor
Returns
GetPerkTree(PapyrusScript<ActorValueInfo>, FormList, IActor?, bool, bool)
Returns perks from the skill into the FormList Actor filter applies to unowned and allRanks unowned will add perks that the actor does not own, or only perks the actor owns allRanks will add all ranks of each perk to the list, unowned/owned filter also applies
public static Task GetPerkTree(this PapyrusScript<ActorValueInfo> self, FormList list, IActor? akActor = null, bool unowned = true, bool allRanks = false)
Parameters
selfPapyrusScript<ActorValueInfo>listFormListakActorIActorunownedboolallRanksbool
Returns
GetPerks(PapyrusScript<ActorValueInfo>, IActor?, bool, bool)
Same as GetPerkTree except returns into a new array
public static Task<Perk[]> GetPerks(this PapyrusScript<ActorValueInfo> self, IActor? akActor = null, bool unowned = true, bool allRanks = false)
Parameters
selfPapyrusScript<ActorValueInfo>akActorIActorunownedboolallRanksbool
Returns
GetSkillExperience(PapyrusScript<ActorValueInfo>)
Returns the amount of experienced gained in this skill
public static Task<float> GetSkillExperience(this PapyrusScript<ActorValueInfo> self)
Parameters
selfPapyrusScript<ActorValueInfo>
Returns
GetSkillImproveMult(PapyrusScript<ActorValueInfo>)
public static Task<float> GetSkillImproveMult(this PapyrusScript<ActorValueInfo> self)
Parameters
selfPapyrusScript<ActorValueInfo>
Returns
GetSkillImproveOffset(PapyrusScript<ActorValueInfo>)
public static Task<float> GetSkillImproveOffset(this PapyrusScript<ActorValueInfo> self)
Parameters
selfPapyrusScript<ActorValueInfo>
Returns
GetSkillLegendaryLevel(PapyrusScript<ActorValueInfo>)
Returns the legendary level of this skill
public static Task<int> GetSkillLegendaryLevel(this PapyrusScript<ActorValueInfo> self)
Parameters
selfPapyrusScript<ActorValueInfo>
Returns
GetSkillOffsetMult(PapyrusScript<ActorValueInfo>)
public static Task<float> GetSkillOffsetMult(this PapyrusScript<ActorValueInfo> self)
Parameters
selfPapyrusScript<ActorValueInfo>
Returns
GetSkillUseMult(PapyrusScript<ActorValueInfo>)
public static Task<float> GetSkillUseMult(this PapyrusScript<ActorValueInfo> self)
Parameters
selfPapyrusScript<ActorValueInfo>
Returns
IsSkill(PapyrusScript<ActorValueInfo>)
Returns whether this AVI is a skill
public static Task<bool> IsSkill(this PapyrusScript<ActorValueInfo> self)
Parameters
selfPapyrusScript<ActorValueInfo>
Returns
SetSkillExperience(PapyrusScript<ActorValueInfo>, float)
Does not trigger skill-up
public static Task SetSkillExperience(this PapyrusScript<ActorValueInfo> self, float exp)
Parameters
selfPapyrusScript<ActorValueInfo>expfloat
Returns
SetSkillImproveMult(PapyrusScript<ActorValueInfo>, float)
public static Task SetSkillImproveMult(this PapyrusScript<ActorValueInfo> self, float value)
Parameters
selfPapyrusScript<ActorValueInfo>valuefloat
Returns
SetSkillImproveOffset(PapyrusScript<ActorValueInfo>, float)
public static Task SetSkillImproveOffset(this PapyrusScript<ActorValueInfo> self, float value)
Parameters
selfPapyrusScript<ActorValueInfo>valuefloat
Returns
SetSkillLegendaryLevel(PapyrusScript<ActorValueInfo>, int)
Sets the legendary level of this skill
public static Task SetSkillLegendaryLevel(this PapyrusScript<ActorValueInfo> self, int level)
Parameters
selfPapyrusScript<ActorValueInfo>levelint
Returns
SetSkillOffsetMult(PapyrusScript<ActorValueInfo>, float)
public static Task SetSkillOffsetMult(this PapyrusScript<ActorValueInfo> self, float value)
Parameters
selfPapyrusScript<ActorValueInfo>valuefloat
Returns
SetSkillUseMult(PapyrusScript<ActorValueInfo>, float)
public static Task SetSkillUseMult(this PapyrusScript<ActorValueInfo> self, float value)
Parameters
selfPapyrusScript<ActorValueInfo>valuefloat