Class SkillEffect
- Namespace
- TaleWorlds.CampaignSystem
- Assembly
- TaleWorlds.CampaignSystem.dll
public sealed class SkillEffect : PropertyObject
- Inheritance
-
SkillEffect
- Inherited Members
Constructors
SkillEffect(string)
public SkillEffect(string stringId)
Parameters
stringId
string
Properties
All
public static MBReadOnlyList<SkillEffect> All { get; }
Property Value
EffectedSkills
public SkillObject[] EffectedSkills { get; }
Property Value
IncrementType
public SkillEffect.EffectIncrementType IncrementType { get; }
Property Value
PrimaryBaseValue
public float PrimaryBaseValue { get; }
Property Value
PrimaryBonus
public float PrimaryBonus { get; }
Property Value
PrimaryRole
public SkillEffect.PerkRole PrimaryRole { get; }
Property Value
SecondaryBaseValue
public float SecondaryBaseValue { get; }
Property Value
SecondaryBonus
public float SecondaryBonus { get; }
Property Value
SecondaryRole
public SkillEffect.PerkRole SecondaryRole { get; }
Property Value
Methods
GetPrimaryValue(int)
public float GetPrimaryValue(int skillLevel)
Parameters
skillLevel
int
Returns
GetSecondaryValue(int)
public float GetSecondaryValue(int skillLevel)
Parameters
skillLevel
int
Returns
Initialize(TextObject, SkillObject[], PerkRole, float, PerkRole, float, EffectIncrementType, float, float)
public void Initialize(TextObject description, SkillObject[] effectedSkills, SkillEffect.PerkRole primaryRole = PerkRole.None, float primaryBonus = 0, SkillEffect.PerkRole secondaryRole = PerkRole.None, float secondaryBonus = 0, SkillEffect.EffectIncrementType incrementType = EffectIncrementType.AddFactor, float primaryBaseValue = 0, float secondaryBaseValue = 0)
Parameters
description
TextObjecteffectedSkills
SkillObject[]primaryRole
SkillEffect.PerkRoleprimaryBonus
floatsecondaryRole
SkillEffect.PerkRolesecondaryBonus
floatincrementType
SkillEffect.EffectIncrementTypeprimaryBaseValue
floatsecondaryBaseValue
float
This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).