M&B: Bannerlord 1.3.4
The horns sound, the ravens gather.
Loading...
Searching...
No Matches
TaleWorlds.CampaignSystem.SkillEffect Class Referencesealed

Inherits TaleWorlds.Core.PropertyObject.

Public Member Functions

 SkillEffect (string stringId)
 
void Initialize (TextObject description, SkillObject effectedSkill, PartyRole role, float bonus, EffectIncrementType incrementType, float baseValue=0f, float limitMin=float.MinValue, float limitMax=float.MaxValue)
 
float GetSkillEffectValue (int skillLevel)
 
- Public Member Functions inherited from TaleWorlds.Core.PropertyObject
override TextObject GetName ()
 
 PropertyObject (string stringId)
 Initializes a new instance of the SkillObject class.
 
void Initialize (TextObject name, TextObject description)
 
- Public Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
 MBObjectBase ()
 
 MBObjectBase (MBObjectBase other)
 
 MBObjectBase (string stringId)
 
void AfterInitialized ()
 
virtual void AfterRegister ()
 
virtual void Initialize ()
 
virtual void Deserialize (MBObjectManager objectManager, XmlNode node)
 
override int GetHashCode ()
 
void PreAfterLoadInternal ()
 
void AfterLoadInternal ()
 
void OnRegistered ()
 
void OnUnregistered ()
 

Properties

static MBReadOnlyList< SkillEffectAll [get]
 
PartyRole Role [get]
 
EffectIncrementType IncrementType [get]
 
SkillObject EffectedSkill [get]
 
- Properties inherited from TaleWorlds.Core.PropertyObject
TextObject Name [get]
 
TextObject Description [get]
 
- Properties inherited from TaleWorlds.ObjectSystem.MBObjectBase
string StringId [get, set]
 
MBGUID Id [get, set]
 
bool IsInitialized [get]
 
bool IsReady [get, set]
 

Additional Inherited Members

- Protected Member Functions inherited from TaleWorlds.ObjectSystem.MBObjectBase
virtual void OnBeforeLoad ()
 
virtual void PreAfterLoad ()
 
virtual void AfterLoad ()
 

Constructor & Destructor Documentation

◆ SkillEffect()

TaleWorlds.CampaignSystem.SkillEffect.SkillEffect ( string stringId)

Member Function Documentation

◆ Initialize()

void TaleWorlds.CampaignSystem.SkillEffect.Initialize ( TextObject description,
SkillObject effectedSkill,
PartyRole role,
float bonus,
EffectIncrementType incrementType,
float baseValue = 0f,
float limitMin = float::MinValue,
float limitMax = float::MaxValue )

◆ GetSkillEffectValue()

float TaleWorlds.CampaignSystem.SkillEffect.GetSkillEffectValue ( int skillLevel)

Property Documentation

◆ All

MBReadOnlyList<SkillEffect> TaleWorlds.CampaignSystem.SkillEffect.All
staticget

◆ Role

PartyRole TaleWorlds.CampaignSystem.SkillEffect.Role
get

◆ IncrementType

EffectIncrementType TaleWorlds.CampaignSystem.SkillEffect.IncrementType
get

◆ EffectedSkill

SkillObject TaleWorlds.CampaignSystem.SkillEffect.EffectedSkill
get