Inherits TaleWorlds.Core.PropertyObject.
|
| SkillEffect (string stringId) |
|
void | Initialize (TextObject description, SkillObject[] effectedSkills, PerkRole primaryRole=PerkRole.None, float primaryBonus=0f, PerkRole secondaryRole=PerkRole.None, float secondaryBonus=0f, EffectIncrementType incrementType=EffectIncrementType.AddFactor, float primaryBaseValue=0.0f, float secondaryBaseValue=0.0f) |
|
float | GetPrimaryValue (int skillLevel) |
|
float | GetSecondaryValue (int skillLevel) |
|
| PropertyObject (string stringId) |
| Initializes a new instance of the SkillObject class. More...
|
|
void | Initialize (TextObject name, TextObject description) |
|
| 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 () |
|
virtual TextObject | GetName () |
|
void | PreAfterLoadInternal () |
|
void | AfterLoadInternal () |
|
void | OnRegistered () |
|
void | OnUnregistered () |
|
◆ EffectIncrementType
◆ PerkRole
◆ SkillEffect()
TaleWorlds.CampaignSystem.SkillEffect.SkillEffect |
( |
string |
stringId | ) |
|
◆ Initialize()
void TaleWorlds.CampaignSystem.SkillEffect.Initialize |
( |
TextObject |
description, |
|
|
SkillObject[] |
effectedSkills, |
|
|
PerkRole |
primaryRole = PerkRole.None , |
|
|
float |
primaryBonus = 0f , |
|
|
PerkRole |
secondaryRole = PerkRole.None , |
|
|
float |
secondaryBonus = 0f , |
|
|
EffectIncrementType |
incrementType = EffectIncrementType.AddFactor , |
|
|
float |
primaryBaseValue = 0.0f , |
|
|
float |
secondaryBaseValue = 0.0f |
|
) |
| |
◆ GetPrimaryValue()
float TaleWorlds.CampaignSystem.SkillEffect.GetPrimaryValue |
( |
int |
skillLevel | ) |
|
◆ GetSecondaryValue()
float TaleWorlds.CampaignSystem.SkillEffect.GetSecondaryValue |
( |
int |
skillLevel | ) |
|
◆ All
◆ PrimaryRole
PerkRole TaleWorlds.CampaignSystem.SkillEffect.PrimaryRole |
|
get |
◆ SecondaryRole
PerkRole TaleWorlds.CampaignSystem.SkillEffect.SecondaryRole |
|
get |
◆ PrimaryBonus
float TaleWorlds.CampaignSystem.SkillEffect.PrimaryBonus |
|
get |
◆ SecondaryBonus
float TaleWorlds.CampaignSystem.SkillEffect.SecondaryBonus |
|
get |
◆ IncrementType
◆ EffectedSkills
SkillObject [] TaleWorlds.CampaignSystem.SkillEffect.EffectedSkills |
|
get |
◆ PrimaryBaseValue
float TaleWorlds.CampaignSystem.SkillEffect.PrimaryBaseValue |
|
get |
◆ SecondaryBaseValue
float TaleWorlds.CampaignSystem.SkillEffect.SecondaryBaseValue |
|
get |