Skip to main content

FB2SkillComponent

Overview

  • Component that manages skills.

Metadata

FieldValue
Kindcomponent
EnvironmentB2 - Simulation
Categorycomponents
ExtendsFB2Component
Requirerequire('Components.B2SkillComponent')

Properties (3)

NameTypeDescription
BioComponentany
ModifierComponentany
Skillstable<string, FB1Skill>

Functions (10)

FunctionParametersReturnsDescription
AddSkillExpInSkillName: string, InValue: number-Adds Skill Exp.
FindSkillInFindSkillName: stringFB1SkillFinds and returns Skill.
GetDefaultCityMoveDataPolicy-EB1CityMoveDataPolicyReturns Default City Move Data Policy.
GetSkillLevelInSkillName: stringintegerReturns Skill Level.
IsMaxLevelInSkillName: stringbooleanReturns whether Max Level.
OnChangeGrowthStepInPrevGrowthStep: EB1GrowthStep, InCurrentGrowthStep: EB1GrowthStep-Callback invoked on Change Growth Step.
RefreshSkillMapInCurrGrowthStep: EB1GrowthStep-
SetSkillLevelInSkillName: string, InSkillLevelInfoIndex: integer-Sets Skill Level.
SetSkillLevelByAttributeInSkillName: string, InLevel: integer-Sets Skill Level By Attribute.
SetbLevelUpAtCurrentFrameFlagInSkillName: string, bIsOn: boolean-

Override points (4)

Implement these in Lua as FB2SkillComponent.Override_Name = function(...) end.

FunctionParametersReturnsDescription
Override_AddSkillExpInSkillName: string, InValue: number-Adds Skill Exp.
Override_FindSkillInFindSkillName: stringFB1SkillFinds and returns Skill.
Override_OnChangeGrowthStepInPrevGrowthStep: EB1GrowthStep, InCurrGrowthStep: EB1GrowthStep-Callback invoked on Change Growth Step.
Override_RefreshSkillMapInCurrGrowthStep: EB1GrowthStep-