Table of Contents

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

MBReadOnlyList<SkillEffect>

EffectedSkills

public SkillObject[] EffectedSkills { get; }

Property Value

SkillObject[]

IncrementType

public SkillEffect.EffectIncrementType IncrementType { get; }

Property Value

SkillEffect.EffectIncrementType

PrimaryBaseValue

public float PrimaryBaseValue { get; }

Property Value

float

PrimaryBonus

public float PrimaryBonus { get; }

Property Value

float

PrimaryRole

public SkillEffect.PerkRole PrimaryRole { get; }

Property Value

SkillEffect.PerkRole

SecondaryBaseValue

public float SecondaryBaseValue { get; }

Property Value

float

SecondaryBonus

public float SecondaryBonus { get; }

Property Value

float

SecondaryRole

public SkillEffect.PerkRole SecondaryRole { get; }

Property Value

SkillEffect.PerkRole

Methods

GetPrimaryValue(int)

public float GetPrimaryValue(int skillLevel)

Parameters

skillLevel int

Returns

float

GetSecondaryValue(int)

public float GetSecondaryValue(int skillLevel)

Parameters

skillLevel int

Returns

float

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 TextObject
effectedSkills SkillObject[]
primaryRole SkillEffect.PerkRole
primaryBonus float
secondaryRole SkillEffect.PerkRole
secondaryBonus float
incrementType SkillEffect.EffectIncrementType
primaryBaseValue float
secondaryBaseValue float

This page was last modified at 09/01/2024 16:12:00 +00:00 (UTC).